use of net.drewke.tdme.engine.PartitionNone in project tdme by andreasdr.
the class ParticleSystemView method activate.
/*
* (non-Javadoc)
* @see net.drewke.tdme.tools.shared.views.View#activate()
*/
public void activate() {
// reset engine and partition
engine.reset();
engine.setPartition(new PartitionNone());
//
engine.getGUI().resetRenderScreens();
engine.getGUI().addRenderScreen(particleSystemScreenController.getScreenNode().getId());
onInitAdditionalScreens();
engine.getGUI().addRenderScreen(popUps.getFileDialogScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getInfoDialogScreenController().getScreenNode().getId());
}
use of net.drewke.tdme.engine.PartitionNone in project tdme by andreasdr.
the class TriggerView method activate.
/*
* (non-Javadoc)
* @see net.drewke.tdme.tools.shared.views.View#activate()
*/
public void activate() {
// reset engine and partition
engine.reset();
engine.setPartition(new PartitionNone());
//
engine.getGUI().resetRenderScreens();
engine.getGUI().addRenderScreen(triggerScreenController.getScreenNode().getId());
engine.getGUI().addRenderScreen(TDMELevelEditor.getInstance().getLevelEditorEntityLibraryScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getFileDialogScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getInfoDialogScreenController().getScreenNode().getId());
}
use of net.drewke.tdme.engine.PartitionNone in project tdme by andreasdr.
the class Tools method oseInit.
/**
* Init off screen engine for making thumbails
* @param drawable
*/
public static void oseInit(GLAutoDrawable drawable) {
osEngine = Engine.createOffScreenInstance(drawable, 128, 128);
osEngine.setPartition(new PartitionNone());
setDefaultLight(osEngine.getLightAt(0));
oseScale = 0.75f;
oseLookFromRotations = new Transformations();
oseLookFromRotations.getRotations().add(new Rotation(-45f, new Vector3(0f, 1f, 0f)));
oseLookFromRotations.getRotations().add(new Rotation(-45f, new Vector3(1f, 0f, 0f)));
oseLookFromRotations.getRotations().add(new Rotation(0f, new Vector3(0f, 0f, 1f)));
oseLookFromRotations.update();
}
use of net.drewke.tdme.engine.PartitionNone in project tdme by andreasdr.
the class ModelViewerView method activate.
/*
* (non-Javadoc)
* @see net.drewke.tdme.tools.shared.views.View#activate()
*/
public void activate() {
// reset engine and partition
engine.reset();
engine.setPartition(new PartitionNone());
//
engine.getGUI().resetRenderScreens();
engine.getGUI().addRenderScreen(modelViewerScreenController.getScreenNode().getId());
onInitAdditionalScreens();
engine.getGUI().addRenderScreen(popUps.getFileDialogScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getInfoDialogScreenController().getScreenNode().getId());
}
use of net.drewke.tdme.engine.PartitionNone in project tdme by andreasdr.
the class EmptyView method activate.
/*
* (non-Javadoc)
* @see net.drewke.tdme.tools.shared.views.View#activate()
*/
public void activate() {
// reset engine and partition
engine.reset();
engine.setPartition(new PartitionNone());
//
engine.getGUI().resetRenderScreens();
engine.getGUI().addRenderScreen(emptyScreenController.getScreenNode().getId());
engine.getGUI().addRenderScreen(TDMELevelEditor.getInstance().getLevelEditorEntityLibraryScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getFileDialogScreenController().getScreenNode().getId());
engine.getGUI().addRenderScreen(popUps.getInfoDialogScreenController().getScreenNode().getId());
}
Aggregations