Hi Virgina,

The OpenSceneGraph-2.3.x dev series has support for Vec3dArray etc.
Its used for loading large scale data such as whole earth shape files
where the precision is required.

There is a big but though, OpenGL hardware is designed around 32bit
floats so has to convert all 64bit floats into 32bit and this
conversion really stuffs up performance, so while Vec3dArray might be
useful for passing large scale data around its not good for rendering.

Robert.

On Jan 23, 2008 9:28 PM, Virginia Holmstrom <[EMAIL PROTECTED]> wrote:
> This may be a newbie question, but why is there no double type in the 
> definition of array (pasted below)?  How does one create geometry specified 
> with doubles if Geometry::setVertexArray can not accept doubles?
>
>
>
> class OSG_EXPORT Array : public Object
>
> {
>
>
>
>     public:
>
>
>
>         enum Type
>
>         {
>
>             ArrayType = 0,
>
>             ByteArrayType     = 1,
>
>             ShortArrayType    = 2,
>
>             IntArrayType      = 3,
>
>             UByteArrayType    = 4,
>
>             UShortArrayType   = 5,
>
>             UIntArrayType     = 6,
>
>             Vec4ubArrayType   = 7,
>
>             FloatArrayType    = 8,
>
>             Vec2ArrayType     = 9,
>
>             Vec3ArrayType     = 10,
>
>             Vec4ArrayType     = 11,
>
>             Vec2sArrayType    = 12,
>
>             Vec3sArrayType    = 13,
>
>             Vec4sArrayType    = 14,
>
>             Vec2bArrayType    = 15,
>
>             Vec3bArrayType    = 16,
>
>             Vec4bArrayType    = 17
>
>
>
>         };
>
>
>
>
>
> Thank you very much,
>
> Virginia
>
>
>
>
>
> *************************************
> The information transmitted herewith is sensitive information intended only 
> for use by the individual or entity to which it is addressed. If the reader 
> of this message is not the intended recipient, you are hereby notified that 
> any review, retransmission, dissemination, distribution, copying or other use 
> of, or taking of any action in reliance upon, this information is strictly 
> prohibited. If you have received this communication in error, please contact 
> the sender and delete the material from your computer.
> **************************************
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to