SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
[Sidefx-houdini-list] Compiled .vex via SOHO?
Friday, 30 December 2011 Fri, 30 Dec '11
THanks Andrew, That's where I started but it doesn't work :( Or rather, it only works on "native" VOPnets, and doesn't support vopmaterial or hand-coded VEX nodes... Since SOHO works on everything, that's where I ended up... The workaround is to painfully put cases into the code. "vopmaterial" I have to either unlock (very slow as it brings in the VOPnets) or expand the OTL and find the VEX code. Hand-coded, I have to hunt down the .vfl and compile it. I'm sure there are other cases.... Hopefully Soho "just works" (once I have it explained to me :) Cheers, Peter B On 30 December 2011 15:10, Andrew Lyons <tstexture at gmail.com> wrote:
Hi Peter! This might be what you want. It's not soho though... hou.Node.saveToCompiledVexFile() Happy new year!! Cheers On 30 December 2011 15:00, Peter Bowmar <pbowmar at gmail.com> wrote: > Hi, > > I just sent this to Support but I bet (and really, hope) that they > won't see it until Tuesday... So maybe someone else has hit this? > > > > I need to get the compiled .vex file from any SHOP via a script > (Python). It seems to me that Soho should offer this, since at some > point the .vex file is (optionally) embedded in the IFD. > > > > I tried tracing back through the Soho code but I can't follow it. It > looks like maybe sohoglue.processShaderString() might be involved, but > I tried it and it returned nothing (shader name in first list value, > empty string in 2nd list value). I can't find docs for it so I'm not > sure what it's supposed to be doing. > > > > Am I on the right track? Can anyone provide an example that, given a > /shop/SHOPNAME returns the compiled .vex code? > > > > -- > Cheers, > > Peter B > > --No, I am not on Facebook. > _______________________________________________ > 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 ======================================= _______________________________________________ Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list-- Cheers, Peter B --No, I am not on Facebook.