From f555e2cacc4470c5b2217a14d40d2b39c4a57ba2 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Tue, 23 Jul 2019 21:24:22 -0400 Subject: [PATCH] Fix usecalllist = false --- iCameraPane.java | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 56 insertions(+), 3 deletions(-) diff --git a/iCameraPane.java b/iCameraPane.java index 0ecb003..6f9063a 100644 --- a/iCameraPane.java +++ b/iCameraPane.java @@ -24,7 +24,7 @@ boolean IsFrozen(); - javax.media.opengl.GL GetGL(); + javax.media.opengl.GL GetGL0(); // Currently in Globals int DrawMode(); @@ -42,6 +42,8 @@ Camera ManipCamera(); Camera RenderCamera(); + boolean SetCamera(Camera c); + cVector TargetLookAt(); // Should be cMaterial @@ -53,12 +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