This might be an edge case for usage but I try to use a video as a
texture loaded from a .osg file (or any other fileformat if that
matters). Fiddeling around with a simple .osg file I get something like
[1] - I get the first frame - great but that's it. It does not run the
video and I couldn't find any reference in the plugins to deal with this
case. Is this just not supported or do I miss an environment variable
etc. pp. - system is OSG 2.8.x from the 2.8 branch on OS X (thus
QuickTime plugin)
Cheers,
Hartmut
1)
textureUnit 0 {
GL_TEXTURE_2D ON
Texture2D {
file "/Users/seichter/Movies/bowling.avi"
wrap_s REPEAT
wrap_t REPEAT
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply TRUE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
}
--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org