Creating a wizard when adding a custom control to the SceneComposer

I’m going through the phases of creating a control for a better terraingrid system so a user can just add it to the scenecomposer, and since a control requires an empty constructor I don’t have access to the AssetManager. I need it so I can load a default material when the user adds the control to the scenecomposer.

So rooted around in the code to see how it’s done when terrain is added to the scenecomposer, and this obstacle is overcome by the addition of a wizard popping up asking the relevant questions. It is possible to create a wizard like this? It would be really advantageous for this particular situation.

https://wiki.jmonkeyengine.org/legacy/doku.php/sdk:development:sceneexplorer#adding_items_to_the_add_and_tools_menus

1 Like