ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
Re: [pygame] Fun with C modules
by Jan Ekholm other posts by this author
Dec 22 2001 9:03AM messages near this date
Re: [pygame] Fun with C modules | Re: [pygame] Fun with C modules
On Sat, 22 Dec 2001, Richard Jones wrote:

> So I can't _change_ the landscape, and now I understand why that doesn't 
> happen in games. Instead of stuffing my triangles into the octree, I just 
> stuffed them into a display list. Frame rate went up from 42fps to 88fps. 
> Without me converting any of the tris to tristrips.

You could have the landscape divided into, say, 16 pieces (4x4) and thus
have 16 lists. Then use some simplified culling code to only draw those
parts that are visible. Could save you some time. Or maybe not, I haven't
tried that yet, but I will do it for my terrain stuff.

-- 
                        "Bingeley bingeley beep!"
               -- The Personal Disorganizer, Terry Pratchett in Feet of Clay

____________________________________
pygame mailing list
pygame-users@[...].org
http://pygame.seul.org
Thread:
Richard Jones

Jan Ekholm
Pete Shinners
Jan Ekholm
Richard Jones
Richard Jones
Jan Ekholm
Pete Shinners
Richard Jones
Jan Ekholm
Richard Jones
Jan Ekholm
Leonardo Santagada
Pete Shinners
Richard Jones

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved