Announcement

Collapse
No announcement yet.

Vray Sun and maxscript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vray Sun and maxscript

    When I create a Sun in the GUI it asks me if I want to put the sun/sky in the enviroment slot.

    (I usually take it out and then put it in the vray overide enviorment slot).

    How do I create a sun and link it to the default behaviour sun/sky material?

    (IE linked to the newly created sun but without a manual sun node)

    I know this much:
    Code:
    V = Vraysun pos:[10,10,10] target:(t = targetobject pos:[0,0,0] name:"VraySun_target")
    how do I think link in a VraySky material and make it automatic.

    also lookin at this sun,created by the script, the light object is pretty tiny, how do I make it bigger?

  • #2
    There isn't anything to link in particular; if "manual sun node" is not specified, then the VRaySky texture will automatically find the first enabled VRaySun light. You just need to create and plug the texture where you need it.

    The size of the VRaySun icon depends on the distance to the target, so just creating them a bit further apart will take care of this. This will not have an effect on the rendering, as only the sun direction is taken in consideration.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment

    Working...
    X