realbasic-games
[Top] [All Lists]

cost of textures

To: RB Games <realbasic-games at lists dot realsoftware dot com>
Subject: cost of textures
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Mon, 31 May 2004 16:47:52 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
List-help: <mailto:realbasic-games-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Games <realbasic-games.lists.realsoftware.com>
List-post: <mailto:realbasic-games@lists.realsoftware.com>
If I have an empty scene, I get 350 fps (which is what I get with an empty Rb3DSpace). If a put a white cube in the middle, it slows down to about 340 fps. If I texture that cube, it goes to 320. Do those numbers sound right to people who are more experianced then me? Because to me, they sound a bit execive.
-10 fps for a measly cube!

Also, would it save me any time to do this:

glColor*()
glVertex*()
if lastColor <> thisColor then glColor*()
glVertex*()

instead of this:

glColor*()
glVertex*()
glColor*()
glVertex*()

Is that what OpenGL is doing anyway?
I bet doing this with glBindTexture() calls would save time, but what about glColor*() and glNormal*()?
Should I even spend the time to try any of these?

thanks

Asher

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>
  • cost of textures, Asher Dunn <=