Julian Johnson

Julian Johnson

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Switching Scanned OTLs Based on $JOB via Env Vars? March 15, 2017, 7:04 a.m.

1. Can houdini.env live anywhere else but in $HOME? Jeff W. suggests that you can put it anywhere in this post:

https://www.sidefx.com/forum/topic/13416/#post-63585 [sidefx.com]

But it seems as though the only one Houdini reads is the one in $HOME. Even if it can't find one in $HOME it will make a template one.

2. Can you change HOUDINI_PATH or OTL_SCAN_PATH in 456.cmd after you've double-clicked a .hip file and expect that any new OTLs/HDAs that you add to either path in 456.cmd will be scanned automatically in that session? Or is it too late at that point i.e. those particular env vars need to be set prior to launching?

I am trying to find a mechanism for when a user double clicks a .hip file in a given $JOB such that the specific versions of Arnold and Redshift are loaded associated with that $JOB. Simplest method I can see is if there is a houdini.env sitting in each $JOB (as Jeff suggests) but this doesn't seem to work.

How to get polygon vectors May 11, 2014, 7:18 a.m.

owlYzarc - thanks for pointing that out. It couldn't be more wrong! :-) Back to the drawing board with ForEach. @Chris - apologies for wasting your time on that one!

How to get polygon vectors May 10, 2014, 12:21 p.m.

Hi Chris,

I should have been more accurate in my description of what I was doing. As I understand it, all Partition does is create an independent group for each polygon. The magic happens in the ForEach node. Here it iterates over each group (in this case each polygon) and as it is iterating it treats each polygon as an individual (non-attached) item i.e. each polygon only has four vertices numbered 0,1,2,3. It somehow ignores the overall point numbering from the grid itself and treats the quad as solo entity which is why referencing points 0 to 1 and 0 to 2 works consistently in the expression. All partition does is split your geometry into groups based on patterns etc. At the end of the ForEach cycle the geometry is merged back together and the original point order restored…..at least, that's how I think it works!