Normand Briere
2019-06-26 89b25e7cc97f6fe221dfd41c4d463500f8a31bc1
iCameraPane.java
....@@ -24,7 +24,7 @@
2424
2525 boolean IsFrozen();
2626
27
- javax.media.opengl.GL GetGL();
27
+ javax.media.opengl.GL GetGL0();
2828
2929 // Currently in Globals
3030 int DrawMode();
....@@ -42,6 +42,8 @@
4242 Camera ManipCamera();
4343 Camera RenderCamera();
4444
45
+ boolean SetCamera(Camera c);
46
+
4547 cVector TargetLookAt();
4648
4749 // Should be cMaterial
....@@ -53,12 +55,63 @@
5355
5456 void DrawString(Object3D obj);
5557
56
- void BindTextures(cTexture tex, int resolution);
57
- void ReleaseTextures(cTexture tex);
58
+ //void BindTextures(cTexture tex, int resolution) throws Exception;
59
+ //void ReleaseTextures(cTexture tex);
60
+ void BindPigmentTexture(cTexture tex, int resolution) throws Exception;
61
+ void BindBumpTexture(cTexture tex, int resolution) throws Exception;
62
+ void ReleasePigmentTexture(cTexture tex);
63
+ void ReleaseBumpTexture(cTexture tex);
5864
5965 void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face);
6066
67
+ void DrawBox(cVector min, cVector max);
68
+
69
+ void DrawGeometry(BoundaryRep bRep, boolean flipV, boolean selectmode);
70
+
71
+ void DrawDynamicMesh(cMesh c);
72
+
73
+ void StartTriangles();
74
+ void EndTriangles();
75
+
76
+ int GenList();
77
+ void NewList(int id);
78
+ void CallList(int id);
79
+ void EndList();
80
+
81
+ void NextIndex();
82
+
6183 void DrawParticles(TriMesh geo, Object3D shape, boolean selected, boolean rotate);
6284
6385 void PrepOcclusion(BoundaryRep br, double[][] transform);
86
+
87
+ void setCursor(java.awt.Cursor cursor);
88
+
89
+ com.sun.opengl.util.texture.TextureData GetTextureData(String tex, boolean bump, int resolution) throws Exception;
90
+
91
+ void repaint();
92
+
93
+ void processKeyEvent(java.awt.event.KeyEvent e);
94
+
95
+ void keyPressed(int key);
96
+
97
+ // For scripts
98
+ void ToggleLive();
99
+ void ToggleFrustum();
100
+ void ToggleTexture();
101
+ void ToggleBoxMode();
102
+ void ToggleSupport();
103
+ void ToggleSlowPose();
104
+ void ToggleAbort();
105
+ void ToggleFast();
106
+ void ToggleOeilOnce();
107
+ void ToggleOeil();
108
+ void ToggleTrackOnce();
109
+ void ToggleTrack();
110
+ void ToggleShadowTrack();
111
+ void ToggleInertia();
112
+ void ToggleSmoothFocus();
113
+ void ToggleImageFlip();
114
+ void ToggleSpeakerFocus();
115
+ void ToggleSpeakerCamera();
116
+ void ToggleSpeakerMocap();
64117 }