Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (516)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
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 :-)

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

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]
 

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

The first screenshot will be displayed as a thumbnail.

TehJavaDev (33 views)
2014-10-27 03:28:38

TehJavaDev (26 views)
2014-10-27 03:27:51

DarkCart (41 views)
2014-10-26 19:37:11

Luminem (22 views)
2014-10-26 10:17:50

Luminem (27 views)
2014-10-26 10:14:04

theagentd (33 views)
2014-10-25 15:46:29

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

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

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

lcass (43 views)
2014-10-15 16:18:58
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!