Hi Anne,

Anne Braun wrote:
> Hey Daniel,
> 
> thanks for your hint. Using your little trick, I was able to debug my 
> fragment shader.
> 
> The working code looks like this:
> MFVec3f parameters = MFVec3f(); <- without specifying the field size!!!

Ah! Sorry we missed that one.

Yes, passing in the size will set the actual size to 3, not just reserve 3 
elements. So your push_backs were put into elements 3, 4 and 5, and you got 
uninitialized data into the shader in 0, 1 and 2.

Thanks to Daniel for the hint!

Yours

        Dirk

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to