[Sidefx-houdini-list] Reg spec and diffuse passesI

Andrew Lyons tstexture at gmail.com
Thu Oct 6 11:32:38 EDT 2011


Hi Vigneshwar,

It's difficult to advise on your problems without a scene file, and without
fully understanding your goals. This is especially the case in regards to
your second problem. You might try reducing that problem into multiple
smaller problems and then solving each one of those in turn inside the
Houdini UI. If you get stuck with one of these smaller problems it will be
more possible for people here to advise you if you post here, or on the
forums.

In regards to your first problem, if you are sure you have set your ROPs up
correctly, then problems exporting default image planes from a default SESI
shader is something SESI support can probably best advise on.

Good luck!

Cheers


On 6 October 2011 08:10, Vigneshwar Viswanathan
<vigneshwarv at hotmail.co.uk>wrote:

>
> hi there,my first post in the houdini list.1)I have been struggling with
> rendering spec and reflection passes using image planes?       I have set
> the vex variable to combined reflect for the image plane,reflection seems
> ok.but for combined specular i was not able to see any image getting
> rendered out.all I see is a black screen
> 2) I have been using takes to render out reflection and spec pass and
> everything seemed to look ok.but when i decided to do that using
> scripting.takes are not working perfectly.               below is the code
>
> sh=hou.node('obj').createNode('shopnet','testshop')msurf=hou.galleries.galleryEntries("mantrasurface")[0]node=hou.node('/obj')klig1=node.createNode('hlight','KeyLight1')flig1=node.createNode('hlight','FillLight1')rlig1=node.createNode('hlight','RimLight1')
>
> klig1.moveToGoodPosition()flig1.moveToGoodPosition()rlig1.moveToGoodPosition()
>
> #position the
> lightsklig1.parm('tx').set('536.254')klig1.parm('ty').set('489.605')klig1.parm('tz').set('-91.884')klig1.parm('rx').set('-39.0293')klig1.parm('ry').set('100.776')klig1.parm('rz').set('9.132')
>
> flig1.parm('tx').set('-356.148')flig1.parm('ty').set('475.435')flig1.parm('tz').set('-573.03')flig1.parm('rx').set('-30.582')flig1.parm('ry').set('206.504')flig1.parm('rz').set('7.632')
>
> rlig1.parm('tx').set('-540.86')rlig1.parm('ty').set('402.254')rlig1.parm('tz').set('596.632')rlig1.parm('rx').set('-25.92')rlig1.parm('ry').set('321.352')rlig1.parm('rz').set('-4.37')
>
> msurf.createChildNode(hou.node("obj/testshop"))
> rp=hou.node('out').createNode('ifd','testmantra')#adds a
> takehou.hscript('takeadd -c -p Main spec')#sets to specular
> takehou.hscript('takeset spec')
> hsp=hou.node('out/testmantra/')hsp.parm('take').set('spec')
> #make  it livehou.hscript('takeautomode on')#include all the objects within
> the path definedhou.hscript('takeinclude /obj/ *')
> #hou.hscript('takeinclude /shop/
> *')#changeshou.parm('obj/KeyLight1/shadow_type').set(0)hou.parm('obj/FillLight1/shadow_type').set(0)hou.parm('obj/RimLight1/shadow_type').set(0)hou.parm('obj/testshop/mantrasurface/diff_enable').set(0)hou.parm('obj/testshop/mantrasurface/refl_objs').set(0)#hou.hscript('takeset
> Main')
> hsp.parm('take').set('Main')#hou.hscript('takeautomode off')
>
>
> hou.hscript('takeadd -c -p Main ReflectionPass')hou.hscript('takeset
> ReflectionPass')hou.hscript('takeautomode on')
> hrfl=hou.node('out/testmantra/')hrfl.parm('take').set('ReflectionPass')
> hou.hscript('takeinclude /obj *')#hou.hscript('takeinclude /shop/
> *')hou.parm('obj/KeyLight1/shadow_type').set(0)hou.parm('obj/FillLight1/shadow_type').set(0)hou.parm('obj/RimLight1/shadow_type').set(0)hou.parm('obj/testshop/mantrasurface/diff_enable').set(1)hou.parm('obj/testshop/mantrasurface/refl_objs').set(1)hou.hscript('takeset
> Main')hsp.parm('take').set('Main')
>
> #hou.hscript('takeautomode off')
>
> box = node.createNode('geo', 'box',
> run_init_scripts=True)box.createNode('box')bo=hou.node('/obj/box/file1')bo.destroy()
>
>
> grid=node.createNode('geo','grid',run_init_scripts=True)grid.createNode('grid')gr=hou.node('obj/grid/file1')gr.destroy()
>
> please correct me if im wrong.
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
=======================================
Andrew D Lyons | Digital Artist | http://www.tstex.com
=======================================



More information about the Sidefx-houdini-list mailing list