[Free TOE] Create a pointcloud from ANY 3d object in TD
Added 2023-09-15 11:26:25 +0000 UTCHello 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
2024-03-28 14:52:00 +0000 UTCAaah 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
2024-03-28 14:14:58 +0000 UTCOk 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
2024-03-28 14:02:13 +0000 UTCIt'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
2024-03-28 13:44:58 +0000 UTCWould 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
2024-03-28 13:39:15 +0000 UTCAh yes that was it. I'm running 2022.35280
Snacks Daily
2023-10-26 16:07:36 +0000 UTCHi. Which version of TD are you using? Is there an attribute on the SprinkleSOP called "surface attributes"?
B2BK
2023-10-26 15:32:02 +0000 UTCRunning 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
2023-10-26 15:29:17 +0000 UTC