Graphics

 View Only
  • 1.  secondary camera used for scene preview

    Posted 05-20-2024 17:47

    Asking for a friend: Is there a way to add a second camera to a scene and use it for the preview frame? A fellow operator has player stat bugs and wants to enlarge them in the preview frame so that he can double check stats. I have tried doing it using render view in a layer object set to render in preview only but it doesn't seem to update as the data changes. Is there a way to do it with script on the onPreviewRender tab?

    Thanks in advance



    ------------------------------
    Malcolm Thorpe
    xpression design
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------


  • 2.  RE: secondary camera used for scene preview

    Posted 05-21-2024 05:24

    OnOnline Script;

    dim cam1 as xpBaseObject
     
    self.GetObjectByName("PerspCamera1", cam1)
     
    self.SetActiveCamera(cam1) 
    OnPreviewRender Script;
    dim cam2 as xpBaseObject
     
    self.GetObjectByName("PerspCamera2", cam2)
     
    self.SetActiveCamera(cam2)
     


    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: secondary camera used for scene preview

    Posted 05-21-2024 10:11

    I just make a Preview Scene Director. Move the camera or objects in that for a zoom. No extra camera necessary.



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 4.  RE: secondary camera used for scene preview

    Posted 05-21-2024 18:09

    Simple, I like it. I will forward to the operator/friend. Thanks Azaroth



    ------------------------------
    Malcolm Thorpe
    xpression design
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------