[eq-dev] Error in osgScaleViewer, osg::Unform Types

7 views
Skip to first unread message

Robert Hauck

unread,
Feb 16, 2011, 5:36:18 AM2/16/11
to eq-...@equalizergraphics.com

Hi all

Just compiled latest svn version of Equalizer with OSG 2.9.11, there seems
to be an error somewhere when setting osg Uniforms. I get an error

'Cannot assign between Uniform types unsigned int and int'

each time when rendering, endlessly...

Looks like it's coming from 'bool Uniform::isCompatibleType( Type t ) const'
in osg/Uniform.cpp, line 274...

Has this error anyone too?

(Win7 x64)

Thanks
Robert
--
View this message in context: http://software.1713.n2.nabble.com/Error-in-osgScaleViewer-osg-Unform-Types-tp6031213p6031213.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Robert Hauck

unread,
Feb 16, 2011, 5:46:18 AM2/16/11
to eq-...@equalizergraphics.com

Guess I found it...

In sceneView.cpp, 251, it should be

...getOrCreateUniform("osg_FrameNumber",osg::Uniform::UNSIGNED_INT);

not

...getOrCreateUniform("osg_FrameNumber",osg::Uniform::INT);

Cheers
--
View this message in context: http://software.1713.n2.nabble.com/Error-in-osgScaleViewer-osg-Unform-Types-tp6031213p6031236.html

Stefan Eilemann

unread,
Feb 16, 2011, 6:17:54 AM2/16/11
to eq-...@equalizergraphics.com

On 16. Feb 2011, at 11:46, Robert Hauck [via Software] wrote:

> Guess I found it...
>
> In sceneView.cpp, 251, it should be

Thanks, applied.


Cheers,

Stefan.



View this message in context: Re: Error in osgScaleViewer, osg::Unform Types
Reply all
Reply to author
Forward
0 new messages