Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Oct 19th, 2005, 5:34 AM   #1
tomwdrake
Newbie
 
tomwdrake's Avatar
 
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0 tomwdrake is on a distinguished road
3D Animation of Sqaure

Hey! No idea if this has already been covered on the forum somewhere - but I only joined yesturday and so thats possibly an excuse...?

Yes, anyway.. I was thinking of trying to produce a 3 dimentional animation of a rotating cube in java. Now I know you can produce simple geometric shapes on the canvas of the screen, so I imagine that you would have to use thses shapes to emulate 3 dimensions?

I have no idea really where to go from there. I can imagine that I'd have to set up soem variables that controll where each of the corners of the shapes move, and in someway control these variables in such a way that simulates 3D rotation...

I've spoke enough, can anyone help me on this?

Many thanks!
__________________
-----------------------------------------------------
________||| Tom |||_______
-----------------------------------------------------
tomwdrake is offline   Reply With Quote
Old Oct 19th, 2005, 6:22 AM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
you can use an api like opengl or direct3d, to produce 3d images/animations.
Polyphemus_ is offline   Reply With Quote
Old Oct 19th, 2005, 8:30 AM   #3
tomwdrake
Newbie
 
tomwdrake's Avatar
 
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0 tomwdrake is on a distinguished road
Question Hmmm

Quote:
Originally Posted by Polyphemus_
you can use an api like opengl or direct3d, to produce 3d images/animations.
Right.. I have no idea what an api is.. I understand that opengl and direct3d are things to do with graphics, but I have never worked with them before... Especially in java! Help!
__________________
-----------------------------------------------------
________||| Tom |||_______
-----------------------------------------------------
tomwdrake is offline   Reply With Quote
Old Oct 19th, 2005, 8:36 AM   #4
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
API stands Application Program Interface.
It is a set of routines provided in libraries that extends a language's functionality.

And DirectX is a set of low-level application programming interfaces (APIs) for creating high-performance multimedia applications.

Hope it helps.
ivan is offline   Reply With Quote
Old Oct 19th, 2005, 8:38 AM   #5
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
opengl is lower of level. If you are using java, you can also have a look at Java3D.
Polyphemus_ is offline   Reply With Quote
Old Oct 19th, 2005, 8:51 AM   #6
tomwdrake
Newbie
 
tomwdrake's Avatar
 
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0 tomwdrake is on a distinguished road
Thanks

Hmm.. ok, so how to I integrate these interfaces with my java code?
__________________
-----------------------------------------------------
________||| Tom |||_______
-----------------------------------------------------
tomwdrake is offline   Reply With Quote
Old Dec 4th, 2005, 11:46 AM   #7
annu_ashish
Newbie
 
Join Date: Dec 2005
Location: India
Posts: 1
Rep Power: 0 annu_ashish is on a distinguished road
You can learn the same thoroughly by visiting nehe.gamedev.net/
__________________
http://ashishkr165.tripod.com
annu_ashish is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:02 AM.

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