Help with spheres

BlitzMax Forums/BlitzMax Beginners Area/Help with spheres

jkrankie(Posted 2006) [#1]
Hi there,

I'm trying to create a sphere that i can rotate around. I think i'm heading in the right direction but i've hit a wall of sorts. The program is not drawing a sphere but an oval.

If anyone knows whats going wrong then let me know.




Cheers
Charlie


smilertoo(Posted 2006) [#2]
try setting the drawoval using only the height variable, by using the width as well youre stretching it.


jkrankie(Posted 2006) [#3]
sorry, i don't understand what you mean. Could you explain.

Cheers
Charlie


H&K(Posted 2006) [#4]
@Smiler,

Thats what I thought until I actualy read the whole code

@jk,

Smiler made a mistake.


jkrankie(Posted 2006) [#5]
No one has a clue on this then?

Cheers
Charlie


Jesse(Posted 2006) [#6]
I don't understand the 3d math so I can't really help you that way but I hope this program can help you: