Re: SoTransform in new 1.3 Inventor loader ...

New Message Reply Date view Thread view Subject view Author view

Michael Philip (mphilip++at++technet.sg)
Fri, 7 Apr 1995 11:52:14 +0800 (SST)


Cedric,

You wrote:
> Hi ... I have just a little question about how to retains a DCS for a
> dynamic transformation when an SoTransform is encountered in a Inventor
> file ... because my differents trys seems not to work ! ...

I believe that the Inventor loader flushes accumulated SoTransforms into
a DCS when in encounters an SoGroup (or subclass) with "dcs" or "DCS" in
it's name. Try:

DEF DCS Group {
...
}

I guess this is because in Performer, DCS's are actually groups.

You could also experiment with:
LoadIvMode( PFIV_FLATTEN, 0 ); // Don't flatten in case it's killing DCS
and:
LoadIvMode( PFIV_CONVERT_XFORMS, 1 ); // Don't check DEF name, always use DCS

Good luck,

Mike Philip

--
Michael Philip,  Symbolic Research Pte Ltd,  Singapore
Fax:(65)295-5311 AppleLink:FEA0001  mphilip++at++technet.sg

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:51:10 PDT

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