Loading a TGA for a Quake model...
Moderator: InsideQC Admins
23 posts
• Page 2 of 2 • 1, 2
Hmmm; I'd recommend that you only change one thing at a time. Less places for possible bugs and problems to happen, you know. So first add TGA support to Fitz, then add the new model format. Cos otherwise there is really no way of knowing if it's your model loader, your TGA loader, your renderer, or a combination of all 3 that's causing this problem.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
Sorry about the double post but here's where I am with this. I decided to try something else however it appears to be causing a crash in gl_mesh.c at this line in BuildTris.
Any idea why this might be happening?
// emit s/t coords into the commands stream
s = stverts[k].s;
t = stverts[k].t;
Any idea why this might be happening?
-

hogsy - Posts: 198
- Joined: Wed Aug 03, 2011 3:44 pm
- Location: UK
Debugger!
Debugger!
Debugger!
Seriously. Break out the debugger, run it, and it will tell you exactly what the problem is.
Debugger!
Debugger!
Seriously. Break out the debugger, run it, and it will tell you exactly what the problem is.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
if its fubared msvc debugger you can mostly repair it (wont even take long) just pop in the cd/dvd what ever media it came on and select to repair. usually only takes a couple a minutes.
if its gdb its even easier allthough if used from codeblocks new internal debugger plugin its not.
if you need a standalone gdb with some kind of gui i can help with that.
its called insight and is a very old well proven one using a tcl gui.
its also very easy to learn how to use
if its gdb its even easier allthough if used from codeblocks new internal debugger plugin its not.
if you need a standalone gdb with some kind of gui i can help with that.
its called insight and is a very old well proven one using a tcl gui.
its also very easy to learn how to use
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
leileilol wrote:if you exported that model through blender using that mdl exporting script, it flips uvs vertically which may mismatch your TGA replacement
The model is from the Daikatana pre-alpha so I wouldn't know (Blender wasn't even around back when this game was in development anyway).
Also I recommend someone else look at the model I uploaded as you'd probably have a better idea than I do.
Edit:
Updated my first post with all the information so far for those that seem to skip all previous posts.
-

hogsy - Posts: 198
- Joined: Wed Aug 03, 2011 3:44 pm
- Location: UK
23 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest