Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (565)
Games in Android Showcase (152)
games submitted by our members
Games in WIP (607)
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 05: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 :-)


ian (I.J.Grimstead at
2  Java Game APIs & Engines / JOGL Development / JOGL port to SGI on: 2004-03-23 12: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/
Added "(os.startsWith("irix") && cpu.equals("mips")) ||" to support SGI

5/ 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!


3  Java Game APIs & Engines / JOGL Development / pbuffer with X11... on: 2004-03-23 12: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

GL_VERSION: 1.4.1 NVIDIA 53.28

glLoadTransposeMatrixfARB() supported: true
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...


Pages: [1]
Riven (10 views)
2015-04-01 18:27:05

ags1 (27 views)
2015-03-31 10:55:12

theagentd (13 views)
2015-03-27 23:08:20

wxwsk8er (54 views)
2015-03-20 15:39:46

Fairy Tailz (48 views)
2015-03-15 21:52:20

Olo (29 views)
2015-03-13 17:51:59

Olo (33 views)
2015-03-13 17:50:51

Olo (40 views)
2015-03-13 17:50:16

Olo (44 views)
2015-03-13 17:47:07

ClaasJG (61 views)
2015-03-10 11:36:42
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

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 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‑
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!