HI Avram,

Use a Vec4ubArray.

Robert.

On Mon, Jul 26, 2010 at 3:55 PM, avram jerusalem
<[email protected]> wrote:
> Hi,
>
> I would like to color a Geometry using gray scale to save memory on the 
> graphics card (my images are gray scale anyway). Using osg::Vec4Array is 4 
> times what I need.
>
> Is it possible to use osg::UIntArray instead? The Api seems to allow for it 
> but my program crashes.
>
> Cheers,
> avram
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=30271#30271
>
>
>
>
>
> _______________________________________________
> 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