Minyi
1
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.
Borgo
2
Borgo
3
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.