Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Scripting engine  (Read 509 times)
0 Members and 1 Guest are viewing this topic.
Offline maxm

JGO Visitor



Java games rock!


« Posted 2004-11-03 05:47:20 »

Hi all,

I have just discovered Xith3d as I am fed up with having to use C++ for my 3d graphics fix Tongue, 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
Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #1 - Posted 2004-11-03 06:30:38 »

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

Kev

Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Reply #2 - Posted 2004-11-04 13:31:53 »

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.

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (49 views)
2013-05-17 21:29:12

alaslipknot (58 views)
2013-05-16 21:24:48

gouessej (88 views)
2013-05-16 00:53:38

gouessej (86 views)
2013-05-16 00:17:58

theagentd (95 views)
2013-05-15 15:01:13

theagentd (88 views)
2013-05-15 15:00:54

StreetDoggy (133 views)
2013-05-14 15:56:26

kutucuk (154 views)
2013-05-12 17:10:36

kutucuk (154 views)
2013-05-12 15:36:09

UnluckyDevil (164 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.123 seconds with 21 queries.