>
> > Also your model have per-vertex colors assigned with transparent alpha
> > values, do you need those?
>
> the thing is that the model i have here was autogenerated and i have no way
> of creating it myself. i only have half an idea what the data in the model
> tells me and i couldn't find a comprehensive source online how to understand
> it. how would i need to change it if i don't need it per-vertex colors
> assigned with transparent alpha values?
i just replaced all the zeroes in the alpha values with ones and now everything
behaves like it should. i suppose the error wasn't with osg (which rather
behaved like it should) but with the model i have. thanks so much for the time.
solution: going from
Code:
...
ColorBinding PER_VERTEX
ColorArray Vec4Array 1317508
{
0.363281 0.363281 0.359375 0
// ... yes, more data
}
to:
Code:
...
ColorBinding PER_VERTEX
ColorArray Vec4Array 1317508
{
0.363281 0.363281 0.359375 1
// ... yes, more data
}
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49567#49567
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org