Prosenjit wrote: > Using melted chocolate as cake decoration? I'm making a cake this weekend and > what I'm planning on doing is melting white chocolate, using food coloring > (I'm thinking red) and then using a pastry bag to decorate and/or write on > the cake. I've never done this before so I'm wondering...will the heat of the > melted chocolate cause the frosting to get melty as well? Has anyone done > this before?
You need to use the OSGCake NodeKit, which exposes the osgChocolate and osgFrosting class types. If you derive a custom class from BOTH of these base classes, you can then use the setColor(osgFrosting::Red) method to do what you're asking. Also, look into the PastryBagDecorator pattern. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

