On 2010-02-02 18:47, Carsten Neumann wrote:
> Hello Georg,
>
> Georg Wöß wrote:
>
>> I have created a zip-file which contains two vrml files and the dumps of
>> the qt and the glut test programs. I couldn't find anything about "osb"
>> in OpenSG1.8, therefore I used the OSGWriter (the zip also contains the
>> soucrecode of my test programs).
>>
> the source files that implement to .osb writer are in
> Experimental/NativeFileIO. Just telling the SceneFileHandler to write a
> file with extension ".osb" should do the trick though.
>
>
>> The download link of the zip-file is:
>>
>> http://rapidshare.com/files/344833428/opensg_vrml.zip.html
>>
> hm, looking at a diff between the glut and qt4 .osg files, I see that
> the qt4 files have a "," as decimal separator in floating point numbers
> while the glut files contain a "." (e.g. 1,234e+02 vs. 1.234e+02).
> It looks as if the locale is being changed and that might well confuse
> the vrml loader. Try setting the C and C++ locales to one that use "."
> as decimal separator and see if that makes a difference.
>
> Cheers,
> Carsten
>
>
Hi,
This suggestion solved my problem.
Thank you and all others who helped me.
Kind regards,
georg
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users