3d – CreateTerrain is in yet?

About Monkey 2 Forums Monkey 2 Programming Help 3d – CreateTerrain is in yet?

This topic contains 5 replies, has 4 voices, and was last updated by  DruggedBunny 1 year, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11416

    Pakz
    Participant

    I noticed my older terrain code does not work anymore. I checked the docs in ted2go and there is a CreateTerrain function. But it is not found by the compiler. Maybe I am not doing it right though. Is the docs correct in ted2go? If it does work how do I get it working now? I noticed no example in the mojo3d tests tree.

    Mark mentioned new terrain. So it must be something to do with it not working anymore.

    It was 4 months ago since I last checked the terrain in mojo3d. Do I need to set it up as a model now?

    #11419

    Mark Sibly
    Keymaster

    There is no specialized terrain class as yet (I am working on one), however there are Mesh.CreateTerrain and Model.CreatTerrain extensions for creating plain mesh based terrains. Here’s a quick, somewhat ropey demo:

    Stick this in mojo3d tests/ dir. It would of course look a lot better with textures and there’s no easy way to do collisions yet (possible-ish though, see mojo3d-physics tests).

    #11424

    Pakz
    Participant

    Ok, thanks.  I was able to get it working.

    I forgot to use the Model. before the createterrain. That is why it said the command was not found.

    #12512

    Xaron
    Participant

    Out of interest, what’s the state of the new terrain stuff? Do you still work on it? 🙂

    #12742

    Xaron
    Participant

    BTW: using your collider works great with the terrain. AWESOME! Still testing a lot…

     

    I’ve noticed that the mojo3d-physics is gone in your dev branch, I guess it’s within mojo3d itself now?

    #12744

    DruggedBunny
    Participant

    It is.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.