Computer Science Canada draw a sphere |
Author: | jiesima [ Tue Dec 09, 2003 7:07 pm ] |
Post subject: | draw a sphere |
can anyone help me to draw a sphere with turing? please please reply as soon as possible. |
Author: | Tendulkar [ Tue Dec 09, 2003 9:11 pm ] |
Post subject: | Re: draw a sphere |
Here is the program which i copied from this web site but then i modified it related to your question |
Author: | Andy [ Tue Dec 09, 2003 9:21 pm ] |
Post subject: | |
ever heard of loops?and if you make the colors rotate, it'll look more realistic... i think |
Author: | Tony [ Tue Dec 09, 2003 9:24 pm ] |
Post subject: | |
what you do is you use two forloops (one for horizontal and one for vertical). Draw your arcs using gradient RGB values (light on top, dark on bottom) and then another layer (light on left dark on right). When doing 2nd layer, you'd have to use coloring technique similar to Photoshop's Multiply. That should shade your sphere nicely 8) |
Author: | juniorspank [ Wed Dec 10, 2003 4:45 pm ] |
Post subject: | |
I made sphere once... it wasn't as good as sphere as it was a drawfillbox... ![]() |