Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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: Announcing: joglutils project on: 2007-01-08 18:35:09
can you manupulate different parts of a loded object eg load a character and rotate its limbs with my own interpolation code
2  Java Game APIs & Engines / Xith3D Forums / loading and controling a chracter. on: 2006-12-28 23:02:12
Helo guys.

Need some help with loading and animating a character. Maybe im going about it all wrong but here is what i have so far.

Created a humanoid character in 3dmax  added bones ( head to toe ) exported as obj / ase (i have both files)
created a chracter class like the tankase example but when i run i get athis error:

Exception in thread "main" java.lang.IllegalArgumentException: This Node already has a parent.
        at org.xith3d.scenegraph.GroupNode.addChild(GroupNode.java:142)


the error id from this line

 Bone_Head.addChild((Node)nodes.get("Bone_Head"));

anyhelp will be appreciated. Is there anywhere i can get TUTORIAL on loading and controling individual parts of a model?
3  Java Game APIs & Engines / JOGL Development / Re: glut.glutSolidSphere(xxx,0.01,20,20); on: 2003-11-21 16:29:48
i love you guys................... thats was it.

Now  i have to figure out why its drawing only one ball

thnx!
4  Java Game APIs & Engines / JOGL Development / Re: glut.glutSolidSphere(xxx,0.01,20,20); on: 2003-11-21 04:23:20
now i get only one sphere then the window closes with these errors:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F83AED
Function=[Unknown.]
Library=C:\WINDOWS\System32\ntdll.dll
NOTE: We are unable to locate the function name symbol for the error
     just occurred. Please refer to release documentation for possible
     reason and solutions.
Current Java thread:
     at sun.misc.Unsafe.freeMemory(Native Method)
     at java.nio.DirectByteBuffer$Deallocator.run(DirectByteBuffer.java:69)
     at sun.misc.Cleaner.clean(Cleaner.java:123)
     at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:123)
Dynamic libraries:
0x00400000 - 0x00407000       C:\j2sdk1.4.2\bin\javaw.exe
0x77F50000 - 0x77FF7000       C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000       C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000       C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78086000       C:\WINDOWS\system32\RPCRT4.dll
0x77D40000 - 0x77DCC000       C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000       C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C63000       C:\WINDOWS\system32\MSVCRT.dll
0x76390000 - 0x763AC000       C:\WINDOWS\System32\IMM32.DLL
0x629C0000 - 0x629C8000       C:\WINDOWS\System32\LPK.DLL
0x72FA0000 - 0x72FFA000       C:\WINDOWS\System32\USP10.dll
0x08000000 - 0x08136000       C:\j2sdk1.4.2\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6C000       C:\WINDOWS\System32\WINMM.dll
0x10000000 - 0x10007000       C:\j2sdk1.4.2\jre\bin\hpi.dll
0x00830000 - 0x0083E000       C:\j2sdk1.4.2\jre\bin\verify.dll
0x00840000 - 0x00858000       C:\j2sdk1.4.2\jre\bin\java.dll
0x00860000 - 0x0086D000       C:\j2sdk1.4.2\jre\bin\zip.dll
0x02C50000 - 0x02D5A000       C:\j2sdk1.4.2\jre\bin\awt.dll
0x73000000 - 0x73023000       C:\WINDOWS\System32\WINSPOOL.DRV
0x771B0000 - 0x772D1000       C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA4000       C:\WINDOWS\System32\uxtheme.dll
0x02FD0000 - 0x03020000       C:\j2sdk1.4.2\jre\bin\fontmanager.dll
0x51000000 - 0x5104D000       C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000       C:\WINDOWS\System32\DCIMAN32.dll
0x5C000000 - 0x5C0C8000       C:\WINDOWS\System32\D3DIM700.DLL
0x07220000 - 0x072F4000       C:\WINDOWS\System32\nView.dll
0x70A70000 - 0x70AD5000       C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x77BC2000       C:\WINDOWS\system32\SHELL32.dll
0x76BF0000 - 0x76BFB000       C:\WINDOWS\System32\PSAPI.DLL
0x77C00000 - 0x77C07000       C:\WINDOWS\system32\VERSION.dll
0x5EDD0000 - 0x5EDEA000       C:\WINDOWS\System32\OLEPRO32.DLL
0x77120000 - 0x771AB000       C:\WINDOWS\system32\OLEAUT32.dll
0x71950000 - 0x71A34000       C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
0x77340000 - 0x773CB000       C:\WINDOWS\system32\comctl32.dll
0x74720000 - 0x74764000       C:\WINDOWS\System32\MSCTF.dll
0x074C0000 - 0x074EB000       C:\WINDOWS\System32\msctfime.ime
0x074F0000 - 0x074F5000       C:\j2sdk1.4.2\jre\bin\jawt.dll
0x07500000 - 0x07576000       C:\j2sdk1.4.2\jre\lib\ext\jogl.dll
0x5ED00000 - 0x5EDC6000       C:\WINDOWS\System32\OPENGL32.dll
0x68B20000 - 0x68B3E000       C:\WINDOWS\System32\GLU32.dll
0x69500000 - 0x698C1000       C:\WINDOWS\System32\nvoglnt.dll
0x605D0000 - 0x605D8000       C:\WINDOWS\System32\mslbui.dll
0x76C90000 - 0x76CB2000       C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000       C:\WINDOWS\system32\DBGHELP.dll
Heap at VM Abort:
Heap
def new generation   total 576K, used 16K [0x10010000, 0x100b0000, 0x104f0000)
 eden space 512K,   1% used [0x10010000, 0x100119e8, 0x10090000)
 from space 64K,  16% used [0x100a0000, 0x100a2940, 0x100b0000)
 to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation   total 1408K, used 374K [0x104f0000, 0x10650000, 0x14010000)
  the space 1408K,  26% used [0x104f0000, 0x1054db00, 0x1054dc00, 0x10650000)
