Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

3d inside a window.

Discussion in 'Immediate Mode GUI (IMGUI)' started by hosse, Mar 1, 2011.

  1. hosse

    hosse

    Joined:
    Feb 22, 2011
    Posts:
    61
    I am coding a data visualisation application, it has a GUI system which one of the features will be a 2d image viewer and 3d model viewer which i'll call in a unitypackage like an in game 3d inventory viewer.

    I'm not convinced render to texture would be the best idea as I need to be able to move, rotate and interact with the 3d unitypackage model.

    What might be the best route for this? How can I render a 3d model inside a GUI rect?

    -Hosse
     
    Last edited: Mar 1, 2011
  2. pakfront

    pakfront

    Joined:
    Oct 6, 2010
    Posts:
    551
  3. hosse

    hosse

    Joined:
    Feb 22, 2011
    Posts:
    61
    Thats one option but how can I call and kill this inside a script?

    Also, how to I set up layers so a camera will render only those specific layers?
     
  4. pakfront

    pakfront

    Joined:
    Oct 6, 2010
    Posts:
    551
    Last edited: Mar 9, 2011
  5. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    this looks interesting . Is there any easier way to explain how to do this ?