Unless I'm mistaken you're drawing the main zone object in a different way from the placable objects and not taking into account that the main zone object may also be rotated. I seem to have a rotation on my main zone object too in my renderer, maybe that's the difference unless I've missed something in your code.
I'll try to "hack" in a quick additional rotation to undo the rotation of the main object to confirm that theory. |
Er, no sorry. My renderer also ignores the rotation on the main object too.
|
I'm well confused now.
The good news is that I've stepped through your code and my code with a breakpoint on the code which draws each object and the (x, y, z) and (rx, ry, rz) is identical in every case. You're trying to draw *exactly* the same thing right down to the low level drawing code. The bad news is that it looks right on mine and wrong on yours still. The only thing I can think of is that opengl has a right handed coordinate system and direct 3d a left handed (by default). Maybe it's something to do with that. My brain hurts now so I'm taking a break. |
Quote:
Thanks for giving it a shot and giving me some confirmation that I'm not doing something horrendously stupid ;) I'll look into a bit more later today, but right now I'm trying to finish frustum culling... it's not cooperating lol |
Will look at this again when I've had some more sleep.
I must be missing something obvious. |
Quote:
Talking with windcatcher on irc right now about this... m'be we can work it out hehe |
I'm not quite so sure about having the same data any more.
One of us is drawing 695 objects and the other 665. I only compared the first 10 or so and assumed that if they were were same they all were. But maybe not. |
any progress? Not had time to look today, hopefull can tomorrow.
|
Quote:
|
That sounds plausable.
|
Quote:
Anyway, I'm getting closer. Torches appear perfectly now, so that's pretty cool. I think the problem is with the X and Y axes, so I'm looking into that. |
Any progress?
I'm going to have another look at this now, so let me know if you solved it :) |
Quote:
|
All times are GMT -4. The time now is 07:22 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.