Archived

This topic is now archived and is closed to further replies.

Yet Another Q3 Renderer Question

This topic is 5576 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 was wondering how i am meant to interpret the control points which share points with patches next to them a diagram or very good explenation would be help full, thanx (btw, i have the single patches working just not the 2+ side-by-side ones) special thanx to derilect@turbonet.com for the BiQuadratic Patch Class

Share this post


Link to post
Share on other sites
Ok. Say you have an M x N array of control points. It will be something like 5x3 or 9x7. I'll use a 5x3 example. What you want to do is use the first 3x3 section to create the first patch, and then use the last column from the first patch, along with the remaining two columns, for the second patch. Graphically, it would look something like this.

(1   2   [3)   4   5]
(6 7 [8) 9 10]
(11 12 [13) 14 15]


So your first patch is the 3x3 grid
1  2  3
6 7 8
11 12 13


And your second patch is the 3x3 grid
3  4  5
8 9 10
13 14 15


Just render these individual patches as you normally do. With larger control point arrays (e.g. 9x7), you do essentially the same thing - break them up into 3x3 arrays.

Edit: Stupid formatting ...

[edited by - Martee on September 10, 2002 9:14:53 PM]

Share this post


Link to post
Share on other sites