ADT MH2O doesn't cover borders? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ADT MH2O doesn't cover borders?

    Hi
    Here is what I get using MH2O heightmaps and MH2O.Render:


    As you can see, only full water chunks are rendered.
    Any idea how the missing water surface is defined in-game?

    ADT MH2O doesn't cover borders?
  2. #2
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pad the outside of the water region with 2-3 blocks all the way around. Cheap, and easy.


  3. #3
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes maybe a bit too cheap
    I will do that if a have no better solution thanks.

  4. #4
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually had the exact same issue.
    You are only rendering those water patches which are given in the bitfields, right?
    I made numerous changes to the condition (OR'ed it with checks for the value of the heightmap at that position is non-0.0f, inserted the global water height value at heightmap values which were 0.0f, where the bitfields actually said to be a water patch and such stuff), but ended up with some little islands in the water (see my thread.. hope the pictures are still up), which were obviously glitches in the MH2O and nothing predictable.
    I mailed Schlumpf for his solution in NoggIt, but he didn't know either how to solve that. That's why I fell back to simply reading the global water height or something like that... I may post some code if you want so.

  5. #5
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bananenbrot View Post
    You are only rendering those water patches which are given in the bitfields, right?
    Yes, the one given in the header. There is also a mask in the informations block I didn't tried however.

    Originally Posted by Bananenbrot View Post
    I may post some code if you want so.
    It won't be necessary, thanks. I just wanted to know if there is a proper way to do it.
    Now I wonder if it's worth to keep the heightmap if I have to fall back on an approximative rendering...
    I think I will just take the global water height, unless I find a tile where the difference real height/rendered height is too important.
    Thanks to both of you.

Similar Threads

  1. Updated ADT->MH2O information on madx.dk/wowdev wiki
    By namreeb in forum WoW Memory Editing
    Replies: 4
    Last Post: 10-27-2009, 05:46 PM
  2. Gold to Karazhan doesn't work,help please
    By Raijin in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-10-2006, 07:40 PM
  3. Burning Crusade Cover
    By idusy-org in forum World of Warcraft General
    Replies: 1
    Last Post: 10-09-2006, 12:21 PM
  4. Should MMOwned Cover more Games? -- Poll
    By Matt in forum OC News
    Replies: 26
    Last Post: 09-03-2006, 01:31 AM
  5. .adt files?
    By Fishy80 in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 08-26-2006, 06:46 PM
All times are GMT -5. The time now is 07:52 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search