How to render nxm Bezier Patches?
Hi all. I''ve gone through NeHe tutorial 29, which deals with 4x4 bezier patches. Now, I''ve been working on a Quake 3 .BSP map loader, and all the bezier patches are not 4x4...they''re usually arbitrary numbers, like 3x3 or 9x5. So, can anyone help me figure out how to string these together?
February 18, 2002 01:30 AM
Quake 3 uses Quadratic bezier patches, not cubic (which is what is used in the tutorial).
Wow, that actually helps a lot, because i just figured out that for odd numbers of control points you can just merge the patches:
(1 2 [3) 4 <5] 6 {7> 8 9}
Thanks AP!
(1 2 [3) 4 <5] 6 {7> 8 9}
Thanks AP!
Hey, as an aside, i got the quake map successfully loaded, with the bezier patches working and everything. It looks pretty cool =)
If anyone else runs into problems loading Quake 3 bezier patches, I can probably help =)
If anyone else runs into problems loading Quake 3 bezier patches, I can probably help =)
OK I''ll take you up on that offer of help.
1st: Did you ever figure out how to triangulate a polygon?
2nd: My renderer doesn''t touch the beziers yet. Just a CLUE as to where to start might e nice....
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
1st: Did you ever figure out how to triangulate a polygon?
2nd: My renderer doesn''t touch the beziers yet. Just a CLUE as to where to start might e nice....
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement