Hi Ferdi,

Ping... still haven't seen whole modified files.  For details of the
submissions protocol please read.

    
http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol

Thanks,
Robert.

On Fri, Nov 21, 2008 at 10:28 AM, Robert Osfield
<[EMAIL PROTECTED]> wrote:
> Hi Ferdi,
>
> Could you post the whole modified files rather than a patch.
>
> Thanks,
> Robert.
>
> On Sat, Nov 15, 2008 at 4:25 PM, Ferdi Smit <[EMAIL PROTECTED]> wrote:
>> I attached a small patch to add support for unsigned typed uniform
>> variables. In particular, uniform unsigned int, uniform uvec2, uniform
>> uvec3, uniform uvec4. These uniform variables can now be set with
>> osg::Uniform("name", unsigned int(42)), and so on. Previously, osg::Uniform
>> only supported "float" and "int", this adds support for "unsigned int".
>> Because of the double-token typename, some minor changes to the .osg writer
>> plugin for uniform were also required. Relies on gpu_shader4 and
>> glUniform[n]uivEXT
>>
>> I did some simple tests using a uniform unsigned in a shader, writing it to
>> an .osg file, and loading it again. All worked fine. Possible issues may
>> potentially arise for existing software using unsigned int C++ types to set
>> (signed) uniform int types, due to the new overload. I haven't noticed this
>> yet, though.
>>
>> --
>> Regards,
>>
>> Ferdi Smit
>> Email: [EMAIL PROTECTED]
>> Room: C0.07  Phone: 4229
>> INS3 Visualization and 3D Interfaces
>> CWI Amsterdam, The Netherlands
>>
>>
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to