I compiled OSG against OpenGL 3 and disabled all the fixed function
stuff, and I can do basic things like build up geometry, apply shaders
and so on. Trying to draw text using osgText doesn't work out so well
though. I'm not sure what's going on... but basically the output looks
like font character quads, just not textured correctly (wild guess).
Here's a screenshot from the results of running osgtext in the example
folder: http://i.imgur.com/NX6dv.png?1

Do I need to specify my own shader for the text geode I create? If so,
are there any examples on how to do this?

Also here's the debug output for a minimal osg text example (just
create some text, attach it to a geode, and render the scene):
http://pastie.org/4200461

I see ShaderComposer is called but I don't know if it's doing
anything. Also this line doesn't seem right: "Glyph::subload():
texture sub-image width and/or height of 0, ignoring operation". I'd
appreciate any advice.


Preet
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to