Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    8
  • comments
    23
  • views
    2589

Fun with spheres

Sign in to follow this  
dzz

125 views

So I have more or less picked some mechanics for my little puzzle game, and it involves moving balls around (impressive, eh?). Even such a trivial thing has its interesting points though.... I'll have to render a lot of different styles of spheres from arbitrary orientations, and I'd like them to look reasonably nice.


Time to crack out the algebra.


The first picture is just a rendered heightfield to show that my sphere intersections were working. The second one adds some phong shading, and the third one gets a little fancier.






Beyond that I started playing with some classic Perlin-style effects:






Eventually the idea is to streamline this so I can bash out renders of the balls very quickly. Next steps: work on that rendering including oversampling for anti-aliasing, and figure out a way to map textures onto spheres without distorting them (that's a head-scratcher for right now).


Beyond that, I downloaded the trial of Photoshop and I played with it a bit. I think I'll probably have to buy it, which is fairly painful, but learing photoshop is probably good for me anyway.



Sign in to follow this  


1 Comment


Recommended Comments

Looking very impressive so far, considering you're generating those nifty spheroids. :)

I'll definitely keep an eye on your journal to see how things continue to progress. I missed the opportunity to slide in a reply in the "greetings" post below, so I'll cleverly insert it here: welcome to Journal-Land!

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!