Loading point cloud in a shader with instanced volumes

   1880   1   0
User Avatar
Member
250 posts
Joined: 2月 2013
Offline
Hi everyone,

I am currently using the instancing to do some pyro stuff, so I have points and each points are instancing a container. But I have many points, so the instancing is pretty efficient.

So I am using the Instance node, in the object level, and inside I'm loading the points that will later be containers when rendered.

But I am also loading points as a point cloud in the shader of the volume, each point has a color and that color is transfered on the diffuse's volume. So it's working fine with classing volume, but it's not working when it's instanced. So I tried with a copy stamp, with the volumes being packed before copying, it works but it's very heavy and the render is not efficient because there is so many container that are on top of each other that it's taking ages to render. So I used the volumestamp sop, and it's also working, but again it's very heaving to make each frame, because the final container is pretty big, even with vdb.

So my question is, can I avoid these two methods, the copy stamping and volume stamping, and just keep using the instancing but still be able to load my point cloud in my shader ? Or is it just not possible ?

Thank you,

Tom
https://vimeo.com/obreadytom [vimeo.com]
User Avatar
Member
250 posts
Joined: 2月 2013
Offline
Oh wait, surprise, it seems to work now…
https://vimeo.com/obreadytom [vimeo.com]
  • Quick Links