[Sidefx-houdini-list] soho.getDefaultedFloat() vs. hou.node().parm().eval()

Andrew Lyons tstexture at gmail.com
Mon Nov 14 22:38:40 EST 2011


Also,

The soho API is reputedly faster. It will also resolve the SOHO property
inheritance properly:

http://www.sidefx.com/docs/houdini11.1/props/#Inheritance

Cheers


On 14 November 2011 19:07, Frederic Servant <frederic.servant at gmail.com>wrote:

> Hi Simon,
>
> Well you've got the hou.node().parm().evalAt{Time,Frame}() variants, and
> you still have to specify the evaluation time as a parameter of
> soho.getDefaulted{Float,Int,String}(), so I don't really see a difference
> here.
> --
> Fred
>
> On Tue, Nov 15, 2011 at 02:50, Simon Bunker <simon at rendermania.com> wrote:
>
> > One thing to bear in mind is that soho.getDefaulted{Float,Int,String}()
> > will get evaulated at the correct time, whereas the hou equivilant won't.
> >
> > Simon
> >
> > On Tue, Nov 15, 2011 at 1:13 PM, Frederic Servant <
> > frederic.servant at gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I'm currently writing an translator with SOHO and I find myself using a
> > > lot soho.getDefaulted{Float,Int.String}() but I sometime use the
> standard
> > > hou.node().parm().eval() to get parameter values.
> > >
> > > Most of the time, when you're not querying some SOHO intrinsic
> parameter,
> > > they seem to work just as well.
> > >
> > > Has anybody more insight on the rationale on which set to use, the
> > specific
> > > features of one way or the other and the implications performance-wise.
> > >
> > > Cheers,
> > > --
> > > Fred
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> 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