Determine specific quad from intersection
I have a very big object that consists of a lot of quads. In Vizard I'm creating this object by calling viz.startLayer(viz.QUADS), then a couple hundred (or thousand) viz.vertex calls, then viz.endLayer (splitting this up into multiple layers is unfortunately not an option for me in this context).
Now I would like to perform a line intersection on this big object and get the specific quad that was intersected. Is this possible in Vizard? When I do an intersection now, the lowest level intersected object I get back is the big object. I could do my own math to make a line-plane intersection on each individual quad in the big object, but it seems to be duplicate work, seeing as Vizard / OpenGL already knows under the hood which quad was intersected, right? Is there any way of getting this information? |
I don't see any way to get this information directly but I'll check with a developer in case I'm missing something.
|
All times are GMT -7. The time now is 11:35 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC