WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Pivot points for child objects in Vizard with 3ds Max (https://forum.worldviz.com/showthread.php?t=754)

Gladsomebeast 09-19-2006 11:21 AM

Pivot points for child objects in Vizard with 3ds Max
 
1 Attachment(s)
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 . 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

4) Right click on the object in Vizard’s resources view, select properties and verify that the purple square (not the gear) is the name you gave it.
5)Use .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.


All times are GMT -7. The time now is 08:05 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC