Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (405)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: JOGL port to SGI on: 2004-03-26 06:38:58
build.xml is too big to send as a message here, unfortunately!

If anyone wants it, (or the full JOGL setup), just ping me an email. It's ~3.6Mb tar.gz, so it'll sneak through as an email without too many problems :-)

Cheers,

ian (I.J.Grimstead at cs.cardiff.ac.uk)
2  Java Game APIs & Engines / JOGL Development / JOGL port to SGI on: 2004-03-23 13:35:11
Hi all,

I've been tinkering with JOGL under IRIX, and I've got it working AFAIK (i.e. basic demos seem to be OK).

Hacks were...

1/ Add new rule to build.xml (I duplicated linux & removed the Cg support, as I'm using gcc). If anyone wants it, I'll ping it to them, no problem.

2/ RTLD_DEFAULT is required (not defined in SGI's dlfcn.h); rudely hacked this in as a temporary measure into /usr/include/dlfcn.h as #define RTLD_DEFAULT ( (void*) 0)
I'm unsure if this will come back to bite me w.r.t. JOGL, SGI man pages don't mention a null ptr... should put this tidly somewhere inside JOGL. It'll definitely bite me 'cos I have hacked a system header... :-)

3/ In jogl/src/native/jogl/JAWT_DrawingSurfaceInfo.c:
Changed "#elif defined(linux) || defined(__sun)" to "#elif defined(linux) || defined(__sun) || defined(__sgi)"
Added glXGetProcAddressARB by changing "#ifdef __sun" wrapper to "#if defined(__sun) || defined(__sgi)"

4/ Changed src/net/java/games/gluegen/StructLayout.java:
Added "(os.startsWith("irix") && cpu.equals("mips")) ||" to support SGI

5/ jogl.properties: set java.home.dir=/usr/java2 (otherwise we get set to /usr/java2/.. - and then fail to find any include subdirs)

6/ Biggie - don't forget to read the "Build" docs, as I missed the URL on the front page, and jollied off using ant-1.6 - BOOM! ant-1.5.2, works a treat.

Other than that, it's fairly simple. I'm assuming (ho ho) that the Solaris/Linux X11 code will work 100% without modification for an SGI...

Well, hope someone finds it useful!

Cheers,

Ian
3  Java Game APIs & Engines / JOGL Development / pbuffer with X11... on: 2004-03-23 13:24:20
Hi all,

I've been trying the various JOGL demos to test the pbuffer support under X11 - under Linux, AFAIK, the hwShadowmapsSimple should work.

but... just a blank window appears, no textual output. If I run (e.g.) the gears demo, it works a treat, and I get:

[jogl-demos]$ java -classpath ../jogl/build/jogl.jar:.  -Djava.library.path=../jogl/build/obj demos/gears/Gears

CANVAS GL IS: net.java.games.jogl.impl.x11.X11GLImpl
CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl
INIT GL IS: net.java.games.jogl.impl.x11.X11GLImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 420 Go/AGP/SSE2
GL_VERSION: 1.4.1 NVIDIA 53.28

glLoadTransposeMatrixfARB() supported: true
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 420 Go/AGP/SSE2
GL_VERSION: 1.4.1 NVIDIA 53.28

glLoadTransposeMatrixfARB() supported: true

Similar results seen with Solaris build (i.e. shadow mapping demo fails to produce anything, gears works fine). Any advice greatly appreciated. I'm looking to use pbuffers for off-screen rendering...

Cheers,

Ian
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (59 views)
2013-05-17 21:29:12

alaslipknot (68 views)
2013-05-16 21:24:48

gouessej (98 views)
2013-05-16 00:53:38

gouessej (95 views)
2013-05-16 00:17:58

theagentd (106 views)
2013-05-15 15:01:13

theagentd (97 views)
2013-05-15 15:00:54

StreetDoggy (143 views)
2013-05-14 15:56:26

kutucuk (165 views)
2013-05-12 17:10:36

kutucuk (164 views)
2013-05-12 15:36:09

UnluckyDevil (174 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.077 seconds with 21 queries.