home *** CD-ROM | disk | FTP | other *** search
- 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
- From: alain@paris.asd.sgi.com (Alain Dumesny)
- Newsgroups: comp.sys.sgi
- Subject: Re: Inventor experience
- Date: 19 Nov 1992 02:47:57 GMT
- Organization: Silicon Graphics Inc.
- Lines: 33
- Message-ID: <1eev8tINNih6@fido.asd.sgi.com>
- References: <1992Nov11.084715.14929@cophos.co.at> <141312@lll-winken.LLNL.GOV>
- Reply-To: alain@sgi.com
- NNTP-Posting-Host: paris.asd.sgi.com
- Keywords: IRIS Inventor
-
-
- In article <141312@lll-winken.LLNL.GOV>, crawfis@ramius.ocf.llnl.gov
- (Roger Crawfis) writes:
-
- I am just getting started with Inventor, but have scanned the painful
- manuals and have a good feel for its power and flexibility. One of the
- strong suits is the object oriented (not!) and C++ functionality. What
- this allows YOU to do, is to think about adding a class (which is much
- harder than using Inventor) for your couple thousand of POLYGONS. Then
- you can define several renderers for this class, the default being
- your meshing into triangles. This buys you the advantage of having a
- set of renderers for different time/quality trade-offs. For
- interactive rotations, render in a streamlined fashion, when the mouse
- stops update the display.
-
- An alternative and easier way (for the original posting) would be to have
- different representations of the same data (regular polygons, ploygons
- meshed into 10, etc..) using regular Inventor nodes and use the switch
- node to toggle between the different resolutions. The viewers even provide
- callbacks to let you know when they start/stop doing interactive work, so
- you could use those to change your complexity when doing work.
-
- This would be much simple since you wouldn't have to create your own node
- and implement rendering and picking for it (simpler than doing it in GL,
- but still some work). You can think of nodes such as SoCoordinate3,
- SoQuadMesh, SoFaceSet and SoTriangleStripSet as simple data structures to
- hold the verteces, similar to what you would need to create if you wrote
- your program in pure GL. I would highly recommend using existing nodes if
- you can. Another option is to create your own NodeKit (a way to package
- nodes and functionality into a single package).
-
- -------------------------------------------------------------------------
- Alain Dumesny alain@sgi.com (415)390-5250 Silicon Graphics Inc.
-