Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by thevraptor · Oct 27, 2014 at 02:52 AM · terrainassetsterrain generation

Anyone know a way to generate real life geography into terrain?

I am making a game set in the San Juan Islands (https://www.google.com/maps/@48.6054915,-122.8117509,10z) and I want to make a terrain map that more or less resembles it. I tried painting the heights in Terrain Editor. Turns out I suck at that. Is there any product or method of generating an in-unity terrain equivalent of a real life area? Or, better yet, does anyone know where to find a terrain file of the San Juan Islands?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Boz_1 · Dec 19, 2014 at 11:44 AM

:)Short answer, google it :) sorry could'nt resist.

Now for some help.

San Juan DEM Data

https://catalog.data.gov/dataset/san-juan-islands-washington-coastal-digital-elevation-model/resource/c57532a9-38d9-48c6-8210-a6b562de4bd0

now that you have the data how do you use it.

try importing into either VTbuilder or Wilburx64 ( both free gis tools )

http://vterrain.org/Doc/VTBuilder/overview.html

http://www.ridgenet.net/~jslayton/wilbur.html

Wilbur is the better of the two, with it you can import,process and export your gis data

esp to PNG format, wich you can load into GIMP or PhotoShop and most importantly,

convert to RAW format wich can then be imported into unity to create a terrain

This is the work flow i use

1: Open VTBuilder Virtual Terrain Builder ( only program i found that supported Australian DEM files you might be able to start at step 5)

2: Layer Menu -> Import Data->Elevation Data->OK->Select Directory, File, Then Open

3: Convert and save the file in TerraGen Format ElevationMenu->Export to->TerraGen->OK

4: Close VTBuilder

5: Open Wilburx64

6: File Menu->Open file saved in step 3:( if skipping 1-4 open your DEM,TER,BT etc file)

7: Crop Image to size ToolBar->Right Click Dotted Square->Selection Options DropDown Style->Fixed Size Enter Width and Height Fields to suit your needs( unity 129x129, 257x257, 513x513 etc ) Canvas Left Click, postion selection rectangle to desired position Surface Menu->Crop to Selection

8: Convert To PNG FileMenu->Save As PNG Surface(*.png) Click yes when asked to save in 16Bit format

9: Start PhotoShop CS6 FileMenu->Open File saved in step 8: if needed flip horizontal and or vertical, ImageMenu->ImageRotation->FlipVertical ImageMenu->ImageRotation->FlipHorizontal

10: Convert To Raw and Save FileMenu->SaveAs-> Select Directory, Enter File Name, Format (*.RAW)->Save RawOptions Dialogue->Select IBM or MAC Byte order->Save, Exit PhotoShop

11: Start Unity, create terrain import RAW data.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by AlwaysSunny · Oct 27, 2014 at 03:57 AM

Many heightmaps of real-world locations exist - maybe you can find one? These are greyscale images that you can import and assign to a terrain. I don't know the relative scale of these islands, but keep in mind a single Unity terrain object is not sufficient for handling very large areas. Many square kilometers, yes, depending on how much fidelity you want, but hundreds or thousands, absolutely not. For huge-scale maps, you must use multiple terrains which load and unload as needed. You could still use a heightmap for multiple terrains by writing a script to divide the heightmap image into cells, assigning each cell's heights to a terrain in your grid-of-terrains.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Riwels · Oct 27, 2014 at 05:11 AM

You can using Sketchup. Check this video: https://www.youtube.com/watch?v=ZE6lOXsrbbA

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image thevraptor · Nov 03, 2014 at 01:23 AM 0
Share

I'm looking for more of a topography dealio

avatar image
0

Answer by Wessels · Oct 27, 2014 at 06:06 AM

Yup I use sketchup max tile size is on 2000x2000m but you could make a few. DTM is a bit big think its 60m so its not too acurate for use in a fps but flight sim or something its cool, benifits are that you get the base image too, so you can kinda go into realistic building placements and stuff

And its FREE

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by tanoshimi · Dec 19, 2014 at 12:49 PM

https://alastaira.wordpress.com/2013/11/12/importing-dem-terrain-heightmaps-for-unity-using-gdal/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

terrainData.heightmapTexture float value range 2 Answers

Something wrong with how i handle terrain generation 1 Answer

Applying a Large Texture Map to a Terrain 1 Answer

Is there a way to make Unity terrain react and "dig" away from certain objects? 0 Answers

How do I know if trees in the asset store are paintable? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges