home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16639 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.4 KB

  1. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!paris.asd.sgi.com!alain
  2. From: alain@paris.asd.sgi.com (Alain Dumesny)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Inventor experience
  5. Date: 19 Nov 1992 02:47:57 GMT
  6. Organization: Silicon Graphics Inc.
  7. Lines: 33
  8. Message-ID: <1eev8tINNih6@fido.asd.sgi.com>
  9. References: <1992Nov11.084715.14929@cophos.co.at> <141312@lll-winken.LLNL.GOV>
  10. Reply-To: alain@sgi.com
  11. NNTP-Posting-Host: paris.asd.sgi.com
  12. Keywords: IRIS Inventor
  13.  
  14.  
  15.     In article <141312@lll-winken.LLNL.GOV>, crawfis@ramius.ocf.llnl.gov
  16.     (Roger Crawfis) writes:
  17.     
  18.     I am just getting started with Inventor, but have scanned the painful
  19.     manuals and have a good feel for its power and flexibility. One of the
  20.     strong suits is the object oriented (not!) and C++ functionality. What
  21.     this allows YOU to do, is to think about adding a class (which is much
  22.     harder than using Inventor) for your couple thousand of POLYGONS. Then
  23.     you can define several renderers for this class, the default being
  24.     your meshing into triangles. This buys you the advantage of having a
  25.     set of renderers for different time/quality trade-offs. For
  26.     interactive rotations, render in a streamlined fashion, when the mouse
  27.     stops update the display.
  28.  
  29. An alternative and easier way (for the original posting) would be to have
  30. different representations of the same data (regular polygons, ploygons
  31. meshed into 10, etc..) using regular Inventor nodes and use the switch
  32. node to toggle between the different resolutions. The viewers even provide
  33. callbacks to let you know when they start/stop doing interactive work, so
  34. you could use those to change your complexity when doing work. 
  35.  
  36. This would be much simple since you wouldn't have to create your own node
  37. and implement rendering and picking for it (simpler than doing it in GL,
  38. but still some work). You can think of nodes such as SoCoordinate3,
  39. SoQuadMesh, SoFaceSet and SoTriangleStripSet as simple data structures to
  40. hold the verteces, similar to what you would need to create if you wrote
  41. your program in pure GL. I would highly recommend using existing nodes if
  42. you can. Another option is to create your own NodeKit (a way to package
  43. nodes and functionality into a single package).
  44.  
  45. -------------------------------------------------------------------------
  46. Alain Dumesny   alain@sgi.com   (415)390-5250       Silicon Graphics Inc.
  47.