Tutorial - Creative Procedural Library | Bookshelves for Houdini - BooKit 1.0
Teaser: [ Ссылка ]
More info: [ Ссылка ]
Available at: [ Ссылка ]
More infor: [ Ссылка ]
Many thanks to Mimo(artstation.com/mimo_bkk) for his supervising on this project.
0:00 Overview
0:11 Explain Concept
1:19 Tutorial Start
4:31 Integrate with 3D models
6:15 Breakdown Examples
Narration:
Creating a diverse bookshelf and placing everything manually on it can be a tiresome and repetitive task. This motivates me to design a set of rules that can somewhat resemble the patterns observed in real life bookshelves.
How it works: All bookshelves of any shape have these singular cells. Depending on how you define them, they can be different in sizes & area. From here, we classify all cells into 2 main groups: homogeneous & heretogeneous (or unmixed & mixed for shorter terminology).
Why? Because there are 3 generated classes in this system: vertical books & horizon books & the item procedural placement. From condition 1 & 2, we decide the simple rules are: the unmixed cells can host only 1 out of the 3 mentioned classes. And the mixed cells are allowed to host all of them. This simple rule combined with controllable parameters can allow for a rather diverse and colorful generated results. Let’s dive in the actual HDA package itself.
We have the basic shapes with the quickPattern I quickly built into an HDA here. Next, drop down copytoshelf. In the shelves tab, turn on visualize type. This will allow you to see how you classify the shelves before generating anything. Turn on the typeAttrib in copytoshelf to see the actual types being displayed here(in copytoshelves).
By default we are in “Mixed” mode, therefore you can see that all of the cells are mixed & can host 3 generated data class in each. Switch to “Unmixed”, then you have the opposite like we discuss. Switch to both, then you’ll have both. Depending on what you need, we have all the parameters to artistically control everything you intend to do in a precise way. For example, the parameter here determine the percentage of mixed cells as you can see in the viewport. Right now we’re gonna leave it at “unmixed” mode. And I think it’s pretty clear as I change the percentage of these 2 parameters, you can see what’s going on. If you just want item, you have all item, if you just want vertical book, you have vertical book, and vice versa.
For the mixed mode, we’ll demonstrate on just one single cell, so you can see better what we’re doing. And, it’s pretty much the same thing. We have the percentage control to art-direct what we want to have. And if you have multiple cells, this parameter number will be applied to all of them. You might be wondering, isn’t that kind of repetitive? Well, that’s up to you to decide, because you can change these values per cell by using primnum , with the new workflow, TOPs to generate different values, or just with the detail iteration of the forloop. If you’re in “Both” mode, then obviously, this is gonna give you a more diverse looking result. And you have all the controls for this as well.
In BookTab here, you can further customize the way how your books look. For example, changing the density of books. You have the size min/max. The initial tilting of the books & another additional layer, I call it the lazySlide. Right now, it looks uniform, because it’s in uniform mode. The Random option gives you a more rugged look. For the horizontal books, you have pretty much the same thing to offset slightly the position to get rid of the generated look. If it’s inconvenient to switch between horizontal and vertical, turn on Both so you can have all parameters presented.
With the item, you have the scaling to determine how your item should fit with the shelf. The seed to change the item placement, the orient. This tab works universally for all items that you plug here//show item_tab working. If you want to modify exactly how each item should appear in your shelf. The item_importer will be your friend. For example, you just want the pig head to appear 1 time in your shelves. You can set that number. If you want all of the items imported to appear just one time without going by each tab, imagine you have hundreds of item, this is a really nightmare task. Well just press this handy little icon and it will take care of everything.
Once you’re happy with your setup, turn off proxy preview. Drop down Bookit material node. In this node, just point to your book texture folder. And it will automatically scan every texture you have in the folder to assign the texture to each book. You have the seed to change the texture assignment, the page color here. And voila, that’s pretty much it.
If you like to have your material setup in the mat context...
Ещё видео!