Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (563)
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: Getting Started Help - Tutoritals Out of Date? on: 2006-07-16 06:03:52
Thanks kicklee.

Are there any updated tutorials that refer to the new(er) structure?  One tutorial specifically says it is not possible to directly create a GLCanvas, which makes me wonder how accurate the rest of the information is going to be.

Thanks!
2  Java Game APIs & Engines / JOGL Development / Getting Started Help - Tutoritals Out of Date? on: 2006-07-16 04:34:08
Hello all.

I have been following several tutorials to try and get started with JOGL but am finding that they are either very out of date or I download/installed something incorrectly.

I grabbed the latest "jogl.jar" and "jogl-natives-windows-i586.jar" from the JOGL homepage.  I loaded them into IntelliJ Idea and began coding one of the many Hello World examples.

My first conflict is the import statements.  The tutorials speak of "net.java.games.jogl", but Idea wants to import "javax.media.opengl" -- I looked in the jogl.jar file and the structure matches the latter, so I figured it had just changed.

However I run into another problem when I try to create my GLCanvas.  The tutorials tell me to do the following:
1  
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());

But there is no "createGLCanvas" to the GLDrawableFactory class.  Most perplexing.

Have things changed from the last tutorial updates, or did I install something incorrectly?

Thanks!
3  Java Game APIs & Engines / Xith3D Forums / Re: Newbie lighting question on: 2004-11-25 12:30:20
Many thanks rmdire.  The AmbientLight works exactly the way I want it to!  I seem to remember not trying that because of the description in my Java3D book... *sigh*  Roll Eyes

I was playing with DirectionalLight, but it caused a change in shading when I moved the scene.  Everything shows up nice and bright now with the AL though. *cheer*

Can you help me understand the values inside the Color3f for the AmbientLight.  I've been playing with them and have them all set to 10 right now, a good value for me during testing at least.  Is there a standard "norm" to these values if I want the images to appear with their natural color and luminance?

Thanks for your help!

Nick
4  Java Game APIs & Engines / Xith3D Forums / Newbie lighting question on: 2004-11-24 18:53:34
Hello all.

I just started using Xith3D, while looking for alternatives to Java3D (which, I also just started using along with 3D programming as a whole). Wink  Using the HelloXith3D code as a starting point, I added in a call to New Dawn Software's AC3D loader for a scene I had created earlier in the week.

The scene does load, but it is all dark!  I can see a black outline of everything on a dark-gray background... that's all. Sad

Do I need to add a light source somewhere?  Did I miss something in my code, or in the AC3D file?  All I'm concerned about now is a flood of light -- I don't want any shadows.

Thanks for any help!
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.

radar3301 (12 views)
2014-09-21 23:33:17

BurntPizza (29 views)
2014-09-21 02:42:18

BurntPizza (19 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (27 views)
2014-09-20 20:14:06

BurntPizza (31 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (102 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!