Embed a 3d model into a gui window

Hi:
Now I want to implement a unity Gui window which can show 3d model just like character, car and so on. I can drag, rotate the model in the window.
so any advice?

Thanks.

so any could help me ?

I’m working on the same thing, found and answer here, but haven’t tested it yet, also checking to see if there are other ways.

http://answers.unity3d.com/questions/12389/scene-as-a-worldmap-picture-in-picture-scene-in-scene

Although I haven’t tried it myself, I would guess that you could put the object in its own layer, create a camera that renders only that layer and whose viewport is set to a sub-rectangle of the main screen, and then handle mouse clicks that are in that rectangle separately to implement drag rotation and so on.

Now, I’m not sure exactly what you mean by ‘Gui window’, but this wouldn’t be a separate window of any sort; it would just be a ‘picture in picture’ effect. If you need something other than that, perhaps you could clarify your question a bit.

Thanks!

I have read the link page, then tested “RenderTexture”.
yes, it really render a 3d scene to a texture in runtime depends on what’s the camera can see.

Maybe I can use a RenderTexture as my Gui element’s background texture which could be dynamic while running, and it looks like in a 3d world. But how to implement the dragging operation is still unsolved.

So if you get any solutions some time, please share it with me , and so do I.

My English is poor, thanks for your attention.

To Jesse Anders:
Thanks for your idea!

“GUI Window” is that I create a window in my scene by words like “GUI.window(…)” in scripts. When I pop-up the window, it’s showing my avatar’s model which build by 3dmax studio or maya, and I could drag and rotate the model in the window.

All I wanted is that above.

Are there any solution? I am searching a solution in these days :frowning: but I did not find yet