Tugcga / Sycles

Cycles render integration into Softimage
5 stars 1 forks source link

Motion blur for native pointlcouds #26

Open Tugcga opened 5 months ago

Tugcga commented 5 months ago

Try to implement motion blur for pointlouds, rendered in native mode (as sphere shapes instead as instances). May be it required define some additional attributes.

Also try to implement motion blur for particles as instances.

Tugcga commented 1 month ago

After some research it turns out that it's not a bug, it's a feature. Native Cycles pointcloud object can be moved by two ways: by changing transform of the root object, and by simulating particles. By default the Cycles use only non-deform motion blur, which defined by changing transform. For render blur of simulated particles it's required to activate Deformation checkbox at Motion tab of the CyclesPointcloud property.

Tugcga commented 1 month ago

Motion blur of ICE-simulated particles rendered incorrectly. The reason in the way to obtain particle positions at time-stamps different from the current render moment.

For motion blur the Sycles loads to the render engine particle positions at several time-stamps. ICE can not calculate proper particle positions before the current time. So, for all these moment it return the current positions. As a result there is no blur effect from previous positions. For next time-stamps it properly simulate particles, and cache it. As a result, if we render the next frame, then all positions before these cached time-stamps will be invalid.

As I understand, it is the problem of the Softimage API. May be there are other methods to obtain particle positions in simulation. But it required more investigations.