Search found 80 matches
- Thu May 31, 2018 10:11 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
Thanks for the good explanation. I think I understand now. But unfortunately I can still not produce refraction and realistic dissipation. I created a prism with flat shading between a wide laser and a projection plane. image_rgb.png The prism can hardly be seen. It can be imagined by the less scatt...
- Thu May 31, 2018 3:33 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
Thanks. I'll check that code. But just one immediate question: My objective is to precisely simulate the effect of lenses. Currently I assume that the best I can do is create a quite fine mesh to approximate the continuously concave/convex surfaces. I understand that normals help to smooth the shadi...
- Thu May 31, 2018 2:55 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
Sorry, I do not understand what you mean. I need to specify my object in a way that refraction and maybe with dispersion is calculated correctly. So I have to specify interior and exterior volumes, or interior and exterior IORs. But in any case I need to specify which side of a face ist interior and...
- Thu May 31, 2018 1:55 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
So for the face normals that is exactly what I did. Then I tried to mean the (unnormalized) face normals to single (normalized) vertex normals. Which I listed instead of the face normals. You say I should copy the face normals as vertex normal. Do you mean each vertex has multiple normals then? How ...
- Thu May 31, 2018 12:25 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
Thanks for the tip with FILESAVER. Looking at the ply file I recognized that normals are specified for each vertex not for each face. Is this right? So what is the requirement of theses normals then to define a valid prism/lens object? Should it be the mean of the adjoint faces, or just point somewh...
- Thu May 31, 2018 1:23 am
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Re: Refraction with pyluxcore
OK, I implemented the normals. Just wondering why this is necessary, as it can be calculated quickly from the faces. I checked them visually with the build_normal() function. Still the result does not look like I expect. There is no indication of refraction behind the prism. Also the lightning patte...
- Wed May 30, 2018 4:28 pm
- Forum: User Support
- Topic: Refraction with pyluxcore
- Replies: 20
- Views: 12550
Refraction with pyluxcore
I can't get refraction working. I guess it has to do with the mesh. How do I specify what is the interior vs the exterior of an object? My assumption it is done by the order of the vertices for each face. Looking from inside ordering them clockwise, or is it the other way around? Here the code for a...
- Sun May 27, 2018 6:43 pm
- Forum: User Support
- Topic: Suppress output when using pyluxcore
- Replies: 1
- Views: 1881
Suppress output when using pyluxcore
pyluxcore write as lot of information (to stdout?). How can I suppress that logging?
- Sun May 27, 2018 9:03 am
- Forum: User Support
- Topic: PyLuxCore DefineMesh transform
- Replies: 2
- Views: 2339
Re: PyLuxCore DefineMesh transform
Thanks, it works now.
Column-major is really worth noting in the SDLM.
Column-major is really worth noting in the SDLM.
- Sun May 27, 2018 12:48 am
- Forum: User Support
- Topic: PyLuxCore DefineMesh transform
- Replies: 2
- Views: 2339
PyLuxCore DefineMesh transform
The transform parameter does not have an effect in my tests. Would you please confirm that it is working and provide a work code snippet.