Interesting....if I run the program from the command line it works properly.
So I did some checking on how jbuilder is running the program and found the
invocation to be the same as I was doing from the command line with one
exception. So I created a batch file that does the same thing and fooled
with it. This is what I found:
--> THIS LOADS WORLD WITH BAD TEXTURES:
set path=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.3o\jre\bin
set java3d=c:\jdk1.3o\jre\lib\ext
set classpath=c:\jdk1.3o\lib
C:\jdk1.3o\jre\bin\java.exe -classpath
"C:\gamedev\classes;C:\jdk1.3o\jre\lib\ext\vecmath.jar;C:\jdk1.3o\jre\lib\ex
t\j3dcore.jar;C:\jdk1.3o\jre\lib\ext\j3dutils.jar;C:\jdk1.3o\jre\lib\ext\j3d
audio.jar;C:\jdk1.3o\jre\lib\ext\StarfireExt.jar;C:\jdk1.3o\jre\lib\rt.jar;C
:\jdk1.3o\jre\lib\i18n.jar;C:\jdk1.3o\lib\dt.jar;C:\jdk1.3o\lib\tools.jar" -
Xmx200m com.xith.client.engine.XithEngine
--> this loads WORLD WITH GOOD TEXTURES
set path=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.3o\jre\bin
set java3d=c:\jdk1.3o\jre\lib\ext
set classpath=c:\jdk1.3o\lib
java.exe -classpath
"C:\gamedev\classes;C:\jdk1.3o\jre\lib\ext\vecmath.jar;C:\jdk1.3o\jre\lib\ex
t\j3dcore.jar;C:\jdk1.3o\jre\lib\ext\j3dutils.jar;C:\jdk1.3o\jre\lib\ext\j3d
audio.jar;C:\jdk1.3o\jre\lib\ext\StarfireExt.jar;C:\jdk1.3o\jre\lib\rt.jar;C
:\jdk1.3o\jre\lib\i18n.jar;C:\jdk1.3o\lib\dt.jar;C:\jdk1.3o\lib\tools.jar" -
Xmx200m com.xith.client.engine.XithEngine
--> Notice the difference? The only difference is that the one what works
does not explicitly point to the java executeable. But given the path,
there should be no difference.
So now I am confused...
Dave Yazel
----- Original Message -----
From: David <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 12:00 PM
Subject: [JAVA3D] 1.2.1 beta Open GL issues
I have attached two screenshots. The only difference is the "light" one
(cosm14.jpg) is taken in 1.2 and the "dark" one (cosm16.jpg) is taken in
1.2.1. I see two major problems. Light enabled textures are appearing
extremely dark now. Other textures look ok. Transparency looks completely
broken from what I can see here.
Before I dig into this, are any of these the possible result of a known
problem? Or is it possible that a bug was fixed in this release that
previously I was "coding to"?
The material for the ground is :
Material m = new Material();
m.setLightingEnable(true);
m.setEmissiveColor(0.0f,0.0f,0.0f);
m.setAmbientColor(1.0f,1.0f,1.0f);
m.setDiffuseColor(0.20f,0.20f,0.20f);
m.setSpecularColor(0.7f,0.7f,0.7f);
organicTerrainMat = m;
The vertex colors are all at Color3f(0.5f,0.5f,0.5f).
The ambient light is at 80 percent
There is a yellowish directional light at 70 percent.
It could be that this combination should be dark, but looked good in 1.2.
But I would like confirmation that there was a change regarding color
calculations before I go changing things.
Sincerely,
Dave Yazel
Cosm Development Team
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".