3DGS Web Plugin
What would be truly amazing would be a browser plugin allowing the streaming and viewing of content created with 3DGS. Think shockwave. But better since the content would have been created with 3DGS! It would open the market to thousands more customers and stop people like me searching for a separate application to create 3d web content
Posted By: chanwit
Re: 3DGS Web Plugin - 07/05/07 17:56
Hi Chewy Creations,
I'm now successfully binding Java with A6 engine.
As Java supports app deployment through Java Web Start (JWS), this could be possible to deploy 3DGS apps with it.
Anyway, I haven't tried to deploy my A6/Java app with JWS yet.
I found some difficulty in my development that a 3DGS engine can be loaded properly only when the executable is in the same folder as acknex.dll, but java.exe, which is needed to start Java apps, is in the JDK or JRE directory.
If this problem can be solved, Web deployment of 3DGS apps will be surely possible.
Cheers,
chanwit
Posted By: HeelX
Re: 3DGS Web Plugin - 07/05/07 18:05
Can you tell me a little more about this technique, since I am learning JAVA at university and I'm sure we won't touch this in the near future.
Posted By: chanwit
Re: 3DGS Web Plugin - 07/05/07 18:28
Yes sure HeelX,
I've created a JNI wrapper for acknex.dll, then I can develop a bootstrap application in Java, rather than in C++.
The technique to map necessary pointers from acknex.dll to Java is done via class DirectByteBuffer of Java NIO package.
But as I mentioned, the limitation now is that the bootstrap exe need to be in the same folder as acknex.dll to start a game. This is what I cannot figure it out.
Cheers,
chanwit
Posted By: chanwit
Re: 3DGS Web Plugin - 07/11/07 19:04
Hi again,
I've finally managed to run a 3DGS game thru the Web.
Get Java runtime from the following button:
then try the demo
here.
Posted By: HeelX
Re: 3DGS Web Plugin - 07/11/07 19:14
Uhm, it doesnt work. I download "Jack Demo", then I agree to your signature, but then I get the error that the application couldnt be started.
Posted By: chanwit
Re: 3DGS Web Plugin - 07/11/07 19:16
I configured this game to run with Java 6.
Could you try update the Java runtime?
Cheers,
chanwit
Posted By: HeelX
Re: 3DGS Web Plugin - 07/11/07 19:43
I have the JRE 6 and JDK 6 installed, I think, this is fine.
Posted By: chanwit
Re: 3DGS Web Plugin - 07/11/07 20:01
It's been tested on different machines, and both are running fine.
If you haven't got it run and see any error, could you please send me stack traces shown in the Java Web Start dialog?
Cheers,
chanwit
Posted By: Joey
Re: 3DGS Web Plugin - 07/11/07 20:17
doesn't work here. "Anwendung konnte nicht gestartet werden" or something like that.
joey.
Posted By: Dyc
Re: 3DGS Web Plugin - 07/11/07 21:26
works just fine.
Posted By: Joey
Re: 3DGS Web Plugin - 07/11/07 22:37
hab' mal unter details den fehler kopiert:
Code:
java.lang.reflect.InvocationTargetException
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.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: C:\Dokumente und Einstellungen\Johannes Bausch\Anwendungsdaten\Sun\Java\Deployment\cache\6.0\35\4051a3e3-72d3c2cc-n\bootstrap.dll: Diese Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacknex.Bootstrap.<clinit>(Bootstrap.java:8)
at com.jacknex.demo.Demo.main(Demo.java:40)
... 9 more
mfg, joey.
Posted By: chanwit
Re: 3DGS Web Plugin - 07/12/07 09:36
Hi Joe,
Thanks for your stack traces info.
In addition, which OS are you using and which version?
It seems that the Windows API I'm using is not compatible with yours Windows.
Cheers,
chanwit
Posted By: Joey
Re: 3DGS Web Plugin - 07/12/07 10:29
windows xp home edition with service pack 2.
Posted By: chanwit
Re: 3DGS Web Plugin - 07/12/07 16:31
Hi,
I've fixed and minimised DLL dependencies.
Please try it again.
Hey
I couldnt get your demo to work chanwit, I get the same exception as joey
But chanwit you deserve a medal! Keep it coming!!
Posted By: Joey
Re: 3DGS Web Plugin - 07/13/07 14:46
jetzt kommt:
Code:
java.lang.reflect.InvocationTargetException
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.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: C:\Dokumente und Einstellungen\Johannes Bausch\Anwendungsdaten\Sun\Java\Deployment\cache\6.0\35\4051a3e3-67b51201-n\bootstrap.dll: Diese Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacknex.Bootstrap.<clinit>(Bootstrap.java:8)
at com.jacknex.demo.Demo.main(Demo.java:40)
... 9 more
Posted By: HPW
Re: 3DGS Web Plugin - 07/13/07 20:29
same error here.
Chanwit, would it be possible for you to describe how you manage to get this to work? And also which os, runtime version etc. you are using so that we can all mimic this and get set for a new era of 3d web content!!!
Thanx chanwit
Posted By: chanwit
Re: 3DGS Web Plugin - 07/15/07 14:20
Hi,
It seems that you're running the old (cached) version of the game.
Could you all please run
"javaws -viewer" ; this will show the Java Web Start console, then you can delete the cached game, and please try the same URL again.
This should re-download and run the newly uploaded game.
chanwit
ps. Should we continue the discussion on this
thread?
Posted By: Nems
Re: 3DGS Web Plugin - 08/29/07 10:05
A 3D Forum please, like Atmosphere where users can both meet and make.
Posted By: Metal_Man
Re: 3DGS Web Plugin - 08/29/07 17:10
when I click your link I get redirected to 100webads.com
Posted By: chanwit
Re: 3DGS Web Plugin - 08/29/07 17:15
Quote:
when I click your link I get redirected to 100webads.com
You clicked on the old link. Sorry that I haven't configured the 404 page properly.
Please try the new demo here:
http://centillex.com/jack/demo2.jnlp
Posted By: chanwit
Re: 3DGS Web Plugin - 08/29/07 17:16
Hi Nemisis,
Yep, I'll be setting up a forum soon.
Thank for suggestion.
Cheers,
chanwit