On Sat, 2010-11-27 at 21:33 +0000, Kim Bale wrote: > Hello again, > > > Yep that fixed osgCairo. > > > However, those changes have broken osgPango. :) > > > You changed the interface for createEmbossedSurface in osgCairo, > however you forgot to update the reference to it in osgPango. > > > osgCairo::Util::CreateEmbossedSurface is called in Emboss.cpp line 34. > It's missing the height, ambient, diffuse parameters that you just > added in osgCairo. I'd add them myself and send it in but I'm unsure > as to their purpose.
BAH! :) I have all this fixed at home on my machine with the NVidia hardware, but I'm cold-committing these changes from WORK on my Intel. As soon as I get home I'll work this all out and get back to you... The documentation for emboss can be found in cairocks.h (it's an svn:external in osgCairo in the ext/ directory), but it is somewhat wanting. :) I have to get this all updated for my client anyways, so just hang in there for a bit and I'll have it all sync'd up. IT DOES WORK, though; we got screenshots to prove it. > Cheers. > > > Kim. > > On 27 November 2010 20:29, Jeremy Moles <jer...@emperorlinux.com> > wrote: > On Sat, 2010-11-27 at 19:04 +0000, Kim Bale wrote: > > Hi Jeremy, > > > > > > I thought it was about time I gave osgPango a go, so I > checked out > > osgCairo and pango from your googlecode repos. > > > > > > However, I'm having a small issue with compiling osgCairo - > which I > > believe is a dependency of osgPango. > > > > > > The build fails on Util.cpp, it says it can't find the > identifier > > cairock_create_embossed_surface in Util.cpp line 62. > > > Whoops! Fixed. :) > > > I'm building against the the cairo 1.10 source found > > here: http://www.gtk.org/download-windows.html on win32. > > > I also use the gtk development bundle (for now) on Windows. > This should > be fine. > > > > Any hints? > > > > > > Cheers, > > > > > > Kim. > > > > > > > > On 27 November 2010 15:53, Jeremy Moles > <jer...@emperorlinux.com> > > wrote: > > Hey guys, as a result of some very welcome and > appreciated > > private > > funding on osgPango, it now has the ability to > create > > rasterized (into > > the texture atlas) font bevel effects. > > > > http://jeremymoles.com/bevel2d.png > > http://jeremymoles.com/bevel3d.png > > > > Features coming along great! Next stop is to squash > the > > dependency > > nightmare on windows by compiling everything > statically using > > a custom > > CMake build for EVERYTHING. Wish me luck... > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org