Jump to content
  • 0

How to get rid of unwanted artefacts in OpenGL?


sashen

Question

4 answers to this question

Recommended Posts

  • 0
  • Vectorworks, Inc Employee

This happens when you have two "coplanar" faces, or two faces that occupy exactly the same plane (or in this case, planes AND volume) in your model. This can be solved by lowering the wall heights and using peaks to match the bottom of that roof geometry, or by slicing the bottom of that roof geometry off such that it no longer occupies the same space as the wall.

OpenGL effectively doesn't know which face it should be showing, so it attempts to show both which results in this hatched look.

The lines are simply because you are in OpenGL with Draw Edges turned on, OpenGL is unable to combine surfaces like Hidden Line and some of the other render modes.

  • Like 1
Link to comment
  • 0
  • Vectorworks, Inc Employee

To take Jim's comment one step further. If this is a viewport presentation, use a stacked viewport. The "lower" viewport will be in OpenGL rendering with no edges, the "upper" viewport will be in HL. The texture artifacts at the gable walls can be fixed by reshaping the roof to be 0.01mm shorter.

  • Like 1
Link to comment
  • 0
On 11/14/2018 at 6:33 AM, Robert Anderson said:

To take Jim's comment one step further. If this is a viewport presentation, use a stacked viewport. The "lower" viewport will be in OpenGL rendering with no edges, the "upper" viewport will be in HL.

 

This could also be accomplished with one viewport by setting Background Render to OpenGL (and turning Edges off in Background Render Settings), and setting the Foreground Render to Hidden Line.

 

But on the Design Layer, you pretty much have to rectify the geometry or turn off Edges.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...