Jump to content
  • Advertisement
Sign in to follow this  
haubi

tricky 3D question

This topic is 3618 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have a 3D ball in the middle of the lower 3D Quad. then the ball should jump to the quad above him. But how to handle that? The ball will jump but it will be inside the higher quad. I like to have that the ball is in front of the quad but then the ball should lands in the middle. I attached a picture. With a full orthographic cam this will be possible but with 3D ? Is there any possibility? Picture

Share this post


Link to post
Share on other sites
Advertisement
It sounds like you have geometry that you just want to always draw in front of other geometry, regardless of positioning. If that's the case, it's pretty simple to do: Draw the background geometry, clear the depth buffer, draw the foreground geometry. Of course, this will produce visually unrealistic results, but it sounds like that's what you want.

Share this post


Link to post
Share on other sites
I don't see how a sphere can climb, but if that is just a placeholder, then you will probably want to have some sort of skeletal/keyframe animation system. You could also use sprites, and do all the frames in the animation yourself, which is fine for very few and simple animations, but the trouble of writing a skeletal keyframe animation system easily pays for itself with many animations that are more than very very basic things.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!