Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > one last addition. The patch works fine for me. The problem is not visible > anymore. thanks for confirming that it fixes your problem. I'll commit the changes shortly and also conditionally remove (i.e. unless OSGCOMPAT_ENABLE_DEPRECATED is def

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Johannes Brunen
Hello Carsten, one last addition. The patch works fine for me. The problem is not visible anymore. Thank you for taking your time. Best, Johannes -- The Palm PDK Hot Apps Program offers developers who use the Plug-I

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Johannes Brunen
Hello Carsten, "Carsten Neumann" schrieb im Newsbeitrag news:4c52f58b.4090...@gmx.net... > Johannes Brunen wrote: >> inline >> void ExceptionBinaryDataHandler::getValues(Real32 *value, >>UInt32 size ) throw >> (ReadError) >> { >> ... >> } > > hm, th

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > inline > void ExceptionBinaryDataHandler::getValues(Real32 *value, >UInt32 size ) throw (ReadError) > { > get(value, size * sizeof(Real32)); > > #if BYTE_ORDER == LITTLE_ENDIAN > if(_networkOrder

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Johannes Brunen
Hello Carsten, thank you for the patch. There are two places I'm not sure about. First, in file OSGExceptionBinaryDataHandler.inl line 741 and 755: inline void ExceptionBinaryDataHandler::getValues(Real32 *value, UInt32 size ) throw (ReadError) { g

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-29 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: "Carsten Neumann" schrieb im Newsbeitrag news:4c50ca12.6080...@gmx.net... Anyway, out of curiosity, do you use different compiler switches from OpenSG's defaults? I use default settings with the exception of OSG_ENABLE_SSE2:BOOL=OFF ok. It s

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-29 Thread Johannes Brunen
Hello Carsten, "Carsten Neumann" schrieb im Newsbeitrag news:4c50ca12.6080...@gmx.net... > > hm, on Linux we use compiler options to use SSE instead of the FPU, > which I would expect reduces the risk of float getting garbled (AFAIU > the SSE registers are 64 bit not 80 bit like the FPU). > Curr

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-28 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > "Carsten Neumann" schrieb im > Newsbeitrag news:4c4dbd03.5060...@gmx.net... >>> I could verify that everything is fine to the point of the return call. >>> However, variable v is not correctly intialized afterwards. >> oh, my favourite C++ program

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-28 Thread Johannes Brunen
Hello Carsten, "Carsten Neumann" schrieb im Newsbeitrag news:4c4dbd03.5060...@gmx.net... >> >> I could verify that everything is fine to the point of the return call. >> However, variable v is not correctly intialized afterwards. > > oh, my favourite C++ programming rules, aliasing ;) My hope in

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-26 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: after spending some time I have found the problematic code. Actually, I still do not know what is the real problem but let me explain first. ah, I was writing a mail to you with some updates, but I had not been able to find the problem. I have

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-26 Thread Johannes Brunen
Ups, "Johannes Brunen" schrieb im Newsbeitrag news:i2kb7f$n...@dough.gmane.org... > Gerry, ... sorry I mean Gerrit. Best, Johannes -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-26 Thread Johannes Brunen
Hello Carsten, after spending some time I have found the problematic code. Actually, I still do not know what is the real problem but let me explain first. I have learned that the '.osb' file format involves the following kind of code: 1. On writing: OSGExceptionBinaryDataHandler.inl, function

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-23 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > "Carsten Neumann" schrieb im > Newsbeitrag news:4c49d799.7090...@gmx.net... >> ok, thanks. Honestly I'm a bit overwhelmed with all the files... >> > Sorry, but I simply tried to provide as much information as possible... yes, I appreciate that.

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-23 Thread Johannes Brunen
Hello Carsten, "Carsten Neumann" schrieb im Newsbeitrag news:4c49d799.7090...@gmx.net... > > ok, thanks. Honestly I'm a bit overwhelmed with all the files... > Sorry, but I simply tried to provide as much information as possible... > > hm, comparing the files "Rebuild model/SceneImp_write.txt"

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-23 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > "Carsten Neumann" schrieb im > For the following I have uploaded all files to 'files.zip' on > http://drop.io/OpenSG_RenderEngine ok, thanks. Honestly I'm a bit overwhelmed with all the files... I was only asking about files saved directly from

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-22 Thread Johannes Brunen
Hello Carsten, "Carsten Neumann" schrieb im Newsbeitrag news:4c45d42c.60...@gmx.net... > > is mod4.osb from the first time saving or is it from loading and saving > again? > I think that the mod4.osb file is not the best one to analyze the problem. I have therefore tried to produce some better

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-20 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: > I have a problem with saving or loading of a model. After model creation > (i.e. facetting and model setup) the rendering is correct as can be seen > by the snap shot SavePreview.png, which I have taken just before the > save operation. Subsequent l