Amal schrieb:
Hi,
I want to make a class CubicObject which takes a cubic equation and
renders a cubic object in the viewer.
So for this I intend to use a Shader to render the object .
THe class Cubic will be derived from Drawable and the
drawImplementaion will be overloaded.
So is the design right for having a CubicObject Class in OSG derived
from Drawable . Or Should I make some other design.
Or is it not possible to have some CubicObject in OSG ?
Hi again,
if you want to learn about cubics:
http://www.cubics.algebraicsurface.net/welcome.php
If you don“t want to change the cubic in realtime then you might want to
use the program "surf" (which you can get at that site) to compute the
vertices of the cubic and then just render it with osg.
Reagards,
Andreas
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/