Sign in to follow this  

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

This topic is 1195 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 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. 

 

 

 

Share this post


Link to post
Share on other sites


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?

Share this post


Link to post
Share on other sites

 


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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites


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?

Share this post


Link to post
Share on other sites

This topic is 1195 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.

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

Sign in to follow this