From cd87df088b1850ba0c90beb6c866c443e4eaf3b9 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sat, 08 Jun 2019 23:56:42 -0400 Subject: [PATCH] Fix shadow and bump issue. --- Grafreed.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Grafreed.java b/Grafreed.java index 95f44cd..f05fa38 100644 --- a/Grafreed.java +++ b/Grafreed.java @@ -23,6 +23,8 @@ static float epsvertex2 = 0.001f; static boolean linkUV = false; // not uniform at load time + static boolean smoothmode = false; + static Wav wav = new Wav("/Users/nbriere/0ut/wavs/monoformat"); // output"); static boolean hassound = false; static boolean savesound = false; @@ -41,7 +43,11 @@ static void Assert(boolean b) { if (!b) + { + b = !!b; new Exception().printStackTrace(); // assert(b); + + } } public void init() @@ -844,7 +850,7 @@ //Monitor mon=MonitorFactory.start("myFirstMonitor"); standAlone = true; grafreeD = new Grafreed(); - grafreeD.universe = new Composite(); + grafreeD.universe = new cGroup(); grafreeD.universe.name = "Grafreed"; grafreeD.universe.material = new cMaterial(); // theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE; -- Gitblit v1.6.2