home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!sgi!fido!paris.asd.sgi.com!alain
- From: alain@paris.asd.sgi.com (Alain Dumesny)
- Newsgroups: comp.sys.sgi.graphics
- Subject: Re: Q: Cylinders in Inventor vs. Explorer...
- Keywords: Inventor Explorer cylinders rotations
- Message-ID: <1k2hlqINNh9a@fido.asd.sgi.com>
- Date: 26 Jan 93 05:19:54 GMT
- References: <1993Jan12.231214.24518@uc.msc.edu> <1j2an5INNjio@fido.asd.sgi.com> <1993Jan15.011923.10776@uc.msc.edu>
- Reply-To: alain@sgi.com
- Distribution: usa
- Organization: Silicon Graphics Inc.
- Lines: 35
- NNTP-Posting-Host: paris.asd.sgi.com
-
- In article <1993Jan15.011923.10776@uc.msc.edu>, danw@uh.msc.edu (Dan Waylonis) writes:
- |>
- |>
- |> And one more question: If my 'root' for the SceneGraph looks like:
- |>
- |> SoSep
- |> (root)
- |> |
- |> __________|__________
- |> | |
- |> SoSep SoSep
- |> (A) (B)
- |> _______|_______ _______|_______
- |> | | | | | | | |
- |> Node ... ... Node Node ... ... Node
- |>
- |> Is there a way to just "replace" the "A" or "B" separators without
- |> having to reset the view (as in: root->addChild(A), root->addChild(B),
- |> SoXtExaminerViewer::setSceneGraph(root)) ?
- |>
-
- Sure. You can make any changes you want to the scene graph even after
- giving it to the viewer. By default the viewer only insert a camera (if it
- doesn't find one) and possibly other stuff outside of the scene graph root
- that you supply, so your scene graph topology shouldn't change. When you
- change the scene (say replace sepA with something else) a redraw will
- later happen, but the camera will not change position.
-
- |> BTW, Inventor is really cool.
- |>
-
- Glad you like it....
-
- -------------------------------------------------------------------------
- Alain Dumesny alain@sgi.com (415)390-5250 Silicon Graphics Inc.
-