Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3054 Members - Latest Member: Ljustin770

11. February 2012, 11:06:48 AM
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)A big, FAT, bug
Pages: 1 [2]
Print
Author Topic: A big, FAT, bug  (Read 2781 times)
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #15 on: 27. April 2007, 09:37:58 PM »

Is this error reported for xith-tk or xith3d? This class is in xith3d. And if xith-tk dosn't have a correctly setup linkage with xith3d (for some reason), then this class will be unknown. The SVN trunk(s) should be correctly setup to be linked. Please make sure, this is the case for your copies.

Marvin
Logged
Skuggan
Enjoying the stay
*
Offline Offline

Posts: 33



View Profile WWW
« Reply #16 on: 27. April 2007, 10:39:58 PM »

Ahh... I just changed
Code:
canvas = Canvas3DFactory.createWindowed(OpenGLLayer.LWJGL,800,600,"Title!");

to:
Code:
canvas = Canvas3DFactory.createWindowed(OpenGLLayer.LWJGL_AWT,800,600,"Title!");

and now it registers my keyboard activities. That solves my problems I had in another thread.

//Skuggan
Logged

-----------------------------------
www.xbrix.com
www.forumsvibe.com/xbrix
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #17 on: 27. April 2007, 11:30:46 PM »

Quote
Is this error reported for xith-tk or xith3d? This class is in xith3d. And if xith-tk dosn't have a correctly setup linkage with xith3d (for some reason), then this class will be unknown. The SVN trunk(s) should be correctly setup to be linked. Please make sure, this is the case for your copies.
Actually, it's in my own project...Should I have xith3d and xith-tk added as "Class Folders", or as "A required project on the build path"?  More distinctly, would I add it from the "Projects" tab, or the "Libraries" tab?

One more thing, should they be checked or unchecked in the "Order and Export" tab?

Thanks in advance,
Kukanani
« Last Edit: 27. April 2007, 11:55:43 PM by kukanani » Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #18 on: 28. April 2007, 08:59:21 AM »

@Skuggan : yeah but isn't LWJGL slower with AWT ?
@Marvin : is LWJGL event impl working with you ?
@kukanani : I also had build problems, see http://www.xith.org/forum/index.php?topic=389.msg3293#new These were resolved by adding directly the project/libraries needed. In your case, I think you need to have both xith3d and xith-tk (while normally only xith-tk is needed, because it references xith3d) as _Projects_ and optionally other jars (which are in xith3d/xith-tk) as _Libraries_ (e.g. I needed to put openmali.jar and vecmath.jar in my classpath). Also, Eclipse throw these errors when you have wrong imports (don't ask me why) so double-check you're now using the openmali vecmath classes (org.openmali.vecmath instead of javax.vecmath). That worked for me. Please continue to provide feedback on how Eclipse is reacting : its behavior has been very strange for the last days...
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #19 on: 28. April 2007, 10:13:11 AM »

@Skuggan : yeah but isn't LWJGL slower with AWT ?

It's not for me. Though I would prefer native LWJGL over LWJGL_AWT.

@Marvin : is LWJGL event impl working with you ?

Yes, it is. I'm using LWJGL as my first-choice OpenGLLayer. And input is working perfectly.

Marvin
Logged
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #20 on: 28. April 2007, 01:51:52 PM »

I think I got it to work.  I added xith3d and xith-tk in "Projects" under Configure Build Path.  Under "Order and Export", the boxes for them are unchecked.  I stopped getting Eclipse errors (Hopefully for good!).  Thanks for the help, guys.
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #21 on: 28. April 2007, 03:03:54 PM »

Great !
Logged
Skuggan
Enjoying the stay
*
Offline Offline

Posts: 33



View Profile WWW
« Reply #22 on: 28. April 2007, 03:47:55 PM »

Amos: Actually its faster with AWT. 147 fps instead of 140fps but I will try to play around with different modes.
Anyhow I must ofcourse have keyboard support. Not much of a game if the only thing you can do is stare at the screen for an hour. Cheesy

//Skuggan
Logged

-----------------------------------
www.xbrix.com
www.forumsvibe.com/xbrix
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #23 on: 30. April 2007, 07:54:37 AM »

Amos: Actually its faster with AWT. 147 fps instead of 140fps but I will try to play around with different modes.
How surprising! Well, all the best for you.

Anyhow I must ofcourse have keyboard support. Not much of a game if the only thing you can do is stare at the screen for an hour. Cheesy
Well you could do a  real-time rendered movie..  Roll Eyes
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic