Hi,

I have written a program for loading VRML files using
OpenSG. Since I want to connect the loader to an OpenGL application,
I am not using the SimpleSceneManager nor the GLUTWindow, instead
I am using all the passive components (PassiveWindow, PassiveViewport ...)
and the MatrixCamera. So far there have been no problems: if I write the
program using GLUT, loading a VRML, displaying it and navigating through
the scene works well. Now the "same" program written with wxWindows does
also load the VRML, but it seems that rendering the scene is only possible with very low detail, say: A geometry that consist of a lot of vertices now appears to be approximated by billboards, and I have the impression that colors origin from
averaged textures. I told the renderAction to draw volumes and these differ
for the GLUT-implemention and the WX-implementation. In the latter the
bounding boxes seem to stretch out in one direction far beyond the real volume
of the geometry.
After checking for differences in the GL states of both implementation, which could not be found, I wrote out an OSG Binary of the VRML after loading it with my GLUT
program. This BIN is read and diplayed properly by the WX-implementation.

I have not dealt long with OpenSG (at most a week) and I did not find out what I am doing wrong. What do I have to do before loading a VRML? Is there some automatic
level of detail behaviour?

Here is an overview of the prolonged text above:
- GLUT : Load and display VRML properly
- WX: VRML loaded, but very coarse detail, bounding boxes stretched in one direction
- GLUT: Writing out BIN from VRML
- WX: Loading and displaying BIN properly

Thanks for any help
Bogumil

--
Dipl.-Ing. Bogumil Bartczak
Multimedia Information Processing email: [EMAIL PROTECTED]
phone: +49 (0)431 880-4448, fax: +49 (0)431 880-4054

Christian-Albrechts-University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3
D-24098 Kiel, Germany



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to