-
Notifications
You must be signed in to change notification settings - Fork 47
NURBS raytracing #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, This is something we can be easily done as long as we get the following information: 1- The equation of the nurbs z=f(x,y) If you could help us with that, I can implement the nurbs surface in pyoptools fast. About your second question, yes it is possible to track a ray in the propagation. I will prepare an example and send it to you. |
Sounds good. I will try.
|
This master thesis conveys the complexity of the issue: |
I added an example on how to follow the rays in the documentation at my branch. This has not been merged with the official branch yet, but you can see i the example here: https://pyoptools-rao.readthedocs.io/en/latest/notebooks/basic/raypath_follow.html Regarding using pyvista, vtk, mayavi: At the beginning of the development we used VTK, but it made the installation very complicated. After that we made a viewer using WX, but also to keep it working was a lot of work. Right now, the idea is that pyOpTools should work with the minimum amount of dependencies. For the moment, only the jupyter frontend is intended to be part of the main pyOpTools installation. Other kinds of front-ends, such as the Freecad workbech , are intended to be developed by separate. |
Hi guys,
this package is very impressing.
Do you plan to implement NURBS raytracing?
This would be very useful for this non-sequential optical raytracer for stray light analysis applications.
I would very much like to contribute in this direction. One could start somewhere from here:
https://github.com/orbingol/NURBS-Python
Load the .iges-surfaces into python: e.g. https://github.com/Rod-Persky/pyIGES
Then perform raytracing:
[Martin] Practical Ray Tracing of Trimmed NURBS Surfaces
Is it possible to track the traversed raypaths of any ray in pyoptools. Let's say ray A started at surface A, hit surface B at coordinate (x,y,z) with direction cosines ... and stoped at surface C... ?
The text was updated successfully, but these errors were encountered: