Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here










 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > 3D

How To Create the 3D Object in Flash

Author: Sergey Kamenev | Email


Advertisement

Pic.4


On the pic.4 we can see the parallelogram in one of the points of the spere.
Sizes of the squares on any of the pictures do not equal to its size on the other pictures but
it does not matter for us. Let's name the left lower angle of the parallelogram by γ. Then:





h
cos β = ------,
sin γ

and γ we can find from this: tg γ is derivative of red ellipse on pic.1 in the point named by M.
Formula of this ellipse is:





x2y2
------ + ------ = 1,
a2R2

where R is the radius of the sphere. To find a, substitute co-ordinates of point M on plane for x and y in this formula
(let's name them (xm, ym),
we know them from (1)). So:





xm2ym2
------ + ------ = 1,
a2R2

and here is:




xm2R2
a2 = ------------,
R2 - ym2

Assuming that we know a (actually, it is enough to know a2):





            
/x2
y = R√1 -  ----,
a2








R x
tg γ = y' = -  ---------------------.






            
/x2
y = a21 -  ----
a2



| 1 | 2 | 3 | 4 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

2 users online