aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/MasterControl.java27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java
index 23e1288..798d308 100644
--- a/src/classes/share/javax/media/j3d/MasterControl.java
+++ b/src/classes/share/javax/media/j3d/MasterControl.java
@@ -90,21 +90,26 @@ class MasterControl {
/**
* by MIK OF CLASSX
- * the flag to indicate whether the background of the offscreen canvas must be transparent or not
- * false by default
+ *
+ * the flag to indicate whether the background of the offscreen
+ * canvas must be transparent or not false by default
*/
boolean transparentOffScreen = false;
-
-
+ /**
+ * Flag to indicate whether Pbuffers are used for off-screen
+ * rendering; true by default. Set by the "j3d.usePbuffer"
+ * property, When this flag is set to false, Bitmap (Windows) or
+ * Pixmap (UNIX) rendering will be used
+ */
+ boolean usePbuffer = true;
/**
- * the flag to indicate whether should renderer view frustum culling be true.
+ * Flag to indicate whether should renderer view frustum culling is done;
* true by default.
+ * Set by the -Dj3d.viewFrustumCulling property, When this flag is
+ * set to false, the renderer view frustum culling is turned off.
*/
- // Set by the -Dj3d.viewFrustumCulling property, When this flag is
- // set to false, the renderer view frustum culling is turned off.
-
boolean viewFrustumCulling = true;
/**
@@ -476,7 +481,11 @@ class MasterControl {
"compaction");
// by MIK OF CLASSX
- transparentOffScreen = getBooleanProperty("j3d.transparentOffScreen", transparentOffScreen,"transparent OffScreen");
+ transparentOffScreen = getBooleanProperty("j3d.transparentOffScreen", transparentOffScreen, "transparent OffScreen");
+
+ usePbuffer = getBooleanProperty("j3d.usePbuffer",
+ usePbuffer,
+ "Off-screen Pbuffer");
viewFrustumCulling = getBooleanProperty("j3d.viewFrustumCulling", viewFrustumCulling,"View frustum culling in the renderer is");