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 iKazanova · May 17, 2017 at 01:35 PM · renderingloadingmapping

Planet map enter and render

Hey folks,

Im creating a No Mans Sky type game where I can fly through space and visit planets and collect some stuff from planet and etc. .....and maybe build some stuff (its only alfa beta delta version :D) Imagine. I have a planet who has a spheric terrain map arround it so Im flying through space and I want to visit it. So my first question is .... how to make a planet enter? How to leave a space map and enter a planet map?

My thoughts so far... to create a space map arround the planet where player enters a planets stratosphere and enters a planets cloud map who could cover whole players screen where game could prepare and render first layer of planets map.Aaaand my second question is .... how to make a stable, non-jumpy FPS planet enter map render?

Im making this game using free Unity version.

All ideas are helpful :)

Paul Leonard

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
1

Answer by Matt-Murch · Jun 21, 2017 at 01:33 AM

Sounds like you're on the right track!

There are two ways I would do it, either connecting your planet and space seamlessly (hard) or having a distinct "barrier" (easy). It sounds like you are looking for the 'easy' option. I'll go over a basic explanation for each.

Easy way: *Battlefornt: Elite Squadron*

Have a space map with a big sphere for your planet and atmosphere in one scene. Use the atmosphere as a trigger collider. On Trigger enter you can use additive loading to bring in your proper planet scene and take out your space scene. Do the same for the planet map. You'll want to start you ship in an empty scene and load in whichever scene you want when you start the game.

You can get some plugins that do this as well like Sectr Stream.

Hard Way: No man's sky, *Star Citizen*

Both of these games use procedural generation to render on the fly.... which is harder than I know how to do. I would recommend using LODs (Level of details) where you swap out low and high quality meshes as you get closer, you could generate these if you know how, or use your own geometry models.

You would have your space view with a sphere, and as you got closer you would go to a medium detail, and then you could have as many as you need to transition to your full detail ground geometry. You can use spheres with cloud maps on them, and if you use a sphere with inverted normals you can get a pretty good atmosphere behind your planet.

You can do the same for your space objects, or even unload them once you are in atmosphere.

Hopefully those help, Matt

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 iKazanova · Jun 21, 2017 at 07:18 AM 0
Share

Hey $$anonymous$$att,

thanks for brilliant examples. Well as a beginner developer I`m looking for a easier way :D. Update on a game I have a "3 layer render system" going, but it`s quite laggy when you reach one of the height values and all the textures have to load. Buuut, with LODs (level of details) system that problem will be solved.

Thanks again for useful tips!

Paul Leonard

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

109 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

Related Questions

Fast Converting RenderTexture to Texture2D 1 Answer

Object doesn't show : loaded or not loaded ? 0 Answers

Blending two textures from different cameras 1 Answer

Deferred Rendering, Command Buffers, and Reflection Probes? 0 Answers

Shadow Rendering Error 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