According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for
fx_sampler_wrap_common is as follows

CLAMP ->GL_CLAMP_TO_EDGE
NONE->GL_CLAMP_TO_BORDER

The current 2.5.0 daePlugin assumes the following binding

CLAMP ->GL_CLAMP
NONE->GL_REPEAT

Notably the GL_CLAMP binding will result in visible black seams on input
files that use otherwise matching textures. Replacing GL_CLAMP by
GL_CLAMP_TO_EDGE solves this problem. I've updated both the read and write
functions.

Gino van den Bergen
www.dtecta.com

Attachment: dae.rar
Description: application/rar

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to