Hi folks,

I extended the SkyBackground so that it can handle cube textures, but
this necessitated an interface change in the texcoords. I don't think
many people use them yet, but I know at least one (Hi Enrico! ;) who
does, so a warning is in order.

The texture coordinate fields are now Vec3f's, to supply the third
coordinate needed for cube textures. The background generates default
coordinates that seem to make sense for most of the dds cubemap examples
that I have, but there doesn't seem to be a fixed convention on cube
texture orientations, so YMMV.

Note that it only works for the new style cubemaps (Image with 6 sides),
the old style (CubeTextureChunk) is deprecated and will probably go away
in the future.

Yours

        Dirk




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to