[Sidefx-houdini-list] mantra -P - turning off displacements

Sandy Sutherland sandy.maillists at gmail.com
Fri Mar 10 10:46:24 EST 2017


OK thanks Jon,

Will try that one.

S.

On Fri, Mar 10, 2017 at 3:17 PM, jon parker <parker.jon at gmail.com> wrote:

> What about the following mantra flag?  Note that I have never tried it:
>
> from mantra -h:
>
> -Q arg Finer control over render quality
>    If the arg contains a 'b', motion blur is turned off
>    If it contains a 'B', ray-traced motion blur is turned off
>    If it contains a 'f', depth of field is turned off
>    If it contains a 'r', all ray tracing is turned off
>    If it contains a 'i', all irradiance/occlusion is turned off
>    If it contains a 'd', all displacements/subdivisions are
>    turned off
>
> On Fri, Mar 10, 2017 at 7:08 AM, Sandy Sutherland
> <sandy.maillists at gmail.com> wrote:
> > Hi All,
> >
> > We have been using mantra -P to run a python script that replaces all
> > shaders with AO, to get simple clay render.
> >
> > Now I have been asked to do something similar to turn off displacements
> for
> > everything.
> >
> > I am looking at using this -
> >
> > def MaterialFilter():
> >
> > but *mantra.setproperty('object:DispEnable', 0) does not work, and I am
> > guessing the object: part is not right.*
> >
> > *Docs are a little thin on the ground with this particular method.*
> >
> > *Can anyone kindly point me in the right direction?*
> >
> > *If I do this - print *mantra.property('object:surface')[0], I can see
> > DispEnable, but do not know how to set it?
> >
> > Many thanks
> >
> > Sandy
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list