Houdini Python Homework pt 2
The input area, which loops if you enter something invalid. It's also clamped. BannedColors and BannedRotate are made to hold anything thats been used already, so that we can get unique colors and rotations. The types list holds possible geo types.
It brings up a ui prompt asking for your input, and will simply bring up again if you enter anything but an integer.
The area where I do my math, as well as my node set up. Everything goes into the geoContainer.
The area of the code that actually makes things. All the geo feeds into a merge, which feeds then into color and transform. I used a unit merge so that the code would run smoother and would have to handle less nodes being created.







No comments:
Post a Comment