uhlik / bpy

blender python scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conversion to Animation with original point cloud colour

henrymorgan95 opened this issue · comments

I am trying to animate the pointcloud using blender forces but if I convert the ply to a mesh, the colour is correct and baked into each 'cube' (for example) however it cannot be animated using forces. Likewise when I convert the ply to a particle system - it can be animated but the colours are missing.

Am I missing a step in either process or is this not possible yet for the addon to animate a coloured mesh conversion or colour a particle system? Loving it so far, hopefully it is possible!

commented

if i remember right, particles take color from baked uv texture on emitter. convert operator should do this for you. but color will be visible only in render (cycles).

Thanks so much for the quick reply! I'm fairly new to using nodes, I'm having trouble finding the correct convert operator, I'm not quite sure what you meant. Apologies if this is basic haha:

So - convert point cloud to cubes

  • make the 'cube' cloud an emitter (is the uv texture already baked into the cubes here?)
  • then I'm not sure, use a convert operator on the shader nodes but I'm not sure which

I'm sure this is a lot but would really appreciate the help. Here's a screenshot that might show where I'm going wrong
!
uhlik question

commented

if you are using pcv from this repository, go pcv > convert > set type to particle system > click convert. all will be done in one click. points will be converted to emitter mesh, added particle system to emit single particle from each face, then points colors will be baked to uv texture on emitter so particles get color and if i remember right event material for instance will be added using that color attribute. try it, you will see what you get. but it may not work in newer blender. blender 2.81 was the last version pcv 0.9.x was working correctly and was tested on.