XaiJu
entagma
entagma

patreon


PDG 101 - Pt.7: Product Lineup

It's time to tackle that one job everybody hates: The product lineup! In this episode, Chris shows you how to render hundreds of products, while keeping the client happy and yourself sane.

For more insights on the scene setup watch Mo's tutorial on rendering glass in Redshift: https://www.patreon.com/posts/rendering-101-pt-35806402

And for a second view on automated product renderings we can recommend this Houdini Hive talk by Kyle Sowry: https://www.youtube.com/watch?v=OZIKpyJFLFs

PDG 101 - Pt.7: Product Lineup

Comments

Hi Chris, I'm working with a client and had a succesfull setup importing attributes via CSV, but I was using intergers on the excel to drive a switch, now the client is giving me words instead of intergers on the excel, do you know how can I drive a switch with values? For example, I have imported "Mouth" from the CSV, if "Mouth" return "Carrot", use switch 1, if "Mouth" return "Pipe", use switch 2, and so on (there are more than 2). Here are some images showing what I mean: https://imgur.com/a/tFS4KtS First one is the excel I used (that worked) Second one is a text to see if "Mouth" attrib returns "Carrot" Thirs one is the excel that the client is giving me, I need to output a character with all those settings (Black mask + Dirt background + Hazel eyes) and so on, but I can't figure out how to select each model without a 1, 2 3 switch. Thank you!

Ezequiel Grand

Hey! I'd probably go at it like this: First generate all possible combinations (even the bad ones) and then create rules to filter the bad ones out. For generating you could use csv like in the video, but stacking wedge tops is probably faster. For filtering the bad ones you use ... well, filter tops. So for example: To filter brown characters and brown backgrounds use a filter by expression and compare the color attribs. To get 100 red hat characters, use a split top to separate all red hat characters into a new stream, use a filter by range to only keep the first 100 and merge those back into your main stream.

Entagma_Chris

Hi Chris, thanks for the amazing tutorials! One question, I need to generate a system that outputs 10k random characters, I was using switchs but maybe the spreadsheet method will be better. My question is, how can I set rules for example, if I have a brown character, don't use a brown background? and also, only output 100 characters with red hat? Thanks!

Ezequiel Grand

Thanks! I finally added this as an update to the video description on Entagma.com

Entagma_Chris

Also possible to use if(rint(atof(@Sc_Index)),0,1) to solve it.

GrayNode

Yes! This is working! (Without the backticks, though) Thanks so much for this!

Entagma_Chris

for that string comparison around ~12:30 you can try `strcmp(@Sc_Name, opname("."))==0`

Michael Dunkley


More Creators