[osg-submissions] EXT_texture_integer submission ShaderModel 4.0
Art Tevs
stud_info2 at yahoo.de
Fri Sep 7 16:00:52 PDT 2007
Hej,
So I attached a new version of the integer texture patch.
Features of the patch are:
- Implementation of integer textures as in EXT_texture_integer
- setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass double values
as border color. (Probably we have to provide an overloading function to
still support Vec4f ?)
- new method Texture::getInternalFormatType() added. Gives information if the
internal format normalized, float, signed integer or unsigned integer. Can
help people to write better code ;-)
ToDo:
Corrections have to be made to the osgPlugins to read the border color values
as doubles. (It has be done anyhow since there is no real Vec4d support in
the osg plugin for now)
Best regards,
Art
P.S. Sorry for doubled mail
---------------------------------
Alles was der Gesundheit und Entspannung dient.BE A BETTER MEDIZINMANN!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070908/92c90666/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EXT_texture_integer.tar.gz
Type: application/x-gzip
Size: 39962 bytes
Desc: 229536850-EXT_texture_integer.tar.gz
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070908/92c90666/attachment-0001.bin
More information about the osg-submissions
mailing list