Talk:Draw a sphere

From Rosetta Code
Latest comment: 3 years ago by Gerard Schildberger in topic PureBasic image?

Task description

A “sphere cuboid”?? WTF… –Donal Fellows 10:57, 25 March 2011 (UTC)Reply[reply]

If I were fooled by the english meaning of that phrase, I would think that the task was to draw a regular cube. However, the image on the PureBasic implementation shows me that at least one person believes differently. --Rdm 16:46, 25 March 2011 (UTC)Reply[reply]

Sorry - That was a mispaste. It should just read "sphere".

Markhobley 17:17, 25 March 2011 (UTC)Reply[reply]

PureBasic image?

To my mere untrained Layman's eye, this does not look like a sphere. If anything, I'd say, it looks like a butt.Sgeier 16:37, 25 April 2011 (UTC)Reply[reply]

well, it says "animated".. so if you animate the butt, maybe it looks more like a sphere. would be nice if somebody could paste a better picture. --Oenone 12:58, 10 May 2011 (UTC)Reply[reply]
Once ya "see" the butt, then ya can't see anything else but the butt.     -- Gerard Schildberger (talk) 19:00, 1 January 2020 (UTC)Reply[reply]

Perspective??

I'm probably just missing something subtle here, but as far as I understand projective geometry, there's no "perspective" involved in rendering a sphere - it looks round no matter how it's projected, no? As opposed to a box that can be sheared or distorted in a number of entertaining ways. Right? Wrong? I'm scratching my head here ...Sgeier

Indeed. But there must be sufficient voodoo to make it not look like a flat circle or disk. Markhobley 22:11, 25 April 2011 (UTC)Reply[reply]

Or, you could do it at the PureBasic version. E.g. animate the drawing of the sphere and thereby make it more clear to the user that is is indeed a 3D object presented on the Screen --<Jofur> 05:28, 26 April 2011 (UTC)Reply[reply]

You could even use a wireframe mesh! Markhobley 14:00, 26 April 2011 (UTC)Reply[reply]

We all know that earth's moon is a sphere.   But because of the lighting (by our sun), it does not look round (except during a full moon), but rather, it looks/appears like a crescent most of the time.   I think that all most of the "ASCII-art" renderings are a depiction of a sphere using a light source (above and to the viewer's left). -- Gerard Schildberger 20:02, 12 April 2012 (UTC)Reply[reply]

... And for some perspective levity on the perspective of the perspective:

Without a light source, here are six views:   a front & back, top & bottom, left & right views of a small sphere against a light background:

•••••• 

-- Gerard Schildberger (talk) 16:47, 15 September 2017 (UTC)Reply[reply]