[Sidefx-houdini-list] Disabling isbound() calls in VEX Builder shaders
pbowmar at gmail.com
Wed Aug 30 04:22:47 EDT 2006
Yeah, for the most part the VEX builder code and the hand-coded code
run the same speed. Might be some exceptions but not enough to worry
about :) Mark E spent a LONG time re-writing the VEX optimizer last
year and it kicks ass.
On 30/08/06, Pablo Giménez <pablogipi at gmail.com> wrote:
> On 8/29/06, Peter Bowmar <pbowmar at gmail.com> wrote:
> > Hi Pablo,
> > No, there is no way to disable this. However, don't worry about
> > it taking CPU time because the VEX optimizer is extremely efficient
> > and will more than likely just not process that stuff...
> Ah! Ok thanks Peter, that is the thing I want to know.
> Then I supposed that the VEX compiler process all of these redundants
> variable assigments in the code generated by VEX, and then VEX from
> the VEX builder is at least as good as harcoded VEX?
> > Cheers,
> > Peter B
> > On 29/08/06, Pablo Giménez <pablogipi at gmail.com> wrote:
> > > Hi list.
> > > I am making some shaders to be used in sprites.
> > > All the time you create a shader in VEXBuilder any parameter check if
> > > it is bounded to any attribute.
> > > So If you see the code generated by VEX Builder for your shader there
> > > one bounding variable and one isbound() call per parameter.
> > > I think that this can consume computing time. maybe a little but when
> > > you are rendering many sprites it could be significant.
> > > So there is a ny way to disable that VEXBuilder generates all the
> > > "bounding checking" code for a given parameter?
> > >
> > > Thanks
> > >
> > > --
> > >
> > > Un saludo
> > > Best Regards
> > > Pablo Giménez
> > > _______________________________________________
> > > 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
> Un saludo
> Best Regards
> Pablo Giménez
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list