Try adding an attribute to each agent, an index which is in the range of 0-number of states.
Put the Trigger into VEX mode and examine the attribute. If they match then set the flag to true. I don't have Houdini in front of me right now but I think the flag is called i@trigger.
You also need to setup a node with VEX code that runs every frame. This is how you can detect if your clip time has reached the end. When you detect you are at the end of a clip just regenerate a new index for that agent and assign it to the attribute that the triggers are monitoring.
Found 2516 posts.
Search results Show results as topic list.
Technical Discussion » Make crowd switch randomly between states
- Enivob
- 2529 posts
- Offline
Houdini Learning Materials » Custom Scatter tool
- Enivob
- 2529 posts
- Offline
There are a lot of nice example files on this website.
http://www.tokeru.com/cgwiki/?title=Houdini#Instance_with_rotation [tokeru.com]
Several of your requests are demonstrated with example files.
http://www.tokeru.com/cgwiki/?title=Houdini#Instance_with_rotation [tokeru.com]
Several of your requests are demonstrated with example files.
Technical Discussion » Fonts From OSX Font Manager Do Not Show Up In Houdini?
- Enivob
- 2529 posts
- Offline
Hi All,
I just noticed that the fonts from my font manager on OSX do to show up in the font list inside Houdini H15.
Is there a way to enable these fonts?
I just noticed that the fonts from my font manager on OSX do to show up in the font list inside Houdini H15.
Is there a way to enable these fonts?
Houdini Indie and Apprentice » Window breaking - questions
- Enivob
- 2529 posts
- Offline
If you have everything glued together right then the pieces should remain in the window frame as expected.
Houdini Learning Materials » Trying to attach multiple Geometry to a particle system
- Enivob
- 2529 posts
- Offline
The basic concept is on the point input side of the copy you setup an attribute that is a random number between 0 and the number of shapes, minus one, you want to use.
Then you connect all your shapes into a switch.
Then you write a stamp expression to fetch that random index value and use a different random index for each point.
The result is random shapes for each point.
Because it is just code, you can play around with other particle attributes to influence shape such as age. Maybe you want more particles to be torus when they are older etc…
Then you connect all your shapes into a switch.
Then you write a stamp expression to fetch that random index value and use a different random index for each point.
The result is random shapes for each point.
Because it is just code, you can play around with other particle attributes to influence shape such as age. Maybe you want more particles to be torus when they are older etc…
Technical Discussion » is there away to convert object to metaball so can uses
- Enivob
- 2529 posts
- Offline
If you are just going for the push-pin effect, maybe this link will help you. It is not metaball related, however.
http://www.tokeru.com/cgwiki/index.php?title=Houdini [tokeru.com]
Scroll down or find “Instance With Effector”.
http://www.tokeru.com/cgwiki/index.php?title=Houdini [tokeru.com]
Scroll down or find “Instance With Effector”.
Work in Progress » Skyscraper Destruction
- Enivob
- 2529 posts
- Offline
Houdini Indie and Apprentice » Great news - 3rd party rendering in Indie
- Enivob
- 2529 posts
- Offline
Houdini Indie and Apprentice » KEY FRAME. CANT PUT IT ON TIMELINE
- Enivob
- 2529 posts
- Offline
To add a keyframe to a parameter ALT-LEFT-CLICK on the field, for instance Translation X. To keyframe X,Y,Z at once ALT-LEFT-CLICK on the word “Translate”
SHIFT-MIDDLE-CLICK on a field or label to bring up the keyframe curve editor for that scoped channel.
SHIFT-MIDDLE-CLICK on a field or label to bring up the keyframe curve editor for that scoped channel.
Houdini Indie and Apprentice » CMIVFX - XML Cities
- Enivob
- 2529 posts
- Offline
It might just be some kind of formatting error in the XML. Notice some nodes end in a /> and some don't.
Houdini Indie and Apprentice » CMIVFX - XML Cities
- Enivob
- 2529 posts
- Offline
You need to at least report the error, dude.
How can we guess? There is a divide are you dividing by zero? Does the import fail? Is there indentation error? The list goes on. If it is cmiVFX training, that training comes with all the assets already typed in. Try using the supplied example file.
How can we guess? There is a divide are you dividing by zero? Does the import fail? Is there indentation error? The list goes on. If it is cmiVFX training, that training comes with all the assets already typed in. Try using the supplied example file.
Technical Discussion » Transfering point glob coordinates and rotation to txt/csv
- Enivob
- 2529 posts
- Offline
One way might be to bring your channel into the Sop level and then drop down a python node for writing out the CSV file.
Maybe you could try dropping python node in CHOPs instead? I have never tried using python in CHOPs, however.
Maybe you could try dropping python node in CHOPs instead? I have never tried using python in CHOPs, however.
Technical Discussion » How to simulate spheres packed like oranges in a store?
- Enivob
- 2529 posts
- Offline
You may want to investigate FEM objects. (Solid TAB Organic Tissue)If you make each sphere a FEM object you get some squash behavior by default. Then you could just drop them into a box/container using dynamics.
Technical Discussion » Channel Expression to Parameter slide and then saving as CSV
- Enivob
- 2529 posts
- Offline
To add your own parameter to the interface click the gear icon then drag one of the fields from the left column into the right column. Each of those entries on the left is of a different type, (i.e. string, integer, float etc…)
To write the value out, drop down a a python node at the end of your network and write python code that moves the play head from start to end frame. Inside each frame change examine the value and write it to your file.
To write the value out, drop down a a python node at the end of your network and write python code that moves the play head from start to end frame. Inside each frame change examine the value and write it to your file.
Technical Discussion » How emit particles , once ?
- Enivob
- 2529 posts
- Offline
It is under the Birth TAB. Look for the green field in my example file. It is right under that.
Technical Discussion » How emit particles , once ?
- Enivob
- 2529 posts
- Offline
The particle system default to continuous emission. Set Continuous Activation to 0 to turn it off, then set Impulse Activation to an expression.
This will only emit particles on frame #1.
$FF == 1
Other expressions are also possible like.
$FF < 12
Will emit particles for the first 12 frames.
This will only emit particles on frame #1.
$FF == 1
Other expressions are also possible like.
$FF < 12
Will emit particles for the first 12 frames.
Technical Discussion » Rough Flip surface
- Enivob
- 2529 posts
- Offline
I would guess you need to turn up the subdivision on the collision mesh and decrease particle separation.
Houdini Learning Materials » Beginner questions
- Enivob
- 2529 posts
- Offline
Here is a thread on maintaining UVs through a VDB conversion.
http://forums.odforce.net/topic/25153-vdb-maintain-uvs/ [forums.odforce.net]
http://forums.odforce.net/topic/25153-vdb-maintain-uvs/ [forums.odforce.net]
Houdini Learning Materials » Beginner questions
- Enivob
- 2529 posts
- Offline
As a new user, I would not worry about making things into an asset yet.
ObjectMerge is your friend.
Many example files can be re-purpsed simply by merging in another object at the top of the network.
This why you often see example work done with a torus, box or sphere.
Everyone knows that the top node can be replaced with an alternate mesh either through an ObjectMerge or a File import. That is how you can swap the pighead, for example.
Nodes are context sensitive so if you don't see one in the menu then that means it probably won't work in that context.
Try moving up one level or down one level and try the menu again.
Here is a nice website with a lot of example files.
http://www.tokeru.com/cgwiki/index.php?title=HoudiniGettingStarted [tokeru.com]
ObjectMerge is your friend.
Many example files can be re-purpsed simply by merging in another object at the top of the network.
This why you often see example work done with a torus, box or sphere.
Everyone knows that the top node can be replaced with an alternate mesh either through an ObjectMerge or a File import. That is how you can swap the pighead, for example.
Nodes are context sensitive so if you don't see one in the menu then that means it probably won't work in that context.
Try moving up one level or down one level and try the menu again.
Here is a nice website with a lot of example files.
http://www.tokeru.com/cgwiki/index.php?title=HoudiniGettingStarted [tokeru.com]
Technical Discussion » Coloring fluid from textured surface
- Enivob
- 2529 posts
- Offline
You might be able to leverage this technique in Yancy's video.
https://vimeo.com/105571343 [vimeo.com]
https://vimeo.com/105571343 [vimeo.com]
-
- Quick Links