Scripting engine

Hi all,

I have just discovered Xith3d as I am fed up with having to use C++ for my 3d graphics fix :P, and I have to say it looks very good so far.

I have one question at this point: are there any attempts to integrate a scripting engine with Xith3d?

I have worked a fair bit with an open-source 3d engine called The Nebula Device, which has some very nice features, most notably a “Named Object Hierarchy”, which allows you to navigate the scenegraph tree pretty much like you would a file system, and support for a number of scripting languages.

My experience with these features has been that they are extremely useful and can speed up development tremendously (not having to recompile when you make a change, not having to restart your app when you make a change, and also being able to provide a text-based scripting console through which you can make changes to your scenegraph on-the-fly)

As I cannot imagine doing 3d development without something similar anymore, I am wondering wether somebody has already implemented something similar with Xith3d and I am not aware of it, or should I get coding?

I have so far made some experiments with Xith, using Groovy as a scripting language, and it looks quite promising, one of the benefits being that you can almost copy-and-paste your existing java code (at least the bits that deal with scenegraph creation) into a script file and run the script. I’ve got the HelloXith app working in this model, but I don’t want to go any further if something similar already exists,.

Cheers,

Max

You could consider BeanShell to do this, it’d probably be pretty easy at that point.

Kev

Xith3D is a scene graph, not a game engine. There’s a huge difference between the two. Scripting belongs in a game engine where you have fixed constructs and a limited (highly tailored) set of functionality.

Alternatively, if you want to use a scripted environment, look at X3D.