Q: Where can I find the code for the DSG?
A:
Code for the DSG server and for the DSG interfaces is in
the lab's CVS repository, which can be browsed with CVSweb:
Q: How do I install the DSG?
A:
See the DSG's installation instructions.
Q: How do I add models to the DSG?
A:
Adding models to the model database requires some modifications to the
lisp code in Skandha's xdada module.
If we ever get a real database to manage the 3D models, this process should get much simpler!
Q: How do I talk to the DSG server from another program?
A:
When the DSG server runs, it listens for socket connections that come
in on a given port. At the moment, there are two DSG servers running
on uvula. Thorax models are available on port 63070, and skull models
are available on port 63071.
The messages sent to the DSG server are basically Lisp commands wrapped with a special Skandha4 communications protocol that Jim designed. Although arbitrary Skandha4 code can be evaluated, you'll mostly be using the DSG's API functions.
For a sample implementation of the communications protocol, see skandha_module.pl. This is the Perl code that the DSG web interfaces use to talk to the DSG server. To see examples of the DSG API in use, check the web interface scripts, particularly builder_viewer.cgi
Return to the DSG project page.