Loading inventor models with indexed-tristrips

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Wed, 6 Nov 1996 18:30:43 -0500 (EST)


I have an inventor model with a single set of vertex and normal data in a
vertexProperty node, and MANY IndexedTriangleStripSets that have references
to the same vertexProperty node. When I load it into Performer I end up with
a bunch of non-indexed tri-strips.

In Performer, I would like to be able to retain a single set of vertex and
normal data and indexing in the scene graph, but am at a loss about how to
proceed. So far examination of the iv loader seems to indicate it might be
an soDB function that is removing the indexed information and inserting
actual vertex data (dereferencing the indices so to speak). Does anybody
know if this is the case? If not, how the loader works in this regard?

Has anybody rewritten the loader to preserve indexed-ness?

Any opinions on what the best way to proceed is?

BTW, the goal is to be able to morph the model and it seems to me that the
most efficient way to do this is to operate on a single copy of the vertices
rather that trying to search through the result of the iv-loader for multiple
copies of the same vertices in the different non-indexed tri-strips. Anybody
have a different take on this?

Thanks in advance,

scott

-- 
  Scott McMillan  |       HT Medical, Inc.      | Developing virtual environ-
   scott++at++ht.com   |      http://www.ht.com      | ment medical and surgical
 Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery
Fax: 301-984-2104 |     Rockville, MD 20852     | simulation creation tools.

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:54 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.