| View previous topic :: View next topic |
| Author |
Message |
shenfeid
Joined: 19 Aug 2009 Posts: 3
|
Posted: Wed Aug 19, 2009 6:12 pm Post subject: how to close hardware flipping and draw my model ? |
|
|
Recently there's a large problem in my project.
Perhaps some triangle patchs of "ROAD" is too large in my model of scene,they are filpped by hardware(i think) sometime and can't be drawn when a majority part of them is not in viewport and other part is in.
But it 's error.
So i want to ask how to close hardware flipping or other solutions? |
|
| Back to top |
|
 |
jsharrad
Joined: 20 Oct 2005 Posts: 102
|
Posted: Thu Aug 20, 2009 1:57 am Post subject: |
|
|
| You can't. Use smaller triangles. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
|
| Back to top |
|
 |
shenfeid
Joined: 19 Aug 2009 Posts: 3
|
Posted: Thu Aug 20, 2009 1:17 pm Post subject: |
|
|
omg!I think I known what i should do...
I must detect each triangle and add one or two vertices per triangle that half is in and half is out ...?
And texture uv will be recomputed...
So much will be done...
oh.......
by the way,thx... |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Aug 20, 2009 1:41 pm Post subject: |
|
|
| It's called tessellation, and you'll find many wonderful articles about it on the web. It's been around for a LONG time. It's one of those topics any 3D programmer should already know. :) |
|
| Back to top |
|
 |
|