Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by KeizoJindo · Apr 27, 2017 at 01:10 AM · terrainmemory managementswitch scenesflight sim

How to connect broad multi Terrain? ( For flight simulator)

Hello.

I make terrain by "terrain composer(Asset)" for flight simulator. I have some constraints as follows, (1) Target PC's main memory is 16GB only. My application needs to save memory. (2) One terrain data is very huge due to terrain resolution is high.(creare by terrain composer) (3) I hope to connect each terrain based on camera translation. (4) I must make 400km × 400km area. One terrain is 31km × 31km. Thus, All terrain is 13panel × 13panel.

I want to know following things, (I) How to cording c# progran techniqe about this solution. (a) How to load any terrains realtime. etc.... (II) If some assets can fix this situation. I can by that assets. So, I want to know assets. (III) Sample program where is. (IV) Best practis about this sitiation.

Could you teach me above from (I) to (IV).

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by fc2012 · Apr 27, 2017 at 07:18 AM

I'm working on Terrain, too. I think there are Assets that meet yout requirement on Asset Store, so you can search the Asset Store like "TerrainManager" or so. But I'd love to do it myself and here's some idea that may help.

First of all, you must import all your Terrain resources to Unity, like heightmap, texture and alphamap, etc. Then you can make terrains in the Editor and make each panel to a prefab, but I don't suggest that way. Because it may be too memory-cost to load a 31km square size terrain at one time. Try to make it smaller, maybe 1km square? I don't know. Thus, the number of prefabs which represents each panel will be too many, so it'll be a lot of work. Instead, you can automatically generate TerrainData assets via Editor Script. See: link text. The code may help and you'll have to look up the Script API Document for Class Terrain&TerrainData.

Secondly, to load and unload your terrain assets at runtime, you'll have to use AssetBundle. If 16GB space is not enough, you can load Asset at runtime via network. See also the Script API and these articles may help too: link text

Hope this will help!

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 KeizoJindo · May 16, 2017 at 09:34 AM 0
Share

fc2012

Thank you! I try to search. First, I compress the texture of terrain. After, I try to write script by your advice(Link).

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

112 People are following this question.

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

Related Questions

Terrain Flashes and becomes invisible when flying away from it 1 Answer

Terrain disappears when switching platform 0 Answers

Terrain or Mesh? 1 Answer

Unity 5 - Terrain Detail Density/Distance not sticking? 1 Answer

Check current terrain location 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