portaloha.blogg.se

Sidefx houdini 16
Sidefx houdini 16











  1. #Sidefx houdini 16 how to
  2. #Sidefx houdini 16 code

Rotangle = acos ( dot ( currTan, nextTan ) ) Also try to give reasonable names to your variables and nodes. For example, give tags what the following lines are ment to do.

#Sidefx houdini 16 code

VEX code comments will start with a double slash //. Dropping in comments of what you are doing will help you structure your work. If you don’t care about other people understanding your code then you should at least do it for your future self and to organize your thoughts. We very very strongly encourage you to comment and document your code as much as possible.

#Sidefx houdini 16 how to

How to look at the spreadsheet The “test” attribute with a value that we assigned in the vex code. It will allow you to view information carried by every point, vertex, primitive or detail information in the current node. The geometry spreadsheet is a special tab that is located by default near the scene view tab. We will learn more about attributes in a later tutorial.

sidefx houdini 16

= valueName  This way you will be able to see many more values inside the geometry spreadsheet.

sidefx houdini 16

However, if you later learn what attributes are it is much better to just store the values you want to inspect inside an attribute e.g. This will open a console window to view the output. Inside VEX code, the main programming language, you will encounter in Houdini, you can use printf (“%f”, valueName)  in order to debug your code.

sidefx houdini 16

This is an example Houdini project taken from their help page of the Copy to Points node. Some node’s help pages contain documented examples that you can instantly load into Houdini to try them out. Hold middle mouse button: Read local information. This will allow you to spot bugs or VEX code errors. Reading a node’s documentation.Īnd never forget, especially if a node is marked with a warning red or yellow, that you can use the middle mouse button to read detailed information of a node. You can also right click on any node to receive information about it’s purpose. Pressing F1 will always open a help display with in detail documentation of how to use Houdini and to understand its functions. Here we point out on important feature of Houdini that you should get used to. Tune into my next rigid body lesson, Rigids IV - Terrain Destruction to see how we're going to do just that.Click here to get to find a link to the Guided Houdini Files. The trick then is how to best balance the look of arbitrarily cut geometry, with the speed of basic convex shapes. Bullet simply works best when all of the rigids are non-intersecting, convex pieces - which is exactly what Voronoi gives us.

sidefx houdini 16

That said, Voronoi fracturing is still the cornerstone of many/most Bullet driven rigid body systems. The new cut planes and booleans in general will open up a lot of new fracturing techniques that until now were only enjoyed by major studios who could afford to develop their own. A solid model in this way can be deconstructed into many small pieces, which is of course great for fracturing! The Cookie SOP (and Shatter SOP, which relies on the underlying Cookie SOP) is the existing way to do this, but never really worked reliably on complex geometry, and as such was useless to do any major fracturing. Lots of really cool stuff in there - especially the new booleans! Booleans refer to taking solid geometry and subtracting, intersecting, or unioning to another piece of geometry.













Sidefx houdini 16