Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Spherical Terrain Released

Discussion in 'Assets and Asset Store' started by Casper_Stougaard, May 11, 2015.

  1. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Hello!

    I'd like to announce the release of a little tool called Spherical Terrain. It is designed to let you easily sculpt a spherical mesh into small planets, and then save it to a file.

    You can place objects such as trees or rocks on the surface of the sphere. You can very easily add your own objects.

    It also included is a shader that automatically blends between different textures at different altitudes.

    Requested features:
    • Splatmap painting.
    • Vertex painting.
    • Different Brushes.



    Update: Version 1.2 is waiting for acceptance.
    Check out this new video showing some of the new features and changes!



    Asset Store link:
    http://u3d.as/f9U
     
    Last edited: Jun 11, 2015
    FaberVi and boysenberry like this.
  2. boysenberry

    boysenberry

    Joined:
    Jul 28, 2014
    Posts:
    365
    Looks like a wonderful tool and at a great price too. I will see about picking it up this coming weekend.
     
  3. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Thank you. I hope it will be of good use to you. I already have another update almost ready with a few new features and improvements!
     
  4. PROTOFACTOR_Inc

    PROTOFACTOR_Inc

    Joined:
    Nov 15, 2009
    Posts:
    4,029
    add a little character controller that has some kind of physics to move around such planet and jump from one to another and I guess you can have something that could get really appealing to a lot of people!

    good job! :)
     
  5. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Thank you! I did actually consider adding a simple character controller, just to be able to try and move around on the planets you create, and see it up close :)
     
    Last edited: May 12, 2015
  6. TechiTech

    TechiTech

    Joined:
    Dec 13, 2014
    Posts:
    212
    Great work Casper :)

    can you use this on a mesh other than a sphere?

    I've been looking for these type of terrain tools to use on my meshes.
     
  7. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Thank you TechiTech!

    I have not testet this and so i am not sure it will work on other meshes. I guess if you use it on other meshes (non spheres) the mesh would be starting to sculpt into s sphere-like thing.

    But if you give me an example mesh, i'd be more than happy to test this for you and upload a video with the result :)
     
  8. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Version 1.2 is on the way, and a new video is up!
     
  9. BigDill

    BigDill

    Joined:
    Jan 1, 2013
    Posts:
    31
    Hi Casper,
    I bought this and it's a good asset which shows some promise and could be used as part of my workflow. looking forward to further development by the author.

    One Quick Question - I have tried to replace the globe mesh with one of my own cube sphere from 3DS but the spherical tool does not seem to want to recognise my mesh. Is there anything special about your base mesh that I need to emulate or is there a hard coded reference I need to be aware of?

    I have also noticed that the flatten tool does some weird things with the mesh if you over use it! I exported your mesh into OBJ and then into a 3d tool and this showed that some vertices were all over the place after using flatten.

    Anyway, good little tool which hopefully will grow into more in due course.
     
  10. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Hi Mambo,
    Thank you very much for your feedback and your support!

    I'm sorry i couldn't answer this quicker. I have been out of town for a while with my work.

    Regarding the mesh, I believe it should be working with any sphere you throw at it. Though i have only been able to test it myself with a blender model. I'll have a look at it. If you would send me the 3DS file you're trying to use it'd be a big help :)
    You can send it to at: casper_stougaard@live.dk

    The flatten tool have caused me many hours of struggle. The current version of it, is a bit buggy i have to admit. I thought it was better to give you the opportunity to use it as it currently is. Perhaps this was a bad decision considering it screws up the vertices. I'll have a look at it and get it fixed asap.
     
    Last edited: Jun 3, 2015
  11. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    I've applied fix to the flatten tool. It's been submitted to the asset store and is waiting for approvel.
    As far as i've tested it myself, it seems good, but please leave your feedback! :)
     
  12. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Update 1.2.1 is now live with a fix to the flatten tool
     
  13. Vampyr_Engel

    Vampyr_Engel

    Joined:
    Dec 17, 2014
    Posts:
    449
    Hi yes tried to buy your tool does it have walking a.i and will it have in the future like an a.i figure which can get into vehicles amd what is the maximum size plane tit will have?
     
  14. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Hello Vampyr_Engel. It does not have an Ai, and it probably will not be added either because this package is only meant for modeling the planets.

    It does have a very simple player controller with spherical gravity for the purpose of letting you get a quick impression of what the planets feel like from that perspective.

    At this time, the only officially supported size is the one currently in the package.
    There are more sizes planned for the future though.
     
    Eric5h5 likes this.
  15. Vampyr_Engel

    Vampyr_Engel

    Joined:
    Dec 17, 2014
    Posts:
    449
    OK thank you Casper
     
  16. WILEz1975

    WILEz1975

    Joined:
    Mar 23, 2013
    Posts:
    368
    Hi, I am very interested to your project.
    My questions:
    1. What is the real size limit of the planets?
    2. You think can use your asset for a space-sim with "real size planets" like Mars, Moon etc... where you can land on them?
     
  17. Casper_Stougaard

    Casper_Stougaard

    Joined:
    Jul 18, 2013
    Posts:
    60
    Hello WILEz1975
    At the moment, my asset dont officially support bigger planets than what is currently implemented. This is something that i am planning on implementing though.
    But there's nothing stopping you from tweaking it yourself to make it fit your project :)
    It should be possible to create a bigger mesh in a 3d application and import it and model it from there, the only thing i'm concerned about is how long it will take to manually model a sphere of that size. But i suppose that's just a matter of tweaking the values of the tools directly in the code :)

    Hope this helps.

    Casper.
     
  18. pvargas

    pvargas

    Joined:
    Nov 26, 2012
    Posts:
    5
    is there a way to generate procedurally based in a seed number?
     
  19. BigDill

    BigDill

    Joined:
    Jan 1, 2013
    Posts:
    31
    Hi Casper,

    I was wondering if you have an update in the pipeline?

    To be able to change planet size settings and then auto calculate the texture layers/heights would be good.
    A Perlin noise generator would be cool and allow to for quick planet generation but if not that then some different brushes might be good.

    Not sore if this is a bug or just my misunderstanding of how to use the tool but max and min height do not seem to clamp?

    If you have no updates planned then if it is ok I will add a couple of these myself although I am not the best coder.



    Thanks.
     
    Last edited: Jul 24, 2015
  20. soundwav_

    soundwav_

    Joined:
    Apr 23, 2013
    Posts:
    12
    Hi,
    quick question... is it also possible to paint without changing the height, but just to blend in a different texture?
    Thanks.
     
  21. soundwav_

    soundwav_

    Joined:
    Apr 23, 2013
    Posts:
    12
    So I went ahead and bought the plugin, and I notice that the planet material acts like an unlit texture. Is there a way to have it act like a normally lit texture?

    Also, if I try to put a different material on the saved mesh (without height blending), if I have a normal-map or bump-map applied in the material, then I see many black shapes on the planet. As if the normals of the mesh aren't correct or something?

    I thought I might import the saved mesh to blender to see how it looks there, but the saved mesh is a *.asset file.
     
  22. Der_Kevin

    Der_Kevin

    Joined:
    Jan 2, 2013
    Posts:
    517
    Hey!
    it seams that the UI From the Example is done with the old UI system right? do you plan to update to the 4.6 GUI?
    Edit: okay i just bought it cause i wanted to see how it works :)
    so here are some improvement suggestions:
    most important:
    - replace old gui with 4.6 gui
    - when you edit the terrain and lets say you use brush strenght 12 and brush size 17 and swtich then to the edit object mode you also have brush strenght 12 and brush size 17. better would be if you save them seperatly because when i now change it to brush strenght 1 and brush size 1 i also have this settings in the terrain mode and there i have to change it back to 12 and 17, you know what i mean?
    - how can i erase objects?
    - you modify the terrain accidentally while dragging the slider of the ui
    - when you place an object on a mountain and then lower the terrain, the object flies in the air

    minor stuff:
    - amount of objects: 0 in object mode makes no sense ;)
    - i would change the mouse buttons. lower terrain with the right mouse, raise with left mouse. roate planet with middle button
    - black indicator should represent the brush size (has same size on brush size 1 as on brush size 20
    - you also have to do "klick,klick,klick,klick" on your mouse to place more stuff. would be cool if you could just hold down the mouse and move it over the terrain to mass place objects
     
    Last edited: Aug 13, 2015
  23. MadeThisName

    MadeThisName

    Joined:
    Mar 14, 2015
    Posts:
    115
    Hey, Just bought your asset and i have a question regarding a problem im running into.

    If i set the scale of the mesh(globe) above 1x1x1 then i run into an error with regards to placing objects of any kind.

    Code (CSharp):
    1. ArgumentOutOfRangeException: Argument is out of range.
    2. Parameter name: index
    3. System.Collections.Generic.List`1[UnityEngine.Vector3].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:225)
    4. ToolsClass.PlaceGroupProp (UnityEngine.Mesh mesh, UnityEngine.GameObject source, UnityEngine.GameObject prop, Vector3 position, Single inRadius, Single amount) (at Assets/SphericalTerrain/Scripts/MainScripts/ToolsClass.cs:46)
    5. EditorClass.ToolSelection () (at Assets/SphericalTerrain/Scripts/MainScripts/EditorClass.cs:163)
    6. EditorClass.TogglePlayMode () (at Assets/SphericalTerrain/Scripts/MainScripts/EditorClass.cs:91)
    7. EditorClass.Update () (at Assets/SphericalTerrain/Scripts/MainScripts/EditorClass.cs:70)
    8.  
    Is there a way around this or do i have to stick with the standard 1x1x1 globe scale with regards to placing objects. Now thats not what i want to do since i need at least 20x the size of whats there.

    Thankyou for your time!
     
  24. arcooke

    arcooke

    Joined:
    Sep 1, 2014
    Posts:
    29
    Hey Casper. Any updates on this asset? Any chance you could respond to some of the questions/concerns people have mentioned in the thread? I'm very interested in it as well, but the inability to scale the planets is holding me back. For my needs, these are just a little too small.
     
  25. BLInformatique

    BLInformatique

    Joined:
    Oct 12, 2015
    Posts:
    19
    hey, It's imposible to save mesh with objects and textures... why?
     
  26. kilik128

    kilik128

    Joined:
    Jul 15, 2013
    Posts:
    909
    generate procedurally based in a seed number? info ? please
     
  27. djgriff

    djgriff

    Joined:
    May 29, 2014
    Posts:
    279
    Hi is there any supporting documentation on how to use this asset.. every link seems to be broken..

    Thanks

    Daniel