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
0
Question by Mikesk · Dec 10, 2013 at 07:37 PM · rendermap

How to create a map of my whole level?

Got a 3D shooter which is located on an Island. The players should be able to press "M" and a map will pop up showing the whole island. (Not an interactive map, which will show your location in real-time, but just a picture, like an png or jpeg.

Right now I have chopped a map together by "printscreen" and then paste the different areas of the map together, but it does not look that nice.

Is there a way to get a High-def screen shot of the whole level, without having to zoom in the editor and copy paste it all togeter?

Thanks in advance

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by tanoshimi · Dec 10, 2013 at 07:48 PM

Create a new camera in your scene and position it to frame the Map view you want. Disable all other cameras, then call CaptureScreenshot with supersize parameter in a script: http://docs.unity3d.com/Documentation/ScriptReference/Application.CaptureScreenshot.html

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 akashsunny · Dec 10, 2013 at 07:48 PM

http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/cameras

watch this tutorial ... in this tutorial mike gieg shows how to render a camera view onto a plane ....

So use the same technique and just arrange camera as if in a topdown shooter and render it to a plane ..... And just get the material texture from it .... that's it simple as goin to assets folder and locating the material and copy your texture

if you are using pro then your camera can do hdr images and also .. add some particle effects and render the plane after a time interval ... so that you get those nice cool particle effects embedded on the map ....

Have Great day Gaming And Scripting Buddy ....

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 akashsunny · Dec 10, 2013 at 07:49 PM 0
Share

the above technique was also good but if you are a quality guy ...... then surely use the rendering technique ... or if you choose performance go the other way

avatar image
0

Answer by robertbu · Dec 10, 2013 at 07:50 PM

You'll have to code it in, but you can use Application.CaptureScreenShot(). Just something like:

 #pragma strict
 
 function Update() {
     if (Input.GetKeyDown(KeyCode.T)) {
         Application.CaptureScreenshot("C:\\ScreenShot.png", 4);
     }
 }

Put this on a game object, display your whole map and hit 'T'. Adjust the path in the call as necessary. What is important here is the '4'. It is the SuperSize parameter. I don't know what limits are placed on it, but it multiples the resolution of the final image. It's been a year since I played with it. I think I could go '4' on the iPad and I could go larger on my desktop.

Note, last time I check, anti-aliasing settings did not work with CaptureScreeShot. You can "fake" the result by over-sizing the capture and then reducing the size in Photoshop.

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

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

20 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

Related Questions

How to make a mini map? 1 Answer

Texture question 1 Answer

Assigning UV Map to model at runtime 0 Answers

texture maps render on one side only 1 Answer

Can I change materials in a scene without having to bake everything again? 1 Answer


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