DeepSpaceBanana's Sketchbook

This car transform made me think, “what if the car did a 180, or a 90 degree turn by transforming”

that’s a common excuse…“i can’t update my stuff because i’ve been being awesome”

Haha, I will get to it eventually.

This car transform made me think, “what if the car did a 180, or a 90 degree turn by transforming”

You mean like a sequence where the car transforms into the new direction instead of turning regularly?

1 Like

lol, Couldn’t help myself , it had to be done

28 Likes

This is what I am working towards. Combined with your burning shader breakdown and this… Amazing!

1 Like

One More Car Transition shader

14 Likes

I made a quick version of Klemen Lozar’s Fake RBD Fracture shader. I used houdini to store pivot locations for each chunk in additional UV channels and then controlled the fracture in the shader, you’ll find the setup below.

Houdini Export Setup:

Point Wrangle Code:

Mesh Pre-Fracture:

Shader in Unreal using Pivot Painter Data:

42 Likes

Whooooo, this looks so cool! :smiley:

1 Like

thanks for sharing all the nodes, code and examples! <3

3 Likes

My VEX knowledge is a little limited but it looks like you’re setting the pivot for each piece and putting it in a class or something? Is that close?

1 Like

class is an attribute created by the connectivity Node. I’m creating groups based off that attribute. And setting pivot points at the centroid of each group. If you read the name of the point wrangles, it’ll make more sense.

1 Like

Ahh nice, I believe there’s another tool for this as well, ‘the static fracture exporter’. It creates a subnet with all the pieces and their pivots centered at each piece.

I learnt this as I was looking at taking a fractured object and passing it through apex etc and then into the editor for a destruction object :). Houdini’s destruction tools are particularly intuitive.

1 Like

Unfortunately, I don’t think that would work for this PivotPainter setup, as it breaks them into separate geometry pieces for export,I assume it’s used for the regular RBD workflow,

In this case we export one mesh, we just need to group the chunks and scatter points to the center and match attribute names to use with the PivotPainter SOP.

2 Likes

We’ve used this trick a couple times over the years since Jon first wrote the pivot painter script, one thing to play with that’s fun is to use a few cross products to make the rotation axis orthogonal to the impact point so they tumble “away” from the center point of impact, then you can use a random vector to inject randomness into that so they aren’t all perfect.

You can use that same trick to make “impact craters” where the pieces all crumble inward from an impact location as opposed to randomly jumble.

2018-10-31_11-43-09

Related to Houdini, you can use extract centroid aftter your connectivity sop and it autogenerates your pivots for you, and inherits the name attribute, which runs right into the pivot painter. A little easier…

27 Likes

Aah, clever, I hadn’t thought about that!

Really late to this party but, started playing around with render Targets in UE4 recently, some interactive snow type thingy.

17 Likes

“…I don’t feel so good…”

1 Like

Thanks for your suggestions! I’ve been having a lot of fun with this this morning

pivot_shrunk

tileflip_shrunk

4 Likes

Nice! Lots of cool things we could potentially do with Pivot Painter.

Trying to recreate the tesla tube thingy I saw at Madam Tussauds. Procedural Shader No textures, still don’t have the nice arcing you see in the video reference as well as the random sparking. Link to tweet with Video reference https://twitter.com/DeepSpaceBanana/status/1109131871776997378

7 Likes

Something I’ve been experimenting with for my MA Project, Analytic Simulated Shaders with distance fields for Interactive Ambient weather effects (Blowing leaves etc).i.e the sprites are not particles but a single staticmesh Based on @ ShaderBits talk from GDC.

11 Likes