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.
asked Jan 10 '11 at 07:37 AM
Ok, I understand.
You can create a camera and mark as Ortographic (or not), then, render the camera view to a RenderTexture (Only Pro).
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.
answered Jan 11 '11 at 12:20 PM
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
answered Jan 10 '11 at 01:49 PM