I have the VRML-file with a model inside. This model is presented by
its verteces, triangles and normals. Mapping to the texture is
presented too. There is no any other thing in that file.
I need to extract this model and use it in a C program as the set of
verteces, triangles and normals with the mapping to the texture
image.
What is an easy way to do it?
I think about two ways:
(1) Use some library to load model into my C-program. In this case I
want to know about name of such library and some howto on it.
(2) Use some external tool to convert VRML into more friendly format.
In this case I want to know about name of such tool.
Thank you.
> (1) Use some library to load model into my C-program. In this case I
> want to know about name of such library and some howto on it.
OpenVRML, cybergarage...
> (2) Use some external tool to convert VRML into more friendly format.
> In this case I want to know about name of such tool.
Currently i try to add a "export to C++" function to white_dune, but it
is not usefull/ready yet 8-(
mjbWorld has a "export to C++" function, but i don't know if the older
problems are now fixed 8-(
white_dune can convert meshes to the AC3D b fileformat, which can be read
by blender. Blender has a lot of other exporters.
so long
MUFTI
--
FALLEN SIE 0 | UEBER FALLEN SIE 1+0 | UEBER FALLEN SIE 4 |
UEBER FALLEN SIE 5 | UEBER UEBERFALL 6
Aus einer Webseite ueber RAID-Systeme
I've taken a look on openvrml, but thought that it is too complicated
to use for such simple task that i have.
Cybergarage seems to be more frindly for me))) Thank you..
> Currently i try to add a "export to C++" function to white_dune, but it
> is not usefull/ready yet 8-(
>
> mjbWorld has a "export to C++" function, but i don't know if the older
> problems are now fixed 8-(
I did not understand what you meen when you talk about "export to C+
+".
> white_dune can convert meshes to the AC3D b fileformat, which can be read
> by blender. Blender has a lot of other exporters.
That whould be great =) I'll try this way, if i fail with cybergarage.
Thank you for the good answer.
> I did not understand what you meen when you talk about "export to C+
> +".
Well, you take a VRML/X3DV file and export a C++ source file with the
informations of the VRML/X3D scenegraph and it's nodes.
Beside the C++ source file there is also the need for functions, e.g.
to draw the VRML/X3D scenegraph.
In principle, it is a partitial, limited VRML/X3DV to C++ compiler.
so long
MUFTI
--
Die 47800 ueblich-Beschluss-Fotos wollen pixelate leichter
als die 5400 Hallo-Beschluss-Fotos.
(aus einem Softwarehandbuch, Stichworte: common/high resolution)