Hi Rick, On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Ok, so that r() value is not about bit-depth, but rather allows for a 3D texture?
The bit depth is governed by the pixel format and data type, r() is just the 3rd dimension. This means you could apply the texture to an object with a hole in it
somewhere and see the inner images in the hole?
I don't know what you mean by whole. Do you mean using an RGBA with the alpha of 0.0 creating a whole? If so this is a pixel format issue. So if you wanted to use a texture to display a sequence of images over time,
is that the same idea? My gut tells me no. I'll bet there is an ImageSequence or something that is used for that huh. I will look, but anyone know of a good example of this?
osg::ImageStream is a subclass from osg::Image for paged image data, i.e. video streaming. Its not a preloaded sequence though.
So as for the other questions, I should be able to use a good OpenGL book? accessing indexed or grey scale values? packing?
The OSG deliberately ties itself very closely to OpenGL in function and naming, so a good OpenGL book will help you a lot. OpenGL reference manual is useful book, as is Paul Matrz's OpenGL distilled ;-) Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
