forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to close hardware flipping and draw my model ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
shenfeid



Joined: 19 Aug 2009
Posts: 3

PostPosted: Wed Aug 19, 2009 6:12 pm    Post subject: how to close hardware flipping and draw my model ? Reply with quote

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
View user's profile Send private message
jsharrad



Joined: 20 Oct 2005
Posts: 102

PostPosted: Thu Aug 20, 2009 1:57 am    Post subject: Reply with quote

You can't. Use smaller triangles.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Aug 20, 2009 3:06 am    Post subject: Reply with quote

Also see http://forums.ps2dev.org/viewtopic.php?t=10104&highlight=clip
Back to top
View user's profile Send private message
shenfeid



Joined: 19 Aug 2009
Posts: 3

PostPosted: Thu Aug 20, 2009 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Aug 20, 2009 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group