Re: [osg-users] Streaming world and integer limitations

2012-10-29 Thread Chris Hanson
 Mon, Oct 29, 2012 at 5:24 AM, Dmitry K.  wrote:

> We have scene graph node position - 32 bit integer. We walk through
> terrain meeting some trees, houses while sectors ahead are loading on a
> background and then the position of a player and 3d objects becomes maximum
> integer value. What then? I don't know.
> What I are regular methods to avoid such limitations?
> Maybe I should reset position to relative value in each sector?
>
>
  What exactly are you saying is a 32-bit integer? I'm not aware of any
32-bit int limitation in OSG.


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Streaming world and integer limitations

2012-10-29 Thread Dmitry K.
Hi,

I'm thinking about how to do a streaming world in OSG and I have noticed one 
problem at first.

We have scene graph node position - 32 bit integer. We walk through terrain 
meeting some trees, houses while sectors ahead are loading on a background and 
then the position of a player and 3d objects becomes maximum integer value. 
What then? I don't know.

What I are regular methods to avoid such limitations?

Maybe I should reset position to relative value in each sector?

Thank you!

Cheers,
Dmitry

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50857#50857





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org