Ok compiled everything again using the -source1.4 command line (I’m using Tiger), now everything should be fine.
I even wrote a little function to check for VS and PS availibility…
Ok what would you guys like to see next?
I tweaked the celshading demo a bit and now it runs 300% faster (almost as fast as while idling) while rotating
Indeed. Seems to run at at least 300fps on OSX even under less than ideal circumstances.
The phong demo still does nothing for me…a blank window comes up then nada, my mozilla download manager says nothing is coming down the line…want at see…really
can you post a jar with source and images…to many items to manually copy…please : :
I took down the phong demo since I’ve got to tweak it a lot more before anything is made public, sorry for the inconvenience.
To download the source files and other binaries, go right here
inconveinience?? ??? Ha Ha never look gift code in the mouth…err something like that.
Saw your source dirs earlier was wondering if it twer all neatly zipped somewhere…the cutting…the pasting…oh me ach’in mouse…I am lazy I was hoping to grab it all at once.
Is all cool stuff…hope you realize that at some point we expect you to write some at least minimal tut’s to explain some of this coolness…
What/where are things like FragmentProgram or VertexProgram defined?? ???
found the vertex/fragment program code…are these things thta will eventually endup in the main xith3d source?? ???
I submitted a better version to Yuri, we’ll see what he can do about it
I confirm I got the Programmable Shaders code from JCD, and will try to integrate it nearest days.
Yuri
Phong lighting uploaded again.
I guess a lot of you will like my DemoStatus class that displays messages about events accuring before the demo starts:)
PS: Can anyone with a PS & VS capable graphic card confirm this demo is working?
PS2: w00t over 3000 views
JCD, for the phong demo I get an error after picking the display resolution:
[quote]Math/FastTrig (Unsupported major.minor version 49.0)
[/quote]
The stack trace:
[quote]java.lang.UnsupportedClassVersionError: Math/FastTrig (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.access$100(Unknown Source)
at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at GeoUtils.ParticlesManager.modifyVectorSpeed(ParticlesManager.java:174)
at GeoUtils.ParticlesManager.<init>(ParticlesManager.java:88)
at SceneCreator.loadParticleSystem(SceneCreator.java:36)
at PhongLighting.scene(PhongLighting.java:139)
at PhongLighting.<init>(PhongLighting.java:95)
at PhongLighting.main(PhongLighting.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[/quote]
Oh f that s man I forgot to recompile the math class using the 1.4 JDK
Fixed
Hmmm, ok, now it starts to load up displaying all the initial messages, the last one i see is “Starting …” and then the screen turns into light grey and nothing happens.
I have a radeon 8500DV.
Greg confirmed the new upload works, try again please
Just tried again, and this is what i get:
http://ramses.ods.org/space/javagaming_forum/phongshot.jpg
How do i turn on the light?
;D
That’s exactly what I was getting when my demo failed to locate the media sometime ago.
It’s bizarre how it is working on both my computer and Greg’s and not yours…
I dunno man, just grab the code and files and try to run it locally…
PS: Don’t forget to get my xith3d.jar from the libs directory, it has more stuff than the current official release, you won’t regret the switch
Ok
I’ll give your code a shot to see if I can track the problem.