A Canvas3D utility class

First i have to say that creating a “Canvas3D” like component in JME3 is pretty easy. Anyway, here’s my indecent proposal: a Canvas3D, to be added as an utility class in the jme3 utility package.



Code in the post that follows. Don’t ask why.

Here’s the Canvas3D code formatted.



Canvas3D.html

Add it to the “snippets” list of this group: http://hub.jmonkeyengine.org/groups/development-discussion-jme3/snippets/ There it has code highlights and you can update it. Its also a nice place to collect such things.

Cheers,

Normen