Simple_spectr Posted March 27, 2016 Share Posted March 27, 2016 https://gyazo.com/b407642355a2da4d09cc5351f0ccbdb0 In noggithttps://gyazo.com/b04e27aa9c30bea60ebe12c16a97e097 In game Have any ideas? Link to comment Share on other sites More sharing options...
0 Adspartan Posted May 21, 2016 Share Posted May 21, 2016 The issue is solved as of this commit. Link to comment Share on other sites More sharing options...
0 Skarn Posted March 27, 2016 Share Posted March 27, 2016 This is a bug with alphamaps. They seem to be misplaced. What if you reopen the map in Noggit? Stays the same? Link to comment Share on other sites More sharing options...
0 Simple_spectr Posted March 27, 2016 Author Share Posted March 27, 2016 In noggit it looks fine, but in game strange( Link to comment Share on other sites More sharing options...
0 Amaroth Posted March 27, 2016 Share Posted March 27, 2016 This is loooong known problem I have reported even several times Skarn (in both bugreport and for example also here: http://modcraft.superparanoid.de/viewtopic.php?f=48&t=8687&start=15 ). Noggit displays textures on terrain mispositioned a little bit. Alpha maps are applied correctly, because textures are applied exactly on spot where mouse cursor was in Noggit (so if circle is just barely touching a wall, texture will really barely touch a wall in game as well), but Noggit's terrain rendering is a little bit messed up.  EDIT: I was, of couse, clicking directly on cross between chunk and subchunk border. Result is quite obvious. However, in game is texture on that cross, so on spot where I clicked. This applies to brushes of all sizes. My advice spectr? Draw by looking on circle, not by looking on where textures are appearing. There's no other solution for this as long as Noggit doesn't get repaired, and because we haven't seen a new revision for over a year (!), its quite unlikely anyone will ever get such things done. English YT tutorial channel. Check it out if you preffer videos over walls of text.:https://www.youtube.com/AmarothEng I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays. Link to comment Share on other sites More sharing options...
0 Skarn Posted March 27, 2016 Share Posted March 27, 2016 I am aware of the issue, yet I am not an active Noggit developer (sorry for that, but I simply do not have enough knowledge). This probablem does not seem to come from textures. It seems to come from brush fetching up coords incorrectly. I do not personally face this too often as I mostly texture with Photoshop. Link to comment Share on other sites More sharing options...
0 Adspartan Posted March 27, 2016 Share Posted March 27, 2016 In the screen Amaroth posted the problem is that texture (or any kind of terrain modification) is applied based on the distance from the origin point (where your cursor is), and that distance is calculated using the top left corner coordinate of each chunk/subchunk thus making the circle a little bit off centred, and it's more visible with a small radius. Â But for Simple_spectr's problem I don't know what's the cause, I've never noticed that. Maybe it's the same but it looks quite big Link to comment Share on other sites More sharing options...
0 Simple_spectr Posted March 27, 2016 Author Share Posted March 27, 2016 Stupid Noggit So, I understood. Thanks, Amaroth and Skarn also  Skarn, mb you can ask AxelSheva about fix that? (idk when, but sometimes mb) Link to comment Share on other sites More sharing options...
0 Amaroth Posted March 27, 2016 Share Posted March 27, 2016 Ah, no Skarn, Noggit is (most likely) getting correct cursor coordinates. What it IS doing wrong is rendering of textures themselves. As you can see on this screen, circle was really drawn correctly - in game it displays exactly as it should have - centered on cursor, not offset. So once again, coordinates are correct, but the way Noggit renders terrain (textures on it to be exact) is not. All textures are moved by half (yep, half, so that note about middle of vs upper left corner of seems to be well aimed) of... what is it, texel or... whatever... to south-east in Noggit from position where they should (and in client will) really be. So, aim a liiittle bit more to north-west. English YT tutorial channel. Check it out if you preffer videos over walls of text.:https://www.youtube.com/AmarothEng I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays. Link to comment Share on other sites More sharing options...
0 Adspartan Posted March 27, 2016 Share Posted March 27, 2016 I tried that and the circle was off IG too (as it should given the way it's coded) Link to comment Share on other sites More sharing options...
0 Skarn Posted May 21, 2016 Share Posted May 21, 2016 7 minutes ago, Adspartan said: The issue is solved as of this commit. Great jopb. People would not mind the binaries I guess. We could run a Noggit testing page here as we used to with SDL 1.4. Link to comment Share on other sites More sharing options...
0 Adspartan Posted May 21, 2016 Share Posted May 21, 2016 12 minutes ago, Skarn said: Great jopb. People would not mind the binaries I guess. We could run a Noggit testing page here as we used to with SDL 1.4. Yep, but when I sent mine to someone he got an error because MSVCP140.dll is missing (I'm using visual studio 2015) so people will need to install this to run it. Link to comment Share on other sites More sharing options...
0 Skarn Posted May 21, 2016 Share Posted May 21, 2016 Or download a dll and include it to the directory. Link to comment Share on other sites More sharing options...
Question
Simple_spectr
https://gyazo.com/b407642355a2da4d09cc5351f0ccbdb0
In noggit
https://gyazo.com/b04e27aa9c30bea60ebe12c16a97e097
In game
Have any ideas?
Link to comment
Share on other sites
12 answers to this question
Texturing trouble with noggit (ingame look)
Asked by Simple_spectr,Recommended Posts