Locating the Coordinates of Vertices for on the fly objects
Hi again,
I'm trying to determine the location of a vertex after it has been transformed. Is there any kind of function call that will give me the coordinates in (X,Y,Z) space? I've already tried the usual, viz.get and so forth with no avail. The actual vertex is being heavily manipulated by both the camera location and a wanda tracking device, which prevents me from actually 'knowing' where the item is at any time. Here is my code. You'll notice it sets up a primitive tracker. What we want to do it use the 'intersect' function with the two points that make up the line and determine if it intersects and object. Code:
George Lecakes Rowan University |
Check this thread for a way to do this in Vizard 3.0
http://www.worldviz.com/forum/showth...ghlight=vertex |
Is there a way to do it in vizard 2.XX, cause that is what we are using at this University.
We have not yet moved to 3 since it still is the beta version and the work we are doing requires a fully released product version. George Lecakes Rowan University |
There is no way to do this directly in 2.5. You can save the transformation of the Vertex every time you change it and mulitiply it by the transform of the On-the-fly object. This is simlar to the second example in the post I linked to above.
While Vizard 3.0 is still in develpment, it is actualy more stable than Vizard 2.5. |
I'll have to tell that to my professors and maybe see if I can get this
problem fixed. Thanks, George |
All times are GMT -7. The time now is 07:26 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC