Announcement

Collapse
No announcement yet.

Maxscript - Access to Antialiasing filter

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

  • Maxscript - Access to Antialiasing filter

    Hi VRay heads,

    The MXS property name for the Antialisaing filter is filter_kernel, and I would expect this to be an Integer based property but it is a MaxObject.

    Code:
    renderers.current.filter_kernel
    Area:(null)
    and
    Code:
    show renderers.current
    ...
      .filter_kernel : maxObject
    ...
    How can I set this property?
    Code:
    renderers.current.filter_kernel=Area
    -- Unable to convert: Area to type: MaxObject
    I read a little here, but this is quite old and doesn't quite answer the questions!

    http://www.chaosgroup.com/forums/vbu...=filter_kernel

    Some other fun:
    Code:
    classof renderers.current.filter_kernel
    Area
    superclassof renderers.current.filter_kernel
    filter
    renderers.current.filter_kernel.classid
    #(2006000385, 0)
    renderers.current.filter_kernel.superclassid
    4256

    Thanks for looking!

    J.
    www.minmud.co.uk

  • #2
    The filter kernel is a 3ds Max plugin (like textures etc); it is not an integer number. The correct way to set it is like this:
    Code:
    renderers.current.filter_kernel=Area()
    - note the parentheses.

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

    Comment


    • #3
      Hi Vlado,

      Thanks for clearing this up!


      Josh.
      www.minmud.co.uk

      Comment

      Working...
      X