Skip to main content
igorr60572095
Inspiring
December 15, 2018
Answered

Can I implement motion blur in gpu architecture?

  • December 15, 2018
  • 2 replies
  • 1337 views

Hi, everyone!

I am creating a gpu accelerated plugins by gpu architecture which provides PPro.

But I have a question.

Can I implement motion blur?

If so, Can I get the samples?

Thanks,

Igor.

This topic has been closed for replies.
Correct answer Bruce Bullis

Can I implement motion blur?

Yes.

If so, Can I get the samples?

Specifically, what would you like to sample?

2 replies

igorr60572095
Inspiring
December 24, 2018

Ohh, Sorry.
I didn't explain clearly.

Actually I needed to get parameters according to time. so, I could get samples between two frames and implement motion blur by that.

For example:

- CPU mode

err = PF_CHECKOUT_PARAM(in_data, R_SCALE, currentTime - nSampleTime, in_data->time_step, in_data->time_scale, &m_defParam);

if (err) return err;

m_fScale = m_defParam.u.fs_d.value;

I can get scale parameter by the nSampleTime.

- GPU mode ( I found it )

anyParam = static_cast<int>(GetParam(R_SCALE, inRenderParams->inClipTime - nSampleTime).mInt16).

I think I can get the parameters by above way, and sample layers from that, and implement motion blur.

Thanks.

Igor.

Bruce Bullis
Bruce BullisCorrect answer
Legend
December 17, 2018

Can I implement motion blur?

Yes.

If so, Can I get the samples?

Specifically, what would you like to sample?

igorr60572095
Inspiring
December 19, 2018

thanks for your replay.

would you let me know how to implement motion blur by PPro GPU function?

I though I get samples between two frames to implement the motion blur.

For example:

I implemented the motion blur with 16 samples between two frames in software mode.

But I am not sure how I can get the samples in gpu mode.

Regards,

Igor.

Bruce Bullis
Legend
December 19, 2018

The same way you get samples, in CPU mode? I'm not sure I understand the difficulty. Have you implemented your motion blur, in CPU implementation?