Normand Briere
2017-05-07 314b34423070cf127464da79a53cddf6b1c38587
Object3D.java
....@@ -935,7 +935,7 @@
935935
936936 public Object clone()
937937 {
938
- return GraphreeD.clone(this);
938
+ return GrafreeD.clone(this);
939939 }
940940
941941 Object3D copyExpand()
....@@ -1701,7 +1701,7 @@
17011701 Object3D o = new Object3D((clone?"Ge:":"Li:") + this.name);
17021702 o.bRep = transientrep;
17031703 if (clone)
1704
- o.bRep = (BoundaryRep) GraphreeD.clone(transientrep);
1704
+ o.bRep = (BoundaryRep) GrafreeD.clone(transientrep);
17051705 o.CreateMaterial();
17061706 o.SetAttributes(this, -1);
17071707 //parent
....@@ -1714,7 +1714,7 @@
17141714 Object3D o = new Object3D((clone?"Ge:":"Li:") + this.name);
17151715 o.bRep = bRep;
17161716 if (clone)
1717
- o.bRep = (BoundaryRep) GraphreeD.clone(bRep);
1717
+ o.bRep = (BoundaryRep) GrafreeD.clone(bRep);
17181718 o.CreateMaterial();
17191719 //o.overwriteThis(this, -1);
17201720 o.SetAttributes(this, -1);
....@@ -1756,7 +1756,7 @@
17561756 // {
17571757 // assert(bRep == null);
17581758 // Object3D o = new Object3D("Geometry:" + this.name);
1759
-// o.bRep = (BoundaryRep) GraphreeD.clone(transientrep);
1759
+// o.bRep = (BoundaryRep) GrafreeD.clone(transientrep);
17601760 // o.CreateMaterial();
17611761 // parent.addChild(o);
17621762 // }
....@@ -1765,7 +1765,7 @@
17651765 // {
17661766 // assert(transientrep == null);
17671767 // Object3D o = new Object3D("Geometry:" + this.name);
1768
-// o.bRep = (BoundaryRep) GraphreeD.clone(bRep);
1768
+// o.bRep = (BoundaryRep) GrafreeD.clone(bRep);
17691769 // o.CreateMaterial();
17701770 // parent.addChild(o);
17711771 // }
....@@ -3153,7 +3153,7 @@
31533153
31543154 BoundaryRep sup = bRep.support;
31553155 bRep.support = null;
3156
- BoundaryRep temprep = (BoundaryRep) GraphreeD.clone(bRep);
3156
+ BoundaryRep temprep = (BoundaryRep) GrafreeD.clone(bRep);
31573157 // bRep.SplitInTwo(onlyone); // thread...
31583158 temprep.SplitInTwo(reduction34, onlyone);
31593159 bRep = temprep;
....@@ -3677,7 +3677,7 @@
36773677 if (child == null)
36783678 continue;
36793679
3680
- if (GraphreeD.RENDERME > 0)
3680
+ if (GrafreeD.RENDERME > 0)
36813681 {
36823682 if (child instanceof Merge)
36833683 ((Merge)child).renderme();
....@@ -3828,7 +3828,7 @@
38283828 if (child == null)
38293829 continue;
38303830
3831
- if (GraphreeD.RENDERME > 0)
3831
+ if (GrafreeD.RENDERME > 0)
38323832 {
38333833 if (child instanceof Merge)
38343834 ((Merge)child).renderme();
....@@ -4023,7 +4023,7 @@
40234023 if (child == null)
40244024 continue;
40254025
4026
- if (GraphreeD.RENDERME > 0)
4026
+ if (GrafreeD.RENDERME > 0)
40274027 {
40284028 if (child instanceof Merge)
40294029 ((Merge)child).renderme();
....@@ -5519,7 +5519,9 @@
55195519 display.options2[2] = material.factor;
55205520
55215521 cColor.HSBtoRGB(material.color, material.modulation, 1, display.options3);
5522
- display.options3[3] = material.cameralight/0.2f;
5522
+ display.options4[0] = material.cameralight/0.2f;
5523
+ display.options4[1] = material.subsurface;
5524
+ display.options4[2] = material.sheen;
55235525
55245526 // if (display.CURRENTANTIALIAS > 0)
55255527 // display.options3[3] /= 4;
....@@ -5819,12 +5821,12 @@
58195821 if (!child.HasTransparency())
58205822 {
58215823 sel = root != null && root.selection != null && root.selection.indexOf(child) != -1;
5822
- // GraphreeD.tracein("draw ", child);
5824
+ // GrafreeD.tracein("draw ", child);
58235825 boolean wasblocked = blockdraw;
58245826 blockdraw = true;
58255827 child.draw(display, root, selected || sel, wasblocked || blocked); // || child.IsSelected());
58265828 blockdraw = false;
5827
- // GraphreeD.traceout("draw ", child);
5829
+ // GrafreeD.traceout("draw ", child);
58285830 }
58295831
58305832 release(i);
....@@ -8041,7 +8043,7 @@
80418043 {
80428044 assert(bRep != null);
80438045 if (!(support instanceof GenericJoint)) // support.bRep != null)
8044
- GraphreeD.Assert(support.bRep == bRep.support);
8046
+ GrafreeD.Assert(support.bRep == bRep.support);
80458047 }
80468048 else
80478049 {