Integrator for optimizing vertex positions of glass #501
Replies: 2 comments 5 replies
-
It's not immediately clear to me why this would not work. What/How did you define as your target image? In theory, you should be able to optimize the glass slab up until it only produces total internal reflection. |
Beta Was this translation helpful? Give feedback.
-
Hi @njroussel, sorry for not having my question not be as clear as it should have been. The first image is the reference picture. The second picture is the scene with the lens and the object behind it (the bunny). Using "prb" the lens does not change at all. I had modified the "caustic_optimization" tutorial with "ptracer", where the emitter emitted a pre-rendered image of the scene onto the caustic. I then put the bunny between the emitter and the lens. Using this setup i got really good results with the ptracer, but i could not transfer them to the actualy scene with much success. Thank you very much for your help! I hope this post made my question clearer |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm currently trying to optimize the vertex positions of a rectangle with a dieletric material. I want to optimize it, such that an object behind it is obscured. I thought it might be possible, where the view rays are being split away from the object because of the refraction of the rectangle in front of it.
Is that possible? And if yes, which integrator is the best suited for the task? I could not get any good results, and i think it is because of the integrator. I've been using prb_reparam, but i dont get good results.
I thought it was possible, as it is kind of similar to the caustics_optimization tutorial, where a glass slab is also optimized.
Beta Was this translation helpful? Give feedback.
All reactions