Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
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 / using a DirectX file with jogl....? on: 2007-04-02 22:39:04
Hey everybody.
Here's the thing. (First of all just keep in mind that  i am still not well experienced with jogl but I manage, sorry  Undecided )
Anyway, I want to load a DirectX file and use it with jogl. Correct me if i am wrong but i figure that it's format is quite easier to parse than others (3ds for example).
So I want to make,let's say a model in Blender, export it in DirectX file and then use it in my jogl program.
(Again correct me if i have the wrong idea, but I don't know how else i could build more complex models in openGL or jogl for that matter. Of course, i'd like to hear any tips).
So I could start by building my own .X file reader and move on from there but maybe there's already something like that out there. I searched a bit but didn' find something....
Anything is welcome, tutorials, libraries, tips.
Thanks in advance for any help  Grin . (Sorry for being such a n00b   Embarrassed )
2  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-22 14:39:55
thanks again. it seems to work with no problem using both   " / "  or   " \ ".
3  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-22 12:45:40
Okey,thanks to your advice and some more searching for an example as simple as it comes i think i am finally getting closer to actually running something in jogl...yay  Embarrassed
anyway, i still got a problem, hopefully the final one before going deeper into this stuff.

i got an example that creates a very basic JOGL GLEventListener.
It compiles with no errors (thx again), but i go tthis run time error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path

I tried to correct this by adding:       -Djava.library.path=C:\Program Files\javalib\jogl-1_0_0-windows-i586\lib
in the run tab of the project at VM options.

yet i get another error:   

java.lang.NoClassDefFoundError: Files\javalib\jogl-1_0_0-windows-i586\lib


only this time i got no idea how to fix it.  Undecided

Also i am following the Java tutorials at java.sun.com/docs/books/tutorial/     in order to a grip of what's goin on around java  but i could use more that this (for example a good explanation on madules packets javadocs and stuff). 

Thanks again in advance for any help.

4  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-21 20:46:41
again you save me. I hope i will ask more content questions in the future if need be.
thanks a lot for bith patience and advice.


P.S. I must be blind to not see those zip files ....god.....
5  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-21 18:04:23
I have another probablly stupid question.

When i try to

import    com.sun.opengl.utils.Animator;

i get a 'package does not exist' error during compile. Net beans indicate also that i have not  Javadoc documentetion or haven't added specified javadoc in my java platform manager.

should i get some specific javadoc, or .jar file and install or is it something else? Maybe it is also outdated? in fact i am really confused as of where to get correct examples of code that works.

Sorry for being so inadequate in this, i just moved here from C, things were clearer to me there  Embarrassed
I am really trying to get a going here  Undecided

thanks for any help.
6  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-20 20:47:43
Enlightening! Thanks a lot mate!
7  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-20 19:06:02
great! thanks! i'll try it out asap and let ypu know if anything comes up.
thx a lot.


....got question though. is there a setting without using the module you linked? just asking out of curiosity.


(PS here, i found in many sites (outdated maybe) that i had to install the files in lib/ext and bin. Why is it that this is bad?)

thanks again
8  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-02-20 18:32:55
Ok guys, hey there, n00b talking.

I am sure this issue has been addressed like a million  times (and i see some far more serious questions aroud this thread)  but i'll risk asking here.
I have problems on setting JOGL.

I have winXP-32, JDK and JRE 1.6.0 installed and net beans 5.5
I have added my jdk bin path (normaly c:\program files\java\jdk1.6.0\bin) to the windows path.
I am now trying to set up jogl.

So i got

jogl.dll
jogl_cg.dll
jogl_awt.dll

copied in my bin folder and jogl.jar in lib/ext folder.
Now correct if i am wrong. at first i put them in the jre1.6.0 folders calles so, meaning:
..\jre1.6.0\bin       &
..\jre1.6.0\lib\ext

That didn't work for me, i got a compile time error:                         package net.java.games.jogl does not exist

I tried copying the files to other location like
..\jdk1.6.0\jre\bin     &
..\jdk1.6.0\jre\lib\ext
and even ..\jdk1.6.0\bin for the .dll(s) (just in case)

my "java.library.path" gives :
C:\Program Files\Java\jdk1.6.0\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Python24\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Java\jdk1.6.0\jre\bin


Oh i also tried to add the jogl.jar to the project in net beans as described in the help file : Working with Projects-->Standard Projects-->Managing the classpath.... nothing....

I know it must be something stupid that i do wrong or sth.... so plz can someone tell me.....what does this n00b do wrong?

Thank you in advance.
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.

pw (15 views)
2014-07-24 01:59:36

Riven (14 views)
2014-07-23 21:16:32

Riven (13 views)
2014-07-23 21:07:15

Riven (15 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (51 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!