Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 10 of 10
Search took 0.00 seconds; generated 2 minute(s) ago.
Search: Posts Made By: MGSneak
Forum: Java Jun 25th, 2008, 11:25 PM
Replies: 8
Views: 449
Posted By MGSneak
Re: How to store 5 numbers from a file into 5 seperate variables?

How do you use an array as in you dont know how it is structured, or how do you locate something in it?

im going to bank of the first so if that not what you were looking for sorry. in the examples...
Forum: Java Jun 22nd, 2008, 10:31 PM
Replies: 10
Views: 452
Posted By MGSneak
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
Posted By MGSneak
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
Posted By MGSneak
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
Posted By MGSneak
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
Posted By MGSneak
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
Posted By MGSneak
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
Posted By MGSneak
Re: Applets. Write to a file

There is actually a way to use streams on applets??
Forum: Java Jun 22nd, 2008, 2:33 AM
Replies: 18
Views: 1,117
Posted By MGSneak
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
Posted By MGSneak
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,...
Showing results 1 to 10 of 10

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC