how to close hardware flipping and draw my model ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
shenfeid
Posts: 3
Joined: Wed Aug 19, 2009 5:53 pm

how to close hardware flipping and draw my model ?

Post by shenfeid »

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?
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

You can't. Use smaller triangles.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

shenfeid
Posts: 3
Joined: Wed Aug 19, 2009 5:53 pm

Post by shenfeid »

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...
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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. :)
Post Reply