Modcraft - The community dedicated to quality WoW modding!
Featured => Noggit => Topic started by: Dracbane on November 20, 2013, 05:00:26 am
-
I have been working with the 1.3 SDL on a new custom map. I started from the ground up and every has been fine until today. I tried to start adding textures under and around my WMOs and M2s but all of a sudden any new textures I add shift a bit to the north when I go to the map in game.. Its no much, but enough to make it difficult to line my textures up correctly with M2s/wmos. It isnt affecting my mountain/terrain textures from what I can tell which is odd. I have attempted to open the map up in 1.2 SDL and re-texture places as a test but that didnt change anything. Would anyone know how to go about fixing this?
-
Add a bugtracer entry with images please.
-
Add a bugtracer entry with images please.
ok. Ill snap some screens.
-
I haven't tried with 1.3, but I had similar problems when I was working with Noggit a couple of versions back. It seems like Noggit's terrain texture rendering is slightly inaccurate.
-
It is and was ever :)
-
Ive never had this problem before. Even when I was using pre-SDL versions of noggit my textures always went right where I put them in noggit. It is rather frustrating because I have had to entirely stop working on my map right now unless I wanna texture then adjust the object north of the texture....
-
Yes thats how life is.
I did start to learn cpp to fix my needs in noggit. Feel free to help.
-
Ive never had this problem before. Even when I was using pre-SDL versions of noggit my textures always went right where I put them in noggit. It is rather frustrating because I have had to entirely stop working on my map right now unless I wanna texture then adjust the object north of the texture....
/*
it has been there since the beginning of time (this is when wowmapviewer was made).
u may just didnt notice (its a shift of 64x1 pixel, really hard to notice except from special cases).
i actually have a idea where it does origin from, but im not sure about how to do right. it seems like (TM) i got it right in noggit qt for nothrend (big) alphamaps but its really hard to tell if its really fixed and if the same thing works on non big alpha adts.
*/
screw what i wrote above. i missunderstud your issue. i thought it your were talking about a shift within mapchunks but by looking at your screens this could also be another issue.
pls pm me with skype/whatever contact data.
-
This also leads to texture placemet differenced in noggit and wow. What it makes hard to paint textures like roads excat stone by stone.
-
This also leads to texture placemet differenced in noggit and wow. What it makes hard to paint textures like roads excat stone by stone.
What does? Also, this isnt just affecting small texture patches like the ones in the screens.
-
Tried on latest build, still occurs. (Even if the screens are from 1.3 Release)
Here goes some more screen :
Fine in Noggit :
http://i.imgur.com/2NgHa8S.jpg (http://i.imgur.com/2NgHa8S.jpg" onclick="window.open(this.href);return false;)
Offset in game :
http://i.imgur.com/LI4cqbI.jpg (http://i.imgur.com/LI4cqbI.jpg" onclick="window.open(this.href);return false;)
The offset always seems to be in the same direction, but this statement needs more investigations ^^
-
Tried on latest build, still occurs. (Even if the screens are from 1.3 Release)
Here goes some more screen :
Fine in Noggit :
http://i.imgur.com/2NgHa8S.jpg (http://i.imgur.com/2NgHa8S.jpg" onclick="window.open(this.href);return false;)
Offset in game :
http://i.imgur.com/LI4cqbI.jpg (http://i.imgur.com/LI4cqbI.jpg" onclick="window.open(this.href);return false;)
The offset always seems to be in the same direction, but this statement needs more investigations ^^
Glad someone else is experiencing this. I was slightly afraid I had somehow corrupted my ADTs and I would have cried. This map has almost 30 some hrs of work in it already. Of course I had a backup, but when the problem appeared there also I was sorta freaked out >.>
-
Always got that bug so far I can remember, I just deal with it now by offsetting my objects.
But it would be cool to have the exact same rendre in Noggit and the game.
Map tiles are rendered correctly now at least, and that's far more important (great job on that guys btw ;))
-
the real question is if the models are offseted or the alphamap.
edit: awnser is already here bugtracker/index.php?do=details&task_id=166&project=4&order=id&sort=desc (http://modcraft.io/bugtracker/index.php?do=details&task_id=166&project=4&order=id&sort=desc" onclick="window.open(this.href);return false;)
pls add additional info there....
-
Yeah, that's what I tried to figure out, but I don't have much time to test.
I think it's more likely the alpha map, as the models have coordinates, and I think noggit and the game can't handle them differently, but maybe I'm wrong ^^
-
the real question is if the models are offseted or the alphamap.
edit: awnser is already here bugtracker/index.php?do=details&task_id=166&project=4&order=id&sort=desc (http://modcraft.io/bugtracker/index.php?do=details&task_id=166&project=4&order=id&sort=desc" onclick="window.open(this.href);return false;)
pls add additional info there....
Yeah I tested to make sure it wasnt the models getting offset trying to narrow down the cause. I also looked through the noggit code a bit to see if there were any hints in there. The only thing I saw that might be useful was a static variable called Texdetail which is currently set to 8.0f. It seemed to be the only thing referring to the textures when the program draws the map tiles. I am going to attempt to test this theory now.