Export point positions and color from dds textures

   2333   5   0
User Avatar
Member
11 posts
Joined: Dec. 2017
Offline
I'm trying to export my kinect2 pointcloud from vvvv to Houdini with 2 Point Attributes: Cd 3flt (Vec) , P 3flt (Pos).

So I recorded those 2 point attributes to dds texture sequences, how do I recreate the point cloud in Houdini now?
User Avatar
Member
37 posts
Joined: Aug. 2015
Offline
drop a COP2 sop into a geometry. Set it to points mode.
Each generated point refers to a pixel on the image plane.

Inside the cop net, load your dds images and unpack the values where necessary and output 2 planes named P and N.

The cop will write P and N to the generated point attributes.
User Avatar
Member
11 posts
Joined: Dec. 2017
Offline
Nicolas, thank you for the answer!

Nicolas Longchamps
load your dds
Well, it looks like Houdini doesn't support dds
User Avatar
Member
37 posts
Joined: Aug. 2015
Offline
Should be simple enough to convert them.
Any reason you are using .dds textures? I imagine S3 texture compression would be horrible for storing positional data. Can you output to another format with a higher bit depth? preferably float16 or 32?
User Avatar
Member
11 posts
Joined: Dec. 2017
Offline
Nicolas Longchamps
Any reason you are using .dds textures?
I guess that’s my options:

Attachments:
DX11.Particles export.png (3.4 KB)

User Avatar
Member
11 posts
Joined: Dec. 2017
Offline
I ended up converting DDS textures to exr with adobe AE. For this I needed to download DDS adobe plugin. Everything works fine now.
  • Quick Links