Re: Inventor loader messes up indexed linesets

New Message Reply Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 02/04/2001 22:06:24


Guillaume Smietanski wrote:

> One of our old problem was maybe the same as your:
> in the loader (Performer/src/lib/libpfdb/libpfiv/pfiv.C) a rotation is
> made which has for me NO SENSE.
> This is in the
> pfGroup * pfdConvertFrom_iv(SoSeparator *ivRoot)
> function with the following lines:
> // Transform from GL/Inventor's Y-up coordinate system to Performer's
> Z-up
> mat.makeRot(90.0f, 1, 0, 0);
> pfRoot = new pfSCS(mat);
>
> So maybe you only need to have a "new" loader without this rotation.

This rotation is harmless.
It will be applied to all vertices of the lineset (in fact to all
geometry in the iv file), and merely does as stated:
Transform from GL/Inventor's Y-up coordinate system to Performer's

Something else causes this bug.
Probably when going from indexed-representation to non-indexed
representation.

   Bram

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram++at++sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Feb 04 2001 - 22:08:19 PST

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