[project1dev] Re: Project1 - SVN Update 19

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Mon, 6 Apr 2009 11:05:55 -0700

Yeah for sure,  as it turns out, overhead view games make great use of
frustum culling because since the world is horizontal but your camera is
viewing vertically, only a small amount of objects lie inside the "viewable
area" :P

i was thinking maybe we could use kent's machine as the minspec machine,
saying "if it runs on kents machine at 30fps, that's good enough"

Hey Kent do you know what kind of video card you have?  I think i have a
gforce4 something....

thanks for the numbers, we'll do a profiling run before too long on your
comp and figure out what the slow parts are for you on your machine (:
On Mon, Apr 6, 2009 at 10:41 AM, eric drewes <figarus@xxxxxxxxx> wrote:

> the bright side of all of this is that with a semi-fixed camera, there will
> be a limited frame of what displays which will help FPS, right?
> On Mon, Apr 6, 2009 at 1:35 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:
>> In the default view I get between 40-70 fps. If I zoom out it drops into
>> the 20s. If I switch to first person view I get between 60-80. V-sync does
>> not make any major differences.
>> With a little more testing I found that these numbers fluctuate within 10
>> fps. The lowest I saw was about 20 fps (overhead view zoomed out) and the
>> best was 90 fps and that was first person mostly looking at the ground
>> I could test it out more if you would like
>> On Sun, Apr 5, 2009 at 9:21 PM, Apache User <dhapache@xxxxxxxxxxxxxxxxxxx
>> > wrote:
>>> User:atrix256
>>> Message: Frustum culling added to make the game run faster! Basically
>>> this just means that whatever is on screen isn't drawn or animated any
>>> longer.
>>> In cavemap.lua it was tanking a little in the FPS with all the new models
>>> added for walls and rails for the mine carts.
>>> Here's the numbers on cavemap.lua from my machine:
>>> Without frustum culling - 99fps without vsync, 56-60fps with vsync.
>>> With frustum culling - 380-440fps without vsync, solid 60fps with vsync.
>>> As we move further, optimizations will be harder and harder to do, but
>>> this was a really low hanging fruit, and there are a few more left before
>>> it'll get difficult (:
>>> <Files Changed>
>>> U   ARDebug.exe
>>> U   ARRelease.exe
>>> U   AR_AnimModels.cpp
>>> U   AR_AnimModels.h
>>> U   Camera.cpp
>>> U   Scripts/alanmap.lua
>>> U   UI_Game.cpp
>>> U   camera.h

Other related posts: