kberg
2003.10.18, 08:00 PM
I've finished off a bunch of upgrades to the model loader class I released here about a year ago. Since it took you guys less then a week to punch holes in the previous version, I figured I would give it some time under public scrutiny before I bothered Johan with the new version.
So here it is http://www.sfu.ca/~kberg/Code/ObjLoader.tgz.
I would appreciate if anyone uses .obj files in their games try some of their models out, or trying the provided demo out on different video cards to make sure everything looks ok, or even looking over the code to make sure I didn't make any stupid mistakes or for any obvious optimisations.
I'm a bit iffy about the multipass lighting I use. I couldn't see any way to do the required effects using multitexturing. Also, the anti-aliased line stuff I used had problems on rage 128's, so there's a workaround for those cards built in.
Thanks for all the help...
So here it is http://www.sfu.ca/~kberg/Code/ObjLoader.tgz.
I would appreciate if anyone uses .obj files in their games try some of their models out, or trying the provided demo out on different video cards to make sure everything looks ok, or even looking over the code to make sure I didn't make any stupid mistakes or for any obvious optimisations.
I'm a bit iffy about the multipass lighting I use. I couldn't see any way to do the required effects using multitexturing. Also, the anti-aliased line stuff I used had problems on rage 128's, so there's a workaround for those cards built in.
Thanks for all the help...