XaiJu
b2bk
b2bk

patreon


[Free TOE] Create a pointcloud from ANY 3d object in TD

Hello hello

Some of you are asking me how to convert 3d objects (obj, fbx) into a pointcloud, and so could be manipulated in TOPs like any other points.

Let's try with an octopus model (it was previously unwrapped and contains a color texture)

The original model is from "rayleighsyafiq" and was downloaded on Sketchfab for free.


I found a method with facetSOP, pointSOP & SprinkleSOP and later RemapTOP in order to get proper position and color data for our pointcloud.

Once you have POSITION & COLOR images, please refer to my previous tutorial to get further !


Hope it's useful


Comments

Yeah! The mask should be black and white, so it doesn't have effect on remaining points and the alpha can be written "a" in the active parameter. That's it! Glad it worked for you. Enjoy.

B2BK

Aaah ok I think I found it, I was multiplying a color mask, not a black and white one, so positions were messed up, thanks for the help!

Kwato

Ok thanks! So I just tried (it was messed up) but not sure if I'm doing it correctly, or if I'm multiplying at the right time in the position chain. Do I need to UV remap the alpha mask then multiply it with the final position texture? Also not sure what to set in the Active channel, should it be "a" for alpha?

Kwato

It's an excellent idea. You can totally do that! The resulting alpha mask should be multiplied with the position data, to get transparent pixels, then used during instancing as the "active" channel

B2BK

Would it be possible to use alpha transparency in the texture image (thinking chroma keying) to cutout/mask parts of the generated pointcloud? Or it needs to be done at another level? Thx!

Kwato

Ah yes that was it. I'm running 2022.35280

Snacks Daily

Hi. Which version of TD are you using? Is there an attribute on the SprinkleSOP called "surface attributes"?

B2BK

Running into an error on this one. I don't get any UV coordinates when I use this signal flow. If I bypass the sprinkle SOP then the UVs are back. This is the case even with the test .toe you've posted.

Snacks Daily


More Creators