mgf2inv vrml experiences?

Hi!

Is there anybody using the mgf2inv converter? I am not able to import the generated vrml into formZ, which is the only tool I have currently availabe. Is there any other way known to get from .rad to a cad file format?

I wish you all a happy new year!

CU Lars.

···

--
Lars O. Grobe
[email protected]

--
Lars O. Grobe, [email protected], ++90-212-2458330

Kardesler Apartment, Turnacibasi Sokak 28
Galatasaray - Beyoglu, 34433 Istanbul

Hi!

Some more on the topic... I found that one problem with vrml from mgf2inv is that coordinated in the generated vrml file are written in exponential writing ( e.g. +1.23456e+1), while formZ doesn't accept that. I don't know who is not vrml-1 conform here... There are not many browsers able to view vrml-1 in our days, too, so the format itself is a problem. I also didn't find open source converters from inventor to other cad file formats. So at the moment, the idea to generate cad files from radiance models is impossible for me. The only way that might still work is renderpark, a renderer able to read mgf (and afaik to write vrml), and the xrml library's converters from the same author (P. Bekaert). However I was not able to get one of these packages to work on my Mac OS X machine, and as I am working together with people using Mac OS, Solaris and Linux installations, this is necessary for me.

Do you think developing a vrml-2 output (or maybe an .obj export) for mgf would be hard to do, or would it be a smaller task to enhanve the mgf2inv converter? Is there anyone else who had to bring radiance scenes to a 3d-format?

CU Lars.

···

--
Lars O. Grobe
[email protected]

Hi Lars!

I've recently managed in exporting rad geometries (polygons)
by convering them to vrml1 (rad2mgf -> mgf2inv -vrml) and
then to vrml2 by using vrml2to2.exe

http://java-house.jp/extra/bit-bessatsu-Java/CD-ROM/chapter6/converter/vrml1to2e.html

Hope it works for you too!

Francesco

···

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Hi!

Thank You for the link, but they have only binaries there, and none for Mac OS or Linux, so I cannot use it. I wrote them a message asking if they will give sources or maybe a java port in future, as this would be quite a useful tool. However, your mail gives me the hope that the vrml-files generated with mgf2inv are at least readable with some vrml-1 tools, so maybe I will find some way :wink:

How nice a vrml-output would fit into the real-time thread, wouldn't it...? I mean there are vrml- and x3d-browsers able to use opengl hardware for displaying shaded triangles.

CU Lars.

···

--
Lars O. Grobe, [email protected], ++90-212-2458330

Kardesler Apartment, Turnacibasi Sokak 28
Galatasaray - Beyoglu, 34433 Istanbul

Hi Lars,

There is a tool for converting inventor files to VRML1 and 2 called
ivToVRML.
On SGIs with inventor this is installed by default.
Fortunately there is a GPL version of Inventor from Systems in Motion
that can be compiled on Macs, Unix and Win32 called Coin which you can
download
in source code from http://www.coin3d.org/
Unfortunately there are no sources for ivToVRML in Coin.
The sources for ivToVRML you can find as part of the example files of
TGS Inventor at
ftp://ftp.tgs.com/OpenInventor/common/oiv25_common.tar.Z
In the directory tree under
OpenInventor2.5\src\tools\ivtovrml
After some minor modifications this can be compiled with the coin library.
ivToVRML supports VRML1 and VRML2 output.
I have successully used it to convert files from rad2mgf|mgf2inv
to VRML1 and VRML2 that can be loaded for example in Cortona.
mgf2inv ignors the new mesh primitiv and more complex materials like BRTDFs
but works
well for basic geometry and materials.

Bernhard

···

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Lars O.
Grobe
Sent: 19 January 2004 10:29
To: [email protected]
Subject: Re: [Radiance-general] mgf2inv vrml experiences?

Hi!

Thank You for the link, but they have only binaries there, and none for
Mac OS or Linux, so I cannot use it. I wrote them a message asking if
they will give sources or maybe a java port in future, as this would be
quite a useful tool. However, your mail gives me the hope that the
vrml-files generated with mgf2inv are at least readable with some
vrml-1 tools, so maybe I will find some way :wink:

How nice a vrml-output would fit into the real-time thread, wouldn't
it...? I mean there are vrml- and x3d-browsers able to use opengl
hardware for displaying shaded triangles.

CU Lars.
--
Lars O. Grobe, [email protected], ++90-212-2458330

Kardesler Apartment, Turnacibasi Sokak 28
Galatasaray - Beyoglu, 34433 Istanbul

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

After some minor modifications this can be compiled with the coin library.
ivToVRML supports VRML1 and VRML2 output.

Thank you! That was just the information I had been searching. I know the
coin project and will try that. I do not use the new mesh features so far
and
will be happy with that now.

CU Lars.