x


How to automatically build a map?

i built a environment, and need a map for that, such like top view of the environment (but i don't want that).

is there any existing function, or coding to create a map in, saying .jpg, tff, bmp format?

or another way to render a boundary of the environment?

thank you for your help.

more ▼

asked Jan 10, 2011 at 07:37 AM

Minyi gravatar image

Minyi
32 16 12 17

Do you mean like a minimap or an enviromentmap?

Jan 10, 2011 at 01:51 PM Statement

sorry, friends, maybe it is my fault. i mean the level of map telling where to go, such as the map of CS after player dead. but i prefer a large one not a mini.

thank you.

Jan 10, 2011 at 10:32 PM Minyi

I think he is talking about like a level map that tells you where you are going but I might be wrong for this question is poorly written and taggged.

Jan 10, 2011 at 04:47 PM SirVictory
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Ok, I understand.

You can create a camera and mark as Ortographic (or not), then, render the camera view to a RenderTexture (Only Pro).

http://forum.unity3d.com/threads/37621-Render-Camera-view-to-UI

http://unity3d.com/support/documentation/Components/class-RenderTexture.html

In this case, it's show the camera view in realtime.

You can also take a print screen of the unity project to use like a map or render this "map" in your 3d modeling software and use as GUI texture.

There is also a function RenderToCubemap() (requires Pro) http://unity3d.com/support/documentation/ScriptReference/Camera.RenderToCubemap.html But I think this coudn't resolve your problem.

Maybe this can help you - this page show how to make a realtime mirror, this uses the camera view to create a texture and apply in some materials. This script make this in realtime too. http://www.unifycommunity.com/wiki/index.php?title=MirrorReflection2

I think that the simple way is to make the printscreen and save as a GUI Texture.

Hope it help.

more ▼

answered Jan 11, 2011 at 12:20 PM

Borgo gravatar image

Borgo
1.1k 23 24 40

(comments are locked)
10|3000 characters needed characters left

http://unity3d.com/support/resources/unity-extensions/terrain-toolkit.html

If you want the sky try searching for Cubemap in the google.

Take a look on this too: http://www.3dnemo.com/031_G_to_U.html

more ▼

answered Jan 10, 2011 at 01:49 PM

Borgo gravatar image

Borgo
1.1k 23 24 40

thank you for your help. but your information is for mapping texture onto a object, but my problem is how to make overview map of all environment, saying a 2D image showing all boundary of all objects, such as walls, desks, ans etc.

thank you for your help.

Jan 10, 2011 at 10:29 PM Minyi
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x518
x402
x303
x57

asked: Jan 10, 2011 at 07:37 AM

Seen: 3282 times

Last Updated: Jan 10, 2011 at 07:37 AM