QUOTE(Elnendil @ Feb 6 2011, 12:34 AM)
QUOTE(Raijinili @ Feb 4 2011, 02:40 PM)
QUOTE(Elnendil @ Feb 4 2011, 01:08 PM)
No, didn't help either when we looked up commands because how the question was asked. Was something like "Make a cone with phi= pi/2 with a sphere over it that is sin(phi)". It might be that they asked it when i'm not fully understanding how to deal with three dimensional objects and the commands didn't specify anything like that. My only guess was that if the cone started at the origin, it had an angle of pi/2 and at some point it would end and the sphere would begin. Aside from that, it was a garbled mess. Was supposed to look like an ice cream cone. Fuck someone else came up with fucking Saturn.
A cone's formula is... x^2+y^2=z. A circle proportionate to the height. If you want it upside down you would negate the z. Scaling is done by multiplying z.
A sphere is x^2+y^2+z^2=R^2.
Then manipulate the variables (for example, replace x with (x-4) to move it in the POSITIVE x direction by 4) to put them in the right position.
You would also need to set the bounds.
So where does the phi=pi/2 come in?
Angle = pi/2.
That probably doesn't means angle from the axis of symmetry. So you need the cross-section through the axis be pi/4. S that means you have this:
CODE
\ | /
\|/ this angle right here is also pi/4 by complementarynism
V___
x^2 + y^2 is the radius, and z is the height. Since tan(pi/4) is = 1, that means that x^2+y^2 = z, with no scaling of z relative to x2+y2.