compacting perm gen  total 4608K, used 4394K [0x14010000, 0x14490000, 0x18010000)
  the space 4608K,  95% used [0x14010000, 0x1445abf8, 0x1445ac00, 0x14490000)
heres the code im trying to run:
         gl.glColor3f(1.0f,1.0f,1.0f);

         quadric = new GLUquadric();
         glu.gluQuadricDrawStyle(quadric,glu.GLU_FILL);
           //gl.glBegin(GL.GL_POINTS);

           for(int j = 0,m = 0; j < ( balls.length/2 ); j+=2, m++){
             if(!gbs[m].getPick()){//if golfball has not been picked render it
               //gl.glVertex3f(gbs[m].Golf_Ball_XCor, gbs[m].Golf_Ball_YCor, 0.0f);
               gl.glTranslatef(gbs[m].Golf_Ball_XCor, gbs[m].Golf_Ball_YCor, 0.0f);
               glu.gluSphere(quadric, (double) gbs[m].radius, 20, 40);
               System.out.println(gbs[m].Golf_Ball_XCor+" "+ gbs[m].Golf_Ball_YCor);
             }
           }
         //gl.glEnd();
5  Java Game APIs & Engines / JOGL Development / glut.glutSolidSphere(xxx,0.01,20,20); on: 2003-11-20 22:14:50
people how exactly do impliment the glutsolidsphere() i keep getting a null pointer error.
6  Java Game APIs & Engines / JOGL Development / Art of illusion, jogl compliant? on: 2003-08-11 19:35:17
has anyone tried art of illusion? how compatible is it with jogl? will i need a loader for my models?
7  Java Game APIs & Engines / JOGL Development / Re: Shadow volume sweetness on: 2003-08-08 16:36:16
java cool dude
it's possible that  the shadow from your dinosuar is falling on the wrong side of the ball. Check your normals, you might have to renormalize them.
8  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 22:36:41
have you ever found your self doing something as dumb as trying to run an application without a "main" thanks aNT man, it runs just fine now.  Wink (i was losing it there for a while)
9  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 20:21:50
thanks alot aNt but i understand all that. i have run several of my java programs as well as tutorials but im trying to run the jogl triangle program and i am not sure how to configure the run tab:

package jogls;


/**
* <p>Title: simple triangle</p>
* <p>Description: java opengl triangle tutorial</p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: jujuencryption</p>
* @author not attributable
* @version 1.0
*/

import net.java.games.jogl.GLEventListener;
import net.java.games.jogl.GL;
import net.java.games.jogl.GLDrawable;
import net.java.games.jogl.DebugGL;


public class TestRenderer implements GLEventListener
{
   private GL              gl;
   private GLDrawable      glDrawable;

   public void init(GLDrawable drawable)
   {
       this.gl = drawable.getGL();
       this.glDrawable = drawable;

       drawable.setGL( new DebugGL(drawable.getGL() ));

       System.out.println("Init GL is " + gl.getClass().getName());
   }

   public void display(GLDrawable drawable)
   {
       gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT );
       gl.glLoadIdentity();

       gl.glColor3f(1.0f, 0.0f, 0.0f );

       gl.glBegin( GL.GL_TRIANGLES );
           gl.glVertex3f( 0.0f, 0.0f, 0.0f );
           gl.glVertex3f( 1.0f, 0.0f, 0.0f );
           gl.glVertex3f( 1.0f, 1.0f, 0.0f );
       gl.glEnd();
   }

   public void reshape(GLDrawable drawable, int x, int y, int width, int height)
   {
   }

   public void displayChanged(GLDrawable drawable, boolean modeChanged, boolean deviceChanged)
   {
   }

}


