Re: obj files and pfDCS axis origin

New Message Reply Date view Thread view Subject view Author view

From: Surakle++at++gmx.de
Date: 05/03/2001 05:20:05


Hi,

> Hi,
> I have the following problem:
> I make an object in 3DS and then export it in obj format in order to
> load it into Performer. The problem is that when I add a pfDCS to the
> loaded obj-file, the pfDCS's axis origin is "assigned" to the firt
> vertex coordinates found in the obj-file.
> Is there a way to "force" the pfDCS "re-assign" its origin to a
> random-given coordinate ??? (lets say 0,0,0)
> Due to the fact that my application also uses the geometry as vertexes
> and faces, I cannot use vrml or iv or any other format to load my models
> is Performer.
> A quick example :
> the obj file that describes a cube 10-10-10 is:

Can't you use the 3ds format directly ??? The problem is that the origin is
not saved in your obj file. If you use 3ds Performer will use the 3ds origin,
i.e. if you have the origin in the cube's middle in 3ds, Performer will load
the cube with its middle into the origin.

The same should work with OpenFlight.

Those formats also support faces and vertices.

Bye

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 03 2001 - 05:20:08 PDT

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