Forum: Java
Jun 25th, 2008, 11:25 PM
|
|
Replies: 8
Views: 449
|
Forum: Java
Jun 22nd, 2008, 10:31 PM
|
|
Replies: 10
Views: 452
Re: 3d asteroids
WOW i feel retarded. ok so i found out the problem and i cant believe it was that easy. fist off the way that java3d is set up i really cant think of this in terms of the way i did for 2d...
|
Forum: Java
Jun 22nd, 2008, 9:34 PM
|
|
Replies: 10
Views: 452
Re: 3d asteroids
ill give it a shot and get back to you when all the code is set up. thanks for all your input
|
Forum: Java
Jun 22nd, 2008, 9:27 PM
|
|
Replies: 10
Views: 452
Re: 3d asteroids
still confused just because i need to get the x y z FROM roll pitch and yaw
|
Forum: Java
Jun 22nd, 2008, 9:06 PM
|
|
Replies: 10
Views: 452
Re: 3d asteroids
So if im reading this right, setEuler would take in something like
t3d.setEuler(new Vector3d(xTheta,yTheta,zTheta));
but then how do i go about moving one unit with that in place... or is that just...
|
Forum: Java
Jun 22nd, 2008, 8:52 PM
|
|
Replies: 10
Views: 452
Re: 3d asteroids
its not really about the rotating.. thats not a problem. i need to move the object one unit baised on its theta and pitch. theta being the rotate around the y axis and pitch being the rotate around...
|
Forum: Java
Jun 22nd, 2008, 2:51 AM
|
|
Replies: 2
Views: 280
Re: Need a little help with Rot13
yea, arrays have no real .toString() method. just the basic one that Object gives you and all that does is print out a memory address.
|
Forum: Java
Jun 22nd, 2008, 2:37 AM
|
|
Replies: 2
Views: 282
|
Forum: Java
Jun 22nd, 2008, 2:33 AM
|
|
Replies: 18
Views: 1,117
Re: 2-d graphics
k Eric, im going to trt to tackle as many problems as possible.
first, the "flicker problem."
what you need to do is create a buffered image. aquire a Graphics2D object that paints onto the buffered...
|
Forum: Java
Jun 22nd, 2008, 2:16 AM
|
|
Replies: 10
Views: 452
3d asteroids
Usually when making a 2d game where a sprite rotates with right and left a simple x y calculation of
x = Math.cos(theta)*SPEED;
y = Math.sin(theta)*SPEED;
now that im finally moving on to 3d java,...
|