non rectangular viewport


    Apr 17 2008 | 11:02 pm
    Hi all!
    Does somebody know how to porject a non rectangular viewport? I'm
    trying to fix the viewport to the face vertices of a cube, and then
    move the camera arround.
    Some ideas in that way?
    Thanks in advance!!
    j

    • Apr 18 2008 | 7:57 am
      On Fri, Apr 18, 2008 at 12:02 AM, Jordi Puig wrote:
      > Hi all!
      >
      > Does somebody know how to porject a non rectangular viewport? I'm trying
      > to fix the viewport to the face vertices of a cube, and then move the camera
      > arround.
      >
      > Some ideas in that way?
      >
      >
      Are you trying to project an animation onto a cube and move the camera
      around it? I think you're confused with the viewport thing. If you were to
      stick the viewport in the location of a cube's face, you'll be looking out
      of the cube, or into it. You don't "see" the viewport. Its the thing you're
      viewing through. Something like sitting really close to a window.
      Any reason why render-to-texture wouldn't do the job? Look into it if you
      haven't already.
      Thijs
    • Apr 21 2008 | 2:57 pm