PDA

View Full Version : 3D rolling ball for billiards game.



cg_sanz
September 16th, 2006, 05:57 AM
Hi,

I am making a 2D billiards game with flash 8, but I want that the balls have a 3D aspect.
I have proven to prerenderer images from 3DMax, but they make too many frames 360x360x360… In addition I have been with the famous problem of the Gimbal-Lock.
So I decided to do it in 3D. And after solving the ****ing Gimbal-Lock, I have found the painted ball problem. If you zoom the movie, you can see that does not finish painting the lines well…

It's possible to use curveTo() instead of moveTo() so that it is left an aspect more rounded.

I attached the source code of the ball rotating in 3D. (you use the arrow keys to move it).

Thank you very much and pardon by my English…
I hope that you can help me.
Bytes!

cg_sanz
October 8th, 2006, 03:26 PM
Help me please!!! :jail:


Hi,

I am making a 2D billiards game with flash 8, but I want that the balls have a 3D aspect.
I have proven to prerenderer images from 3DMax, but they make too many frames 360x360x360… In addition I have been with the famous problem of the Gimbal-Lock.
So I decided to do it in 3D. And after solving the ****ing Gimbal-Lock, I have found the painted ball problem. If you zoom the movie, you can see that does not finish painting the lines well…

It's possible to use curveTo() instead of moveTo() so that it is left an aspect more rounded.

I attached the source code of the ball rotating in 3D. (you use the arrow keys to move it).

Thank you very much and pardon by my English…
I hope that you can help me.
Bytes!

InfestedDemon
October 12th, 2006, 02:49 PM
Have you tried scaling down the balls then not using all the frames, or drawing it in 2d and adding dynamic like lighting to make it look 3d?