Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JIGL example  (Read 2662 times)
0 Members and 1 Guest are viewing this topic.
Offline croft

Junior Duke




Java, Java, Java


« Posted 2006-09-19 03:43:18 »

Over the next few weeks, I plan to create an adaptation of Xith that can run as a pure Java application in deployment environments where the JOGL native libraries are not accessible.  Please see the example applet and documentation that I wrote today:
http://earth.whoola.com:8080/space/jigl/

David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline bohdan

Junior Duke




Java-positive...


« Reply #1 - Posted 2006-09-19 07:29:59 »

It sounds to be (and looks as well, example..) something very interesting  Smiley!!!
Are there any brief benchmarks for that thing available in comparison to native libs?

It says on website "jGL 2.4 beta 3 has been released in May 22 2003."
It seems to be the last update, is it in development? 2003.. it would probably support OGL 1.3 maximum...

Anyhow, very interesting.

What you mean by adaptation? Would it be extra package to "..render.lwjgl.*" & "render.jsr231.*" ? Or it will really touch deeper?

Bohdan.
Offline CommanderKeith
« Reply #2 - Posted 2006-09-19 07:44:20 »

Looks good.

One thing:
"I created a prototype where Cyberspace is deployed as a signed applet with the native libraries installed on demand but this is less than satisfactory as it brings up a window requesting that the users grant the applet full access to their machines. The goal is to be able deploy Cyberspace as an unsigned applet and still have it run when the JOGL native libraries are not pre-installed. "

Didn't Ken Russel say in another thread that you can ditribute a JOGL applet unsigned by using the Sun-signed JOGL natives which don't prompt the user with a security dialogue?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline c_lilian

Senior Duke


Projects: 1


Java games will probably rock someday...


« Reply #3 - Posted 2006-09-19 08:38:46 »


Didn't Ken Russel say in another thread that you can ditribute a JOGL applet unsigned by using the Sun-signed JOGL natives which don't prompt the user with a security dialogue?

Not exactly : the security warning is still there, but only for the first time you encounter a JOGL applet, and also, it's less scary as the signature is certified by a trusted signer.


Lilian Smiley

Offline thijs

Junior Duke




Lava games rock!


« Reply #4 - Posted 2006-09-19 10:10:23 »

Quote
Not exactly : the security warning is still there, but only for the first time you encounter a JOGL applet, and also, it's less scary as the signature is certified by a trusted signer.

Well there's a workaround... A while ago I made a loader for jogl (together with user bruno) that loads the signed part at runtime.
It boots without any security warning until you switch to hardware rendering ingame (it defaults to software rendering), then it will popup the security window. If the user doesnt accept it you continue to use the software renderer...

You can still check out a demo that uses the loader here:
http://dzzd.net/demo/QUAKE/

<a href="http://www.dzzd.net">3DzzD!</a>
<a href="http://www.arcazoid.com">Arcazoid!</a>
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #5 - Posted 2006-09-19 16:49:04 »

Great job croft !!  Smiley

However, the resulting anim seems a bit "jiggly"  Grin Is it due to the JGL implementation ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline bohdan

Junior Duke




Java-positive...


« Reply #6 - Posted 2006-09-19 21:31:27 »

However, the resulting anim seems a bit "jiggly"  Grin Is it due to the JGL implementation ?
Yep, I see the same too, BTW...
Offline croft

Junior Duke




Java, Java, Java


« Reply #7 - Posted 2006-09-20 03:29:50 »

It sounds to be (and looks as well, example..) something very interesting  Smiley!!!
Are there any brief benchmarks for that thing available in comparison to native libs?

It says on website "jGL 2.4 beta 3 has been released in May 22 2003."
It seems to be the last update, is it in development? 2003.. it would probably support OGL 1.3 maximum...

Anyhow, very interesting.

What you mean by adaptation? Would it be extra package to "..render.lwjgl.*" & "render.jsr231.*" ? Or it will really touch deeper?

Bohdan.

I do not know of any benchmarks.

I am hoping that the adaptation will require no more than adding a few lines to one of the classes in render.jsr231.

David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline croft

Junior Duke




Java, Java, Java


« Reply #8 - Posted 2006-09-20 03:31:58 »

However, the resulting anim seems a bit "jiggly"  Grin Is it due to the JGL implementation ?

I was incrementing the rotation values by random amounts each frame.  I updated the animation code to make it smoother:
http://earth.whoola.com:8080/space/jigl/

David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #9 - Posted 2006-09-20 13:43:45 »

However, the resulting anim seems a bit "jiggly"  Grin Is it due to the JGL implementation ?

I was incrementing the rotation values by random amounts each frame.  I updated the animation code to make it smoother:
http://earth.whoola.com:8080/space/jigl/
OK. Looks very cool now.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline croft

Junior Duke




Java, Java, Java


« Reply #10 - Posted 2006-09-22 02:59:30 »

I fixed a problem in the demo where jogl.jar was still signed.  This was causing it to present a security certificate on machines where it had not been approved before.  When I unsigned it, I discovered I also needed a wrapper interface and a pure Java implementation for class GLU.

It is now fixed and unsigned.  You can verify by flushing your cache of approved security certificates and then testing.  I also updated the documentation and created a file release.
http://earth.whoola.com:8080/space/jigl/
http://sourceforge.net/project/showfiles.php?group_id=114095

David Wallace Croft / www.CroftSoft.com / (214) 636-3790 m / Advanced Java Game Programming
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #11 - Posted 2006-09-22 14:43:29 »

I fixed a problem in the demo where jogl.jar was still signed.  This was causing it to present a security certificate on machines where it had not been approved before.  When I unsigned it, I discovered I also needed a wrapper interface and a pure Java implementation for class GLU.

It is now fixed and unsigned.  You can verify by flushing your cache of approved security certificates and then testing.  I also updated the documentation and created a file release.
http://earth.whoola.com:8080/space/jigl/
http://sourceforge.net/project/showfiles.php?group_id=114095
Works fine.
I must admit that if sometimes I find your code unreadable (surely I do not have enough knowledge) I nearly always find your things working...

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (36 views)
2014-10-17 03:59:02

Norakomi (28 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (27 views)
2014-10-15 16:18:58

TehJavaDev (52 views)
2014-10-14 00:39:48

TehJavaDev (54 views)
2014-10-14 00:35:47

TehJavaDev (42 views)
2014-10-14 00:32:37

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (77 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!