Results 1 to 6 of 6

Thread: How to make a Sphere or a Eliptical Sphere

  1. #1

    Thread Starter
    Hyperactive Member Q_Me's Avatar
    Join Date
    Dec 2001
    Posts
    327

    Thumbs up How to make a Sphere or a Eliptical Sphere

    This formula can be put into Excel or any other graphing program.


    The old "(h/(x^2))+(v/(y^2)) = 1" can be simplified to the following:

    V = Vertical Height
    H = Horizontal Width


    Y = sqrt(V-((V^2)(X^2)/(H^2)))
    53323737 15 743 313402 05 740313063. 17 15 4150 743 313402 05 140393403437 5203 743 30210.


  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Dynamic IQ eh?

    Mine's static.

    I think.


  3. #3
    Fanatic Member siyan's Avatar
    Join Date
    Jul 2001
    Location
    GOOOAAAAALLLLL!!!!!
    Posts
    869
    Mine is negative.

    So negative, in fact, that it underflowed.

    -C
    Unite, proletariat!

  4. #4
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    lol
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  5. #5

    Thread Starter
    Hyperactive Member Q_Me's Avatar
    Join Date
    Dec 2001
    Posts
    327
    Originally posted by siyan
    Mine is negative.

    So negative, in fact, that it underflowed.

    -C
    Good one.
    53323737 15 743 313402 05 740313063. 17 15 4150 743 313402 05 140393403437 5203 743 30210.


  6. #6
    Addicted Member
    Join Date
    Aug 2002
    Location
    London UK
    Posts
    255
    Well geometrically speaking, a sphere with centre (a, b, c) and radius r can be defined:
    VB Code:
    1. (x - a)[sup]2[/sup] + (y - b)[sup]2[/sup] + (z - c)[sup]2[/sup] < r[sup]2[/sup]

    Don't know if that helps at all...

    Oooh, a 3d ellipse centre (a, b, c) eccentricity e, might be something like this:
    VB Code:
    1. x[sup]2[/sup]/a[sup]2[/sup] + y[sup]2[/sup]/b[sup]2[/sup] + z[sup]2[/sup]/c[sup]2[/sup] < 1,
    2. where b[sup]2[/sup] = a[sup]2[/sup](1 - e[sup]2[/sup]) and e < 1

    Don't quote me on that but I think it's right(ish)...
    Last edited by A$$Bandit; Oct 31st, 2002 at 05:09 PM.
    Not at all related to sheep...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width