EFileTahi-A Posted December 5, 2011 Posted December 5, 2011 I would like to implement a 3D sphere to play an animated rotating planet for my game but using GDI+ ONLY. Since my math skills are next to zero, I definitely need to see an example. The problem is that I can't find any on the web. Is this too hard to be done with a texture? What about a an opaque wireframe version divided with vertical and horizontal circular lines? Quote
Leaders snarfblam Posted December 5, 2011 Leaders Posted December 5, 2011 GDI+ lacks the ability to distort images the way you would need to in order to draw textured 3D graphics with perspective. The wire-frame probably wouldn't be too difficult if you know the mathematics involved. You could either precalculate the vertices and rotate them using a matrix or calculate the rotated vertices on the fly. Then it's just a matter of connecting the dots. So how do you calculate the vertices? I don't know. I could sit down and work it out, but it would probably be simpler to find somebody who already knows, and who can give you an optimal solution. Quote [sIGPIC]e[/sIGPIC]
EFileTahi-A Posted January 13, 2012 Author Posted January 13, 2012 Sorry for the late response. Thank you anyway. I'm focused on other subjects at the moment. I will look into that again later on and if I find anything I'll post it over here. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.