Patch Troubleshooter: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
Fidcal (talk | contribs)
Line 1: Line 1:
==Introduction==
==Introduction==
This article is about how to fix various errors and problems you might encounter with patches
This article is about how to fix various errors and problems you might encounter with patches. For general information about patches see [[Patches]]
 


==Patch alignment tessellation error==
==Patch alignment tessellation error==

Revision as of 13:00, 1 April 2008

Introduction

This article is about how to fix various errors and problems you might encounter with patches. For general information about patches see Patches

Patch alignment tessellation error

How do you deal with this problem where two curved patches will not align?

The problem is caused by the number of sections in each patch not matching, ie, it's the "Tesselation" of the patch curve. In many cases such as that one where you are matching up a cap or flat top curve with a vertical wall patch that bends, you will want to set them both to "Fixed Subdivisions"

  • Select one of the patches
  • Open the "Patch Inspector" by pressing "Shift+S"
  • Near the bottom check the box next to "Fixed Subdivisions"

(You should suddenly see the patch go somewhat "square")

  • Experiment cranking up the Horizontal or Vertical number until you get desired curvature
  • Repeat steps for the matching patch and set either Horizontal or Vertical to the same number.

(In the second patch it may not be the same Horizontal or Vertical, i.e. it could be the opposite)