Re: VRML2toIV

New Message Reply Date view Thread view Subject view Author view

Alejandro Saez (cano++at++krusty.engr.sgi.com)
Tue, 21 Oct 1997 12:57:35 -0500


On Jul 27, 11:50am, Olivier Aune wrote:
> Subject: VRML2toIV
> Dear all.
>
> My purpose is to translate files VRML2.0 in Inventor format.
>
> I'm using Performer 2.02 with OpenWorld VRML2.0 loader.
>
> As Performer read Inventor and VRML2.0 files i was thinking to be abble to
load
> a VRML2.0 file and then save it as Inventor file.
>
> I tryed with pfconv_igl_O32 but it doesn't work.
>
> --->Is that normal ??
>
> --->As someone any idea to reach to load a VRML2.0 file and save it as
Inventor
> (the solution as to treat the texture url and inlines as well ) ???
>
>
>
>
> Thanks in advance for yours answers and ideas.
>
> Have a nice day!
>
> --
>
> //////////////////////////////////////////
> | |
> | Olivier Aune |
> | Architecte DPLG |
> | |
> | --> aune++at++lig.di.epfl.ch |
> | --> http://ligwww.epfl.ch/aune.html |
> | |
> | ************************************ |
> | Computer Graphics Lab |
> | Swiss federal Institute of Technology|
> | CH-1015 Lausanne |
> | ************************************ |
> | |
> //////////////////////////////////////////
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Olivier Aune

I don't know about the implementation details of both loaders but there is
semthing you must bear in mind: Other than the quality of a specific converter
you must be careful about each format features. You can't expect to go from,
say OpenFlight to DXF and mantain all of the real time specific features such
as billboards or LOD. This is because DXF doesn't have the notion of neither
one so there is no way to say (in DXF) this here is a LOD. Something similar
happens between VRML 2.0 and Inventor. A lot of new features regarding user
interaction were added to VRML 1.0 to create VRML 2.0 that are not present in
Inventor, such as Timers, Sensors and event routing and I don't see a straight
way (I mean a file format to file format way) to go from full VRML2.0 to
Inventor regardless of the convertion tool you use and without having to code
some of the capabilities of VRML2.0 to have Inventor emulate them. That's the
bad news, the good new are that if you are just looking for the conversion of
geometry and basic features such as textures and materials, Inventor 2.0 IS
VRML1.0; that means if you take an Inventor 2.0 ASCII file and change the first
line that says:
#Inventor V2.0 ASCII

to read
#VRL V1.0 ASCII

well, you have converted the file.

        With this in mind find if you can work with VRML 1.0 or find a way to
go from VRML 2.0 to VRML 1.0 then you are one step from getting an Inventor 2.0
file.

-- 
------------------------------------------------------------------------
Alejandro Saez
Software Engineer
Silicon Chile S.A.
                                        Avda. Santa Maria 2560
E-mail: asaez++at++silicon.cl              	Providencia
Phone:  +56 (2) 203 3371 Ext. 107 		Santiago
Fax:    +56 (2) 203 3370                Chile
------------------------------------------------------------------------
=======================================================================
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:57:44 PDT

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