Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 dev_12   Members   -  Reputation: 112

Like
0Likes
Like

Posted 26 August 2014 - 08:22 AM

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. 

 

 

 



Sponsor:

#2 phil_t   Crossbones+   -  Reputation: 3948

Like
1Likes
Like

Posted 26 August 2014 - 12:58 PM

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



#3 Buckeye   Crossbones+   -  Reputation: 5698

Like
0Likes
Like

Posted 26 August 2014 - 03:17 PM


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.


#4 dev_12   Members   -  Reputation: 112

Like
0Likes
Like

Posted 03 September 2014 - 08:52 AM

near clip plane 0.1

far clip plane 10000.0



#5 dev_12   Members   -  Reputation: 112

Like
0Likes
Like

Posted 03 September 2014 - 08:53 AM

 


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



#6 Buckeye   Crossbones+   -  Reputation: 5698

Like
0Likes
Like

Posted 03 September 2014 - 09:46 AM

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.


#7 dev_12   Members   -  Reputation: 112

Like
0Likes
Like

Posted 03 September 2014 - 10:32 AM

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



#8 Buckeye   Crossbones+   -  Reputation: 5698

Like
0Likes
Like

Posted 03 September 2014 - 11:33 AM


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.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS