Results 1 to 9 of 9

Thread: render selected with options

  1. #1
    Registered User
    Join Date
    Aug 2016
    Location
    a place
    Posts
    380

    render selected with options

    hi,

    does anyone know of a way that i could render selected (same as pressing f11) but instead of just rendering the items, unselected items are toggled unseen by camera but retain seen by rays.
    so selected items can be rendered with gi and col bleed from hidden objects being retained.

    the only way i can see to do it is to have a modifed version of the toggle visibility scripts here:

    https://www.lightwave3d.com/assets/p...sibilitytoggle

    thanks

  2. #2
    You'd probably need to make a custom script to do that. LW doesn't have that function natively.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  3. #3
    Registered User
    Join Date
    Aug 2016
    Location
    a place
    Posts
    380
    yeah, thats what i thought too. any takers?

  4. #4
    Sounds like a good opportunity for you to learn scripting.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  5. #5
    Registered User
    Join Date
    Aug 2016
    Location
    a place
    Posts
    380
    hah, well i wondered about the script docs. are they online?

  6. #6
    https://www.lightwave3d.com/lightwave_sdk/

    Understanding how to use them is a different story. You can dissect the scripts that come installed to try to get an idea of how scripts work. Ryan Roye has a tutorial set that goes into how to script.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  7. #7
    Registered User
    Join Date
    Jan 2005
    Location
    Colorado Springs
    Posts
    1,060
    Here you go. It's two scripts: One which walks the list of unselected objects and sets Unseen by Camera and clears Unseen by Rays, and the other sets all objects Seen by both Camera and Rays.

    I wasn't sure if you want to force Seen by Rays, or retain the current settings you've manually set. If you only want the Unseen by Camera option to be effected, you can comment out (with // at the beginning of the line) the lines containing UnseenByRays();

    Note that you'll want to use F9 for single-frame renders rather than F11. The Selected Object(s) will be the only ones rendered, but if you use F11, it doesn't seem to cast reflections from items Unseen by Camera.

    The Unseen by Radiosity and Unaffected by Fog aren't changed, but the scripts could be modified to do so.

    Hope it helps!
    mTp
    Attached Files Attached Files

  8. #8
    Super Member Chris S. (Fez)'s Avatar
    Join Date
    Feb 2003
    Location
    Virginia
    Posts
    2,644
    Quote Originally Posted by MonroePoteet View Post
    Here you go. It's two scripts:
    mTp
    Wow. Nice. Thanks!

  9. #9
    Registered User
    Join Date
    Aug 2016
    Location
    a place
    Posts
    380
    absolutely fantastic. thankyou very much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •