Hi
I have a question about gas particle to field, how can i affect exactly one voxel's value for each one particle?
“accumlate” use trilinear interpolation thus it affect exactly 8 voxels,
and regardless of how small pscale is ,turn “extrapolate” off, it at least affect 27 voxels…
is there any way to solve this without HDK?
Very simple field question
2727 8 0- liuxiaolin
- Member
- 53 posts
- Joined: May 2010
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
- liuxiaolin
- Member
- 53 posts
- Joined: May 2010
- Offline
eetu
I would try with a volume vop sop inside a sop solver. Open up the particles as a point cloud, filter, check if inside current voxel..
Yeah, volume vop + point cloud
but voxel is cube ,and pcopen with a radius is a sphere, this will include judgment of inside or outside of a cube, pcopen+while+if cause the volume vop incredible slow maybe there is another better way :?:
- zdimaria
- Member
- 390 posts
- Joined: Jan. 2012
- Offline
- liuxiaolin
- Member
- 53 posts
- Joined: May 2010
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
liuxiaolinzdimariaI do not understand you very well,would you please put an example scene? thankyou very much. :?
I think eetu means use volumesample() to check.
I'm not sure either
I don't see how volumesample() would work, as we are in a Volume VOP SOP, inside a voxel, looking at a point cloud.
I'll have to try how to do this..
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
- liuxiaolin
- Member
- 53 posts
- Joined: May 2010
- Offline
- zdimaria
- Member
- 390 posts
- Joined: Jan. 2012
- Offline
-
- Quick Links