Doh, and small improvements

Published March 21, 2006
Advertisement
Doh: the 1/2 pixel differences was due to me using a rotate for my own renderer, but not on the OpenGL version. So that's fixed :D

A few small improvements have been made: a TnL cache that can cache the last few vertices. This seemed to have a small improvement in my test cases, but nothing really big. This is more or less what I expected, since I'm using flatshaded models, which obviously don't repeat stuff. It did increase the speed a bit if I used models with non-flatshaded normals (but these looked like shit).

I'll be adding code to calculate normals on the fly, and see if that gains me anything with respect to the original version.

Still need to look at the matrix stuff, so I'm slowly learning some ASM.

During that I did a quick test to see if there was any difference in ASM between functions written my fixed point class (with operator overloads and whatnot) and my fixed point typedef + helper functions. None!, so I'll now happily convert everything to use the class, since it obviously makes the code much clearer.

I'm starting to switch to a new testcase which draws 4 cubes instead of one. The FPS dropped to 1/4 of what it was, which is mostly to be expected, but was still a little bit disappointing, as I had hoped it would drop slightly less.
Previous Entry Almost there ...
Next Entry Daedalus progress
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

OpenGL 3.0

1267 views

Awesome app idea

1206 views

Thoughts

1230 views

4e5 #1

1242 views

Daedalus progress

1101 views

Almost there ...

1076 views

GBA Renderer

1135 views
Advertisement