any idea?
10  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 01:53:35
when you click run  the properties dialog box opens up with the run tab selected. then what next
11  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 01:23:20
so if i get intelij or eclipse running you can help me?
12  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 00:53:56
- open JBuilder 9
- wait forever for it to load  
- File->New Project
- Name the Project 'anything u like'
- NEXT >
- JDK: i set this to 1.4.2
 - download and install JDK SDK 1.4.2. Then in jbuilder next to the JDK Field Path click the little '...' and add the JDK...
- Required Libraries TAB:
- ADD
- NEW
- Name: JOGL
- ADD
- Locate the JOGL.jar
- OK
- OK
- ADD
- NEW
- Name: JOGL-Xtras
- ADD
- Locate the JOGL-DEMOS-UTIL.jar
- OK
- OK
- In your Required Libraries TAB you should now have:
 JOGL
 JOGL-xtras
- JBuilder will save them paths within itself so u dont need to go adding them to JBuilder again. just to your projects. this is very hand if u ask me.
- NEXT >
- FINISH
- [Ctrl] N
----
and your off.. all jogl stuff is now at your command.
to test it all just simply: 'import' the jogl stuff should be in the auto compleat  

WHEN I TRY TO RUN THE PROJECT
THE PROJECT PROPERTIES DIALOG BOX POPS UP WITH THE RUN TAB SELECTED THEN WHAT? Embarrassed
13  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-07 00:02:59
yep
dlls in windows/system32
jar in jdk/jre/lib/ext
14  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-06 22:44:52
text pad up and running but............
C:\Documents and Settings\Owner\jbproject\joglDemos\src\TestRenderer.java:11: package net.java.games.jogl does not exist
import net.java.games.jogl.GLEventListener;
                          ^
C:\Documents and Settings\Owner\jbproject\joglDemos\src\TestRenderer.java:12: package net.java.games.jogl does not exist
import net.java.games.jogl.GL;
                          ^
C:\Documents and Settings\Owner\jbproject\joglDemos\src\TestRenderer.java:13: package net.java.games.jogl does not exist
import net.java.games.jogl.GLDrawable;
15  Java Game APIs & Engines / JOGL Development / Re: Sweeeeeeeeet JOGL on: 2003-08-06 20:00:01
thanks ill try that. But why system32 what about jre bin?
16  Java Game APIs & Engines / JOGL Development / Re: BEST IDE FOR JOGL? on: 2003-08-06 17:41:37
aNT
i tried running the triangle demo nothing happened can you plz give me a step by step tut on how you run your jogls. when you run the project do you run it as an applet application test opentool or how exactly.
17  Java Game APIs & Engines / JOGL Development / BEST IDE FOR JOGL? on: 2003-08-06 17:27:57
CAN ANY ONE TELL ME WHAT IDE IS BEST SUITED FOR JOGL? Im trying to use jbuilder 9 and its killing my brain cells! Angry
18  Java Game APIs & Engines / JOGL Development / Re: Sweeeeeeeeet JOGL on: 2003-08-06 16:30:13
what command do you use to compile and run jogl from the command line or what is the best ide to use? ive been trying to use jbuilder 9 personal i keep getting exception in main error? hlp plz Embarrassed
19  Java Game APIs & Engines / JOGL Development / Re: jawt and jogl install on: 2003-08-03 17:19:35
i followed all the insructions here, when i compile the triangles tutorial i dont get any errors but when i run it nothing happens. im using jbuilder n a win xp hme ed ihave the jars and dll and the new jdk any help  Huh
i get this exception in main error!
20  Java Game APIs & Engines / JOGL Development / Re: jbuilder jogl...........help on: 2003-08-03 17:08:03
i have these in place already. im having trouble with the run configuration(the run project button) im not sure how to configure it. applet, application ?  :-/
21  Java Game APIs & Engines / JOGL Development / Re: jbuilder jogl...........help on: 2003-08-03 05:40:20
thanks, i dont have any errors any more when i compile but when i run it nothing happens. no error message, nothing. perhaps im just not familiar with jbuilder, Huh any one know how to run any of the demos? or the triangles tutorial?
22  Java Game APIs & Engines / JOGL Development / jbuilder jogl...........help on: 2003-08-01 17:14:55
people another novice here!

winxp Home ed, p4, 2.6ghz, nvidia gf4, 1gig ram

jbuilder9 personal j2sdk1.4.2

now where do i install the  
1 jogl.jar
2 jogl.dll
3 jogl_cg.dll
4 ant 1.5
5 antlr 2.72
then how do i run the demos from jbuilder or cant i? i tried following the instructions here but i got lost;
23  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2003-08-01 01:00:41
people another novice here!

winxp Hed p4 2.6ghz nvidiagf4
jbuilder9 personal j2sdk1.4.

now where do i install the
1 jogl.jar
2 jogl.dll
3 jogl_cg.dll
4 ant 1.5
5 antlr 2.72
then how do i run the demos from jbuilder or cant i? i tried following the instructions here but i got lost;
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 (7 views)
2014-07-24 01:59:36

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

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

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

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

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

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

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

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

Riven (49 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!