3D Slow terrain loading. (How to optimize?)

Discussion in 'Programming' started by Misty, Jun 29, 2016.

Thread Status:
Not open for further replies.
  1. GMWolf

    GMWolf aka fel666

    Joined:
    Jun 21, 2016
    Posts:
    3,441
    Lets summarise the question:

    "I am using a height generation algorithm, and it is slow. iwont tell you which one it is, but please help me".

    as far as im aware, thats not much of a question...

    besides, what is this 'find_normal' you speak of?
     
  2. AlphaChannel

    AlphaChannel Member

    Joined:
    Jun 30, 2016
    Posts:
    20
    The more I read the more this thread seems like some sort of prank .-.
     
  3. GMWolf

    GMWolf aka fel666

    Joined:
    Jun 21, 2016
    Posts:
    3,441
    yeah, just like that existential nihilism post..

    oh god its 5 am...
     
  4. Lotias

    Lotias Member

    Joined:
    Jun 20, 2016
    Posts:
    87
    [​IMG]
    Don't remind me.
     
  5. AlphaChannel

    AlphaChannel Member

    Joined:
    Jun 30, 2016
    Posts:
    20
    Misty, is the terrain pregenerated and the chunks loaded from a bigger grid, or are the chunks generated each separately when they are loaded into memory?
     
  6. Misty

    Misty Member

    Joined:
    Jun 22, 2016
    Posts:
    1,024
    My apologies, didn't want to short circuit anyone here.

    I fear I must exit the conversation at the moment, things are getting too heated, and my computer needs a cool down (Firefox has a severe memory leak and my CPU has been quite heated for some time now.)

    I can assure you that this is no prank, my terrain really does take over 11 seconds to load, and it was not made in ms paint, and fyi the terrain is not loaded from a bigger grid because that is slightly slower.
     
    Lotias likes this.
  7. Misty

    Misty Member

    Joined:
    Jun 22, 2016
    Posts:
    1,024
    Reported for rudeness. Noone asked you to litter my thread with your rude comments.

    Okay, so I've got some good news and bad news.
    The good news is, while I was away I figured out how to seam the incorrect normal seams.

    The bad news is, I loaded it in GM Studio and it only doubles the fps. This is unacceptable, since I plan to use more than 4 chunks in the future, so I am busy at work optimizing the code, yet again.
     
  8. Paolo Mazzon

    Paolo Mazzon Guest

    this thread is getting pretty spicy
     
  9. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,891
    Okay, two things:

    1) We have a "Legacy" prefix on topics for a reason... Questions from people using GM8 (and any other previous version) are fine. GML hasn't changed THAT much over the last few versions so if people still use lagacy versions they can still ask questions here.

    2) This topic is a train wreck. Closed.
     
    Ampersand, MonkeyMaw, Yal and 6 others like this.
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice