|
#1
|
|||
|
|||
Pivot points for child objects in Vizard with 3ds Max
For Vizard rotations to occur around a Max specified pivot point follow these steps.
--VRML's 1)Place child object at pivot point 2)Move child object with gizmo under the Xtransform modifier to intended position. 3)Use <VizNode>. getChild () to get the geode node: usually called "MyChildName-FACES" 4)You can rotate this child node as one would expect --OSG 1) Note the location in Max you would like the pivot to be. 2) Export as .osg. 3) As .osg is a text format, open the file with text editor and name the Geode object of the child node you want to spin by placing name “myNodesName” in its section. Should look something like this: Code:
Geode { name 'childTea' UniqueID Geode_2 DataVariance STATIC 5)Use <VizNode>.getChild() to get the geode node you just named. 6) You can now rotate this object about its pivot point; however the object is in OSG’s coordinate system which is different than Vizard’s so some of the axes will be exchanged. The final release of R3 will have a better workflow for rotating child objects.
__________________
Paul Elliott WorldViz LLC |
Thread Tools | |
Display Modes | Rate This Thread |
|
|