[Bf-python] RenderEngine API - fractional frame

Matt Ebb matt at mke3.net
Wed Jul 13 02:49:48 CEST 2011


It's really on a case by case basis... Hair stuff is a bit of a minefield
with some things supported (accessible in RNA) and some not. I think for
dynamics alone though, it might work - I recall I got some basic tests
working ok for at least integer frame motion blur in my renderman exporter,
but I'm not 100% sure about fractional frames.

Part of the problem is that the point cache code in blender used for this
physics stuff has really patchy support for fractional frames, and from
memory it is different for if the sim is cached or not, too.

I guess you'll have to try it and see.

Matt


On Wed, Jul 13, 2011 at 10:39 AM, Nicholas Yue <yue.nicholas at gmail.com>wrote:

> On 13 July 2011 09:37, Matt Ebb <matt at mke3.net> wrote:
> > scene.frame_set(integer_frame, fractional_frame)   where fractional_frame
> is
> > in [0.0, 1.0]
> >
> > Remember to reset it back to a clean integer when you're done.
> >
> > Note: not all things in blender properly support this yet - I'm looking
> at
> > you, physics sims.
>
> Re: physics sims - does this means that the hair dynamics will not be
> able to benefit from the frame_set(integer_frame,fractional_frame) in
> the mean time?
>
> Regards
> --
> Nicholas Yue BSc (Hons) MACM
> Graphics - RenderMan, RIB, Visualization, OpenGL, netCDF
> Custom Dev - C++ porting, OSX, Linux, Windows
> http://www.proceduralinsight.com/about.html
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20110713/1db3edf8/attachment.html>


More information about the Bf-python mailing list