home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 207 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.9 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!fido!paris.asd.sgi.com!alain
  2. From: alain@paris.asd.sgi.com (Alain Dumesny)
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Re: Q: Cylinders in Inventor vs. Explorer...
  5. Keywords: Inventor Explorer cylinders rotations
  6. Message-ID: <1k2hlqINNh9a@fido.asd.sgi.com>
  7. Date: 26 Jan 93 05:19:54 GMT
  8. References: <1993Jan12.231214.24518@uc.msc.edu> <1j2an5INNjio@fido.asd.sgi.com> <1993Jan15.011923.10776@uc.msc.edu>
  9. Reply-To: alain@sgi.com
  10. Distribution: usa
  11. Organization: Silicon Graphics Inc.
  12. Lines: 35
  13. NNTP-Posting-Host: paris.asd.sgi.com
  14.  
  15. In article <1993Jan15.011923.10776@uc.msc.edu>, danw@uh.msc.edu (Dan Waylonis) writes:
  16. |> 
  17. |> 
  18. |>     And one more question:  If my 'root' for the SceneGraph looks like:
  19. |> 
  20. |>                   SoSep
  21. |>                   (root)
  22. |>                     |
  23. |>           __________|__________
  24. |>           |                   |
  25. |>         SoSep               SoSep
  26. |>          (A)                 (B)
  27. |>    _______|_______     _______|_______
  28. |>    |    |   |    |     |    |   |    |
  29. |>  Node  ... ... Node   Node ... ... Node
  30. |> 
  31. |>     Is there a way to just "replace" the "A" or "B" separators without
  32. |>     having to reset the view (as in:  root->addChild(A), root->addChild(B),
  33. |>     SoXtExaminerViewer::setSceneGraph(root)) ?
  34. |>         
  35.  
  36. Sure. You can make any changes you want to the scene graph even after
  37. giving it to the viewer. By default the viewer only insert a camera (if it
  38. doesn't find one) and possibly other stuff outside of the scene graph root
  39. that you supply, so your scene graph topology shouldn't change. When you
  40. change the scene (say replace sepA with something else) a redraw will
  41. later happen, but the camera will not change position.
  42.  
  43. |>     BTW, Inventor is really cool.
  44. |> 
  45.  
  46. Glad you like it....
  47.  
  48. -------------------------------------------------------------------------
  49. Alain Dumesny    alain@sgi.com    (415)390-5250        Silicon Graphics Inc.
  50.