aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2004-10-29 16:21:22 +0000
committerKevin Rushforth <[email protected]>2004-10-29 16:21:22 +0000
commita4461c4fe84cf7cfd29677b5073e8b9ea41c3a4a (patch)
tree30724a1d54d3d7045c10ecdb4ba6b479e3c0da43 /src/classes/share
parent2ce93668c57e29a6d2ea992f8675afdd0719c820 (diff)
Submitted by: mikofclassx
Reviewed by: kcr Added new j3d.transparentOffScreen flag to allow transparent (alpha = 0) backgrounds for off-screen Canvas3D rendering. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@64 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/MasterControl.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java
index 4818bd8..04cf953 100644
--- a/src/classes/share/javax/media/j3d/MasterControl.java
+++ b/src/classes/share/javax/media/j3d/MasterControl.java
@@ -87,6 +87,15 @@ class MasterControl {
*/
private UnorderList views = new UnorderList(1, View.class);
+
+ /**
+ * by MIK OF CLASSX
+ * the flag to indicate whether the background of the offscreen canvas must be transparent or not
+ * false by default
+ */
+ boolean transparentOffScreen = false;
+
+
/**
* the flag to indicate whether the geometry should be locked or not
*/
@@ -455,6 +464,10 @@ class MasterControl {
doCompaction = getBooleanProperty("j3d.docompaction", doCompaction,
"compaction");
+ // by MIK OF CLASSX
+ transparentOffScreen = getBooleanProperty("j3d.transparentOffScreen", transparentOffScreen,"transparent OffScreen");
+
+
sortShape3DBounds =
getBooleanProperty("j3d.sortShape3DBounds", sortShape3DBounds,
"Shape3D bounds enabled for transparency sorting",