Point Cloud Export Vex function in Vop

   1691   0   0
User Avatar
Member
24 posts
Joined: July 2007
Offline
Hi Everyone!

The basic idea (as you wil see in the hip) is colorize a simple grid with an animated metaball with attribute transfer, and try to accumulate the color information from the grid into a prescattered pointCloud file.

To test it out I made an attribute called myvalue with an initial value of 0.2 to the pointCloud. Write it out to disk.

In the shader the pciterate loop and the pcimport function seems to work well, because of the appearance of the grey spots at the positions of the pc points. But after comparing the “myvalue” with the luminosity of the shaded pixel, do not exporting the higher value into the pointCloud file. I would expect that -after rendering the sequence- the pc-file containing the updated values than the initial ones, so I could see the “path” of the traveling white circle as the grey points becoming white.

How should I rewire the network to write back data into an existing pc file's special channel?
(btw. I have to solve this in vop, because I have to expand an allready existing shader)

I'm stucked, so any advise will help.

thx
Feri

Attachments:
pcexport.hip (188.1 KB)

  • Quick Links