Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I know preparing mount points and the like. But what's the best way to prevent Z fighting with customizations close to moving parts like elbows and knees?

share|improve this question
    
What is the platform? OpenGL/DirectX or something else? –  Jonathan Fischoff Oct 27 '10 at 6:55
2  
Well this is mostly a general question of how to prepare 3d avatars for customizables most likely clothes like pants and long sleeves as those are the ones that are gonna be affected by animations most of the time due to being near the joints. –  Wight Oct 27 '10 at 7:45
add comment

1 Answer

Here are some ways to prevent z fighting.

  • Make the near and far planes close together and the space between clothing parts as far as possible.
  • Depending on the types of animations and the situation it might be possible to disable z testing/writing and rely on painters algorithm.
  • Write a screen capture app. Go through your characters and animations and have your artist adjust the animations if there are problems.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.