![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0
![]() |
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 |||_______ ----------------------------------------------------- |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
you can use an api like opengl or direct3d, to produce 3d images/animations.
|
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0
![]() |
Quote:
![]()
__________________
----------------------------------------------------- ________||| Tom |||_______ ----------------------------------------------------- |
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
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. |
|
|
|
|
|
#5 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
opengl is lower of level. If you are using java, you can also have a look at Java3D.
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Oct 2005
Location: London
Posts: 25
Rep Power: 0
![]() |
Thanks
![]() Hmm.. ok, so how to I integrate these interfaces with my java code?
__________________
----------------------------------------------------- ________||| Tom |||_______ ----------------------------------------------------- |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Dec 2005
Location: India
Posts: 1
Rep Power: 0
![]() |
You can learn the same thoroughly by visiting nehe.gamedev.net/
__________________
http://ashishkr165.tripod.com |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|