Jump to content

[solved]after multiplying vel by denity, vel bbox still 1px larger. Why?


Recommended Posts

Hiya,

In order to make the bounding boxes for my density and my velocity volumes the same size, I thought multiplying vel by density would be a good idea.

In theory it was...

After this multiplication, the vel volume's bbox ist still 1 px larger than the density bbox, and that goes for every dimension. Why is that so? 

Edited by Whatsinaname
solved
Link to comment
Share on other sites

it's because in the old Smoke Solver vel is voxel face sampled and density is voxel center sampled so their actual voxel grids are not only misaligned from each other, but also all 3 grids within vel are misaligned from each other, there was a reason for that historically

you can sim vel as center sampled by changing Smoke Object/InitialData/VelocitySampling to Center

but new Smoke Object (Sparse), whether you sim sparsely or not has it set to Center by default

Edited by anim
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...