
-----------------------------------
jiesima
Tue Dec 09, 2003 7:07 pm

draw a sphere
-----------------------------------
can anyone help me to draw a sphere with turing? please
please reply as soon as possible.

-----------------------------------
Tendulkar
Tue Dec 09, 2003 9:11 pm

Re: draw a sphere
-----------------------------------
Here is the program which i copied from this web site but then i modified it related to your question

-----------------------------------
Andy
Tue Dec 09, 2003 9:21 pm


-----------------------------------
ever heard of loops?and if you make the colors rotate, it'll look more realistic... i think

-----------------------------------
Tony
Tue Dec 09, 2003 9:24 pm


-----------------------------------
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)

-----------------------------------
juniorspank
Wed Dec 10, 2003 4:45 pm


-----------------------------------
I made sphere once... it wasn't as good as sphere as it was a drawfillbox...  :mrgreen:
