From 4a303a7b3635adfee8f46ac76af4e1b7b4a7029b Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 08 Sep 2019 15:35:13 -0400 Subject: [PATCH] Fix navigation arrows. --- iCameraPane.java | 76 +++++++++++++++++++++++++++++++++++--- 1 files changed, 70 insertions(+), 6 deletions(-) diff --git a/iCameraPane.java b/iCameraPane.java index 5fa0b77..6f9063a 100644 --- a/iCameraPane.java +++ b/iCameraPane.java @@ -5,7 +5,11 @@ static final public int SELECTION = 1; static final public int SHADOW = 2; static final public int OCCLUSION = 3; - + + boolean IsDebugSelection(); + + boolean IsBoxMode(); + void ClearDepth(); void DepthTest(boolean depthtest); @@ -20,7 +24,7 @@ boolean IsFrozen(); - javax.media.opengl.GL GetGL(); + javax.media.opengl.GL GetGL0(); // Currently in Globals int DrawMode(); @@ -31,12 +35,17 @@ void PushTextureMatrix(double[][] matrix, int count); void PopTextureMatrix(double[][] matrix); + Camera[] Cameras(); + Camera EyeCamera(); - Camera LightCamera(); - + Camera ManipCamera(); Camera RenderCamera(); + boolean SetCamera(Camera c); + + cVector TargetLookAt(); + // Should be cMaterial void PushMaterial(Object3D obj, boolean selected); void PushMaterial2(Object3D obj, boolean selected); @@ -46,8 +55,63 @@ void DrawString(Object3D obj); - void BindTextures(cTexture tex, int resolution); - void ReleaseTextures(cTexture tex); + //void BindTextures(cTexture tex, int resolution) throws Exception; + //void ReleaseTextures(cTexture tex); + void BindPigmentTexture(cTexture tex, int resolution) throws Exception; + void BindBumpTexture(cTexture tex, int resolution) throws Exception; + void ReleasePigmentTexture(cTexture tex); + void ReleaseBumpTexture(cTexture tex); void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face); + + void DrawBox(cVector min, cVector max); + + void DrawGeometry(BoundaryRep bRep, boolean flipV, boolean selectmode); + + void DrawDynamicMesh(cMesh c); + + void StartTriangles(); + void EndTriangles(); + + int GenList(); + void NewList(int id); + void CallList(int id); + void EndList(); + + void NextIndex(); + + void DrawParticles(TriMesh geo, Object3D shape, boolean selected, boolean rotate); + + void PrepOcclusion(BoundaryRep br, double[][] transform); + + void setCursor(java.awt.Cursor cursor); + + com.sun.opengl.util.texture.TextureData GetTextureData(cTexture tex, boolean bump, int resolution) throws Exception; + + void repaint(); + + void processKeyEvent(java.awt.event.KeyEvent e); + + void keyPressed(int key); + + // For scripts + void ToggleLive(); + void ToggleFrustum(); + void ToggleTexture(); + void ToggleBoxMode(); + void ToggleSupport(); + void ToggleSlowPose(); + void ToggleAbort(); + void ToggleFast(); + void ToggleOeilOnce(); + void ToggleOeil(); + void ToggleTrackOnce(); + void ToggleTrack(); + void ToggleShadowTrack(); + void ToggleInertia(); + void ToggleSmoothFocus(); + void ToggleImageFlip(); + void ToggleSpeakerFocus(); + void ToggleSpeakerCamera(); + void ToggleSpeakerMocap(); } -- Gitblit v1.6.2