Patch Troubleshooter

From The DarkMod Wiki
Revision as of 12:47, 1 April 2008 by Fidcal (talk | contribs) (New page: ==Introduction== This article is about how to fix various errors and problems you might encounter with patches ==Patch alignment error== How do you deal with this problem where two curv...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

This article is about how to fix various errors and problems you might encounter with patches


Patch alignment 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)