[Developer Question] .ADT terrain not loading properly menu

User Tag List

Results 1 to 5 of 5
  1. #1
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Developer Question] .ADT terrain not loading properly

    Here is the deal folks
    I coded a little tool to read a .adt file and load the MCVT (Vertice Height Data) into an empty plane. It loads all the data correctly and each chunk uses its own plane a 16x16 grid.

    The problem i've run into is the map chunks are offset somehow and loads each chunk at a different height leaving gaps heightwise between each map chunk

    It loads map vertice heights into an array VHeight(Mapchunks,X,Z) as FLOAT

    The result is nice, it has the whole map loaded but i can't find the offset in the .adt file that raises or lowers the chunks to seal the gaps.

    Any help would be nice and score a spot in the credits (yay, i see you jumpin for joy!! lol) not much but appreciated. The tool uses a LOT less memory than noggit and works fine on a laptop that doesnt even have RAM requirements for WoW itself met which is why i'm developing it. i dont like noggits memory **** :-)

    Whoever shows me a proper solution to the problem i will rep as much as possible (for more than one day if you wish)
    Last edited by DJRehab; 02-15-2009 at 10:34 PM.

    [Developer Question] .ADT terrain not loading properly
  2. #2
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MCNK.Position[3]: 068h, defining the offset in the world in all three dimensions. (Yes, you could position a chunk far off its normal position.) Just add that Z to your calculations.

  3. #3
    DJRehab's Avatar Active Member
    Reputation
    42
    Join Date
    Jul 2007
    Posts
    87
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm maybe so but check this once:

    I load planes all of them at Z of 0

    when the heights are implemented into the planes there are still gaps between them map chunks....note that this loads a SINGLE adt file.... here is the result
    Attached Thumbnails Attached Thumbnails [Developer Question] .ADT terrain not loading properly-fuckingaps-jpg  

  4. #4
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you sure that in every chunk the BaseZ is 0?
    Like my work? Support Me! ;D

  5. #5
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Btw: Stop your project, join Taliis.

Similar Threads

  1. [QUESTION] Models not loading?
    By roninhunter in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 06-28-2008, 08:22 PM
  2. [Question] 3dsMax not loading .m2
    By sanny in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 05-11-2008, 02:09 PM
  3. database not loading
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-02-2007, 06:28 PM
  4. New thread not working properly?
    By Linkitch in forum Suggestions
    Replies: 8
    Last Post: 01-06-2007, 12:07 AM
  5. un-answerable question, i hope not
    By Bludypeople in forum World of Warcraft General
    Replies: 10
    Last Post: 07-22-2006, 12:58 AM
All times are GMT -5. The time now is 04:24 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