Not able to see lines properly on target board having concentric three ring

Started by
6 comments, last by Buckeye 9 years, 7 months ago

Hi

i am using one target board having three concentric rings placed at 1200 m from observer. Target board is moving from left to right. while target board moving lines are flickering but in static condition lines appears ok. Where is the problem.

Advertisement

Can you provide a screenshot and point to where the flickering lines would be. And describe how you are drawing the target board.


describe how you are drawing the target board.

phil_t asks an excellent question. For instance, if you are drawing the rings on the target board without disabling depth writing, you are likely seeing "z-fighting:" two or more objects rendered at approximately the same distance from the view point. That is also affected by your near- and far-plane settings in your projection matrix.

What values are you using for near- and far-plane settings?

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

near clip plane 0.1

far clip plane 10000.0


describe how you are drawing the target board.

phil_t asks an excellent question. For instance, if you are drawing the rings on the target board without disabling depth writing, you are likely seeing "z-fighting:" two or more objects rendered at approximately the same distance from the view point. That is also affected by your near- and far-plane settings in your projection matrix.

What values are you using for near- and far-plane settings?

Near clip Plane 0.1

Far clip plane 10000.0

You didn't describe how you render the target, which is likely more important. It may or may not be a z-fighting issue.

Consider: at this point, your post is "I draw something and it flashes. What's wrong?"

That being said, your near/far ratio appears to be quite large for your needs. Make it as small as you can. I.e., if you need to "see" objects at 10000 units, do you really need to worry about objects as close as 0.1 units?

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

You didn't describe how you render the target, which is likely more important. It may or may not be a z-fighting issue.

Consider: at this point, your post is "I draw something and it flashes. What's wrong?"

That being said, your near/far ratio appears to be quite large for your needs. Make it as small as you can. I.e., if you need to "see" objects at 10000 units, do you really need to worry about objects as close as 0.1 units?

using D3DXLoadMeshFromX to load .x file in directx 9.0. I checked with near and far clip settings but no improvement


using D3DXLoadMeshFromX to load .x file in directx 9.0. I checked with near and far clip settings but no improvement

Trying to help you here, dev_12, but you seem reluctant to provide any of the information asked for. Help others help you. You MUST provide more information. The problem you're having is still "I draw something and it's not right. [later] I checked some values and it didn't help."

Can you provide a screenshot?

(for the third time) How do you draw the object?

Are the "rings" part of the object's texture, or are they drawn separately?

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

This topic is closed to new replies.

Advertisement