Hi to everyone,
in first place, thanks for the awesome work you have made in developing jMonkey.
Actually I’m using your engine in order to port my university teacher’s graphic language (which it’s called pyplasm) into Clojure (a functional language based on JMV).
In pyplasm, you can do this:
[java]
VIEW(CUBE(1))
[/java]
This instruction display (i.e render) a 1x1x1 cube. As you can see you can pass a geometry object to the VIEW function and have it displayed on screen. CUBE(n) is a function that returns a nxnxn cube, of course.
Again, check this instruction in pyplasm:
[java]
VIEW(STRUCT([CUBE(1), CUBE(1)]))
[/java]
This instruction merge together two cubes (into a single geometry object) and display it on the screen (as before).
I’m writing all this stuff in order to ask you:
- Is it possibile to merge together two (or more) Geometry object into a single one?
- If the answer to the first question is yes, then I can write my Application class passing from outside only a single Geometry object, otherwise can you suggest me the best way to pass from outside Geometry objects and display ALL of them to the screen?
I hope to have been clear (after all, English is not my native language, as you can guess by my nickname :)
Bye!
Alfredo