diff --git a/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/editor/Graphical3DEditorBase.java b/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/editor/Graphical3DEditorBase.java index af9ee94fa70ceece433ff98b5a5f8421a95093b9..83c04726371445d008c9d511ba1b0c0d66db887c 100644 --- a/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/editor/Graphical3DEditorBase.java +++ b/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/editor/Graphical3DEditorBase.java @@ -160,7 +160,7 @@ public abstract class Graphical3DEditorBase<T extends EObject> extends EditorBas /** Performs the object rendering operation. */ private void performRendering() throws LWJGLException { - clearCanvasAndLoadIdentity(new Color(0.9f, 0.9f, 0.9f, 1.0f)); + clearCanvasAndLoadIdentity(new Color(0.95f, 0.95f, 0.95f, 1.0f)); getCamera().applyForRendering(); beginRenderLoop(); getSceneModelObject().renderObject(getCamera()); diff --git a/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/objects/Graph3DViewObject.java b/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/objects/Graph3DViewObject.java index b6a5b5bd456e34d6e99e126bf038b1592238009e..bc81ec96b9a6fadd1066bb10b666b941c42a0ccd 100644 --- a/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/objects/Graph3DViewObject.java +++ b/org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/objects/Graph3DViewObject.java @@ -17,12 +17,12 @@ $Id$ +--------------------------------------------------------------------------*/ package org.fortiss.tooling.graphicsGL.ui.objects; -import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.multiplyCurrentMatrixWith; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.createBillboardMatrix; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.drawLine; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.drawMaterialGroups; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.flushName; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.moveTo; +import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.multiplyCurrentMatrixWith; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.normalize; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.prepareName; import static org.fortiss.tooling.graphicsGL.ui.util.GLPrimitives.restoreMatrix; @@ -186,6 +186,8 @@ public class Graph3DViewObject extends ViewObjectBase { // rotate text so it is readable from left to right rotate(new Vector4f(0, 0, 1, -90)); + GLPrimitives.scale(1.75f, 1.75f, 1.75f); + // draw the Text for(Object3D o : objects) { if(o != null) @@ -219,6 +221,7 @@ public class Graph3DViewObject extends ViewObjectBase { private void renderPoint(GraphPoint3D p) { saveMatrix(); moveTo(p.getPosition()); + GLPrimitives.scale(1.5f, 1.5f, 1.5f); SPHERE.draw(0.2f, 9, 4); restoreMatrix(); }