Scene graph & examiner in lispbuilder

15 views
Skip to first unread message

Tom F

unread,
Dec 13, 2013, 4:55:11 PM12/13/13
to lispb...@googlegroups.com
Hey,

Just came across this project today after seeing it in the quicklisp repository. After reading around on the google code site, I can't seem to answer this question.
Is this the kind of system I can use to easily populate a scene with some geometry, open a window in which the scene will be rendered, and which allows me to "examine" the scene with the mouse? What I am looking for is something like the ExaminerViewer of Open Inventor. 
For example, the Coin3D library allows you do something like:

   SoQt::init(NULL);
   SoSeparator *root = new SoSeparator;
   SoMaterial *myMaterial = new SoMaterial;
   myMaterial->diffuseColor.setValue(1.0, 0.0, 0.0);
   root->addChild(myMaterial);
   root->addChild(new SoCone);
   SoQtExaminerViewer *myViewer = new SoQtExaminerViewer(NULL);
   myViewer->setSceneGraph(root);
   myViewer->show();
   SoQt::mainLoop();

This creates a window which displays a scene consisting of  a red cone, and allows the user to navigate (pan/zoom/rotate) with the mouse. I just want to 
know if something like this is as simple with lispbuilder.

Thanks!
-Tom

Elliott Slaughter

unread,
Dec 21, 2013, 2:04:37 PM12/21/13
to lispb...@googlegroups.com
lispbuilder-openrm might be the library you are looking for; OpenRM describes itself as a scene graph library [1]. However, this is not a part of the Lispbuilder code base I am familiar with with, so I don't know the status of the lispbuilder-openrm bindings to OpenRM or how easy OpenRM itself makes it to implement the functionality you describe. Maybe Luke could answer more specifically, if he is available?

The other Lispbuilder libraries (lispbuilder-sdl, -opengl, etc.) are probably more low-level than you are looking for. While you could certainly build a scene graph from scratch with SDL or OpenGL in Lispbuilder, that does not seem like the sort of exercise you were interested in.


--
You received this message because you are subscribed to the Google Groups "Lispbuilder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lispbuilder...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay
Reply all
Reply to author
Forward
0 new messages