x


Drawing a GUI onto a 3D object

I am currently working on a UI and am trying to figure out a way to draw Unity's GUI onto a 3D object. This would be used for sports scoreboards, in-game computer screens, and especially UI's with dynamic transitions.

So far I have tried making a camera that renders to a RenderTexture and drawing the RenderTexture onto the object. I have had mixed success, GUIText and GUITextures runder just fine but anything created using the newer more flexible Unity GUI code does not render in RenderTextures nor do they have the ability to render on one camera exclusively.

I have tried to use a system of activating and deactivating selected GUILayers so that the GUI will only draw to one camera specifically but all of this is moot if I can't get Unity GUI to draw through a RenderTexture.

Does any one have any idea what I can do?

ps AngryAnt I saw you mentioned in this question:

http://answers.unity3d.com/questions/54/can-i-use-unitygui-to-make-a-3d-gui

that you were working on a hack-around, have you made any progress that you can share?

more ▼

asked Dec 10 '10 at 05:09 PM

CountingLampPosts gravatar image

CountingLampPosts
1 1 1 4

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

0 answers: sort voted first
Be the first one to answer this question
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:

x3689
x475
x313
x193
x8

asked: Dec 10 '10 at 05:09 PM

Seen: 1918 times

Last Updated: Dec 10 '10 at 05:09 PM