Its rather straight forward using the Curve Advect tool and drawing the curves the guides should align to. There is a Surface Lift parm on the Volume Velocity from Curves that defaults to 0.5 or something. Might want to set that to 0. The Voxel Scale parm can also be lowered to get the guide closer.
Found 444 posts.
Search results Show results as topic list.
Technical Discussion » slicked fur/hair, getting fur to lie closely against skin during groom
- bonsak
- 459 posts
- Offline
Technical Discussion » slicked fur/hair, getting fur to lie closely against skin during groom
- bonsak
- 459 posts
- Offline
Try Guide Advect after initial Guide setup. That`l give the Brylcreem look you are after.
-b
-b
Edited by bonsak - April 1, 2019 09:52:41
Technical Discussion » Shelf Tools - Script per tool
- bonsak
- 459 posts
- Offline
You can put your python stuff in $USER_PREFS/python2.7libs/yourcoolpythonstuff.py
and then just use import in your tools script section:
def greeting(name): print("Hello, " + name)
import mytoolstuff yourcoolpythonstuff.greeting("Bonsak")
Edited by bonsak - April 1, 2019 09:28:23
PDG/TOPs » how to get 'PilotPDG'
- bonsak
- 459 posts
- Offline
Technical Discussion » overwrite TOPs output?
- bonsak
- 459 posts
- Offline
Im also a little confused by this exact behavior. Dirty and Cook doesnt seem to regenerate the nodes output if its already present on disk. Right click -> Delete output and then Dirty and Cook is what i end up doing.
-b
-b
Technical Discussion » VEX constants for type limits and common math values
- bonsak
- 459 posts
- Offline
Technical Discussion » VEX constants for type limits and common math values
- bonsak
- 459 posts
- Offline
Take a look at $HFS/houdini/vex/include/math.h" You can include math.h in vex like this: Then those definitions will be available in your code. etc.
You can also make you own definitions and include them when needed. Make a file “mystuff.h” and use #define to set your own constants like this, and place the file in YOURPREFSDIR/vex/include/mystuff.h.
To use it in vex put #include <mystuff.h> in your vex code.
-b
#include <math.h>
f@debug = M_TOLERANCE
You can also make you own definitions and include them when needed. Make a file “mystuff.h” and use #define to set your own constants like this
#define VERYSMALLNUMBER 0.00000000000000001
To use it in vex put #include <mystuff.h> in your vex code.
-b
Edited by bonsak - March 30, 2019 05:38:03
Technical Discussion » How can I get a directional bbox of a more complex rotated shape?
- bonsak
- 459 posts
- Offline
Technical Discussion » Focus Distance Of Redshift Camera
- bonsak
- 459 posts
- Offline
Hi
You can also use a little bit of hscript (that @tamte showed me) in the Focus Distance parm in the Sampling tab of your camera. This expression gets the distance from the camera to another object:
In this case the expression points to a null object called “focus_target”. This can be any object you want.
-b
You can also use a little bit of hscript (that @tamte showed me) in the Focus Distance parm in the Sampling tab of your camera. This expression gets the distance from the camera to another object:
vlength(vtorigin(".","../focus_target"))
-b
Technical Discussion » For loop_access detail attribute
- bonsak
- 459 posts
- Offline
Hi
Just make sure to set the path in the detail expression to point to the node you want to pick up your attribute from.
-b
Just make sure to set the path in the detail expression to point to the node you want to pick up your attribute from.
-b
Houdini Indie and Apprentice » How to use attribute in expression?
- bonsak
- 459 posts
- Offline
Hi
Promote your vertex attribute to Primitive if you want to use it for extrude values in Poly Extrude. Set Divide Into to Individual Elements and set Distance Scale to your custom attribute. Then use Distance as a multiplier :
-b
Promote your vertex attribute to Primitive if you want to use it for extrude values in Poly Extrude. Set Divide Into to Individual Elements and set Distance Scale to your custom attribute. Then use Distance as a multiplier :
-b
Edited by bonsak - March 22, 2019 19:27:33
Technical Discussion » Mountain SOP issue ...
- bonsak
- 459 posts
- Offline
Try to add normals to your incoming geo. Maybe in a wrangle like this:
-b
@N = set(0,1,0);
-b
Edited by bonsak - March 22, 2019 12:35:57
Technical Discussion » Nearpoint function adapt limited points
- bonsak
- 459 posts
- Offline
Hi
Will search points 0-20
Will search points with Cd.x lower than 0.1
Will search points in the group pointgroup
etc etc
Regards
Bonsak
i@foundpt = nearpoint(0, '0-20', @P);
i@foundpt = nearpoint(0, '@Cd.x<0.1', @P);
i@foundpt = nearpoint(0, 'pointgroup', @P);
etc etc
Regards
Bonsak
PDG/TOPs » Deadline Scheduler -> $HFS/bin/hython" is not rooted error
- bonsak
- 459 posts
- Offline
Great! I figured out that i could just set the path to the hython executable in the Plugin Key values parm directly on the deadlinescheduler. And if i set Remote Shared Root to the same as Local Shared Root, i dont have to do any path remapping in DL. At our studio the two are always the same path but the root path can be different from project to project so it didnt make sense to have a global remapping of __PDG_SHARED_ROOT__ in DL.
Regards
Bonsak
Regards
Bonsak
Edited by bonsak - March 19, 2019 16:36:29
Technical Discussion » Simple render queue for one machine?
- bonsak
- 459 posts
- Offline
Check out Juraj`s background render script as well:
https://github.com/jtomori/hou_bg_render [github.com]
Deadline is gold though.
-b
https://github.com/jtomori/hou_bg_render [github.com]
Deadline is gold though.
-b
PDG/TOPs » Deadline Scheduler -> $HFS/bin/hython" is not rooted error
- bonsak
- 459 posts
- Offline
PDG/TOPs » Deadline Scheduler -> $HFS/bin/hython" is not rooted error
- bonsak
- 459 posts
- Offline
I see.
Setting path swapping to this:
still gives an error in DL:
Should it be looking for hython.exe instead of hython?
Regards
Bonsak
Setting path swapping to this:
still gives an error in DL:
Error: Executable "C:/Program Files/Side Effects Software/Houdini 17.5.173/bin/hython", does not exist. (System.Exception)
Regards
Bonsak
PDG/TOPs » Deadline Scheduler -> $HFS/bin/hython" is not rooted error
- bonsak
- 459 posts
- Offline
Hi
Im trying to set up a super simple tops network with a Deadline scheduler. When i try to cook the “ropgeometry1” the job is submitted to Deadline but i get the following error on the job (the deadline_jobpreload.py finishes just fine):
I have modified the Houdini plugin in Deadline to include 17.5 and have defined the path to the exe like this:
This is similar to how all the older versions exes are defined.
How am i supposed to set up the DL scheduler for this to work?
DL 10.0.8.3 H 17.5.173 INDIE WIN10
This is a local repo running on my laptop with one slave.
Regards
Im trying to set up a super simple tops network with a Deadline scheduler. When i try to cook the “ropgeometry1” the job is submitted to Deadline but i get the following error on the job (the deadline_jobpreload.py finishes just fine):
Error: Executable "$HFS/bin/hython" is not rooted, and does not exist in the current directory or in the PATH. (System.Exception)
C:\Program Files\Side Effects Software\Houdini 17.5.173\bin\Hython.exe
How am i supposed to set up the DL scheduler for this to work?
DL 10.0.8.3 H 17.5.173 INDIE WIN10
This is a local repo running on my laptop with one slave.
Regards
Edited by bonsak - March 15, 2019 16:11:48
PDG/TOPs » Posts moved to new thread - deadline scheduler path issue
- bonsak
- 459 posts
- Offline
PDG/TOPs » Posts moved to new thread - deadline scheduler path issue
- bonsak
- 459 posts
- Offline
Sorry for posting in the wrong thread.
I still cant figure out how to set this correctly. If the hipfile is located here: C:\Users\bonsak\Desktop\TestdeadlineTops
What should the Local Shared Root Path be set to.
This is a local Deadline installation on my laptop, so C: is accessible for the local slave. Repo path is C:\DeadlineRepository10
regards
Bonsak
I still cant figure out how to set this correctly. If the hipfile is located here: C:\Users\bonsak\Desktop\TestdeadlineTops
What should the Local Shared Root Path be set to.
This is a local Deadline installation on my laptop, so C: is accessible for the local slave. Repo path is C:\DeadlineRepository10
regards
Bonsak
-
- Quick Links