Bitmap shader with mov file
-
On 25/09/2014 at 17:32, xxxxxxxx wrote:
Hi there,
If I check the channel data for a certain shader within init render struct, and the bitmap inside the shader is a mov file, I´ll get the wrong result for the actual frame.
If I use the bitmaps.MovieLoader() and check for
ok, image = ml.Read(doc.GetTime().GetFrame(doc.GetFps())).
I´ll get the right image.But how can I update the shader for the render struct?
Or is there any other routine to solve this?Thanks in advance for any help.
Martin
-
On 29/09/2014 at 07:03, xxxxxxxx wrote:
is there really no other way than setting up
frame=doc.GetTime().GetFrame(doc.GetFps()) Bitmap[c4d.BITMAPSHADER_TIMING_FROM]=frame
with all the calculations that are needed to change the frame value properly
Bitmap[c4d.BITMAPSHADER_TIMING_MODE] Bitmap[c4d.BITMAPSHADER_TIMING_TIMING] Bitmap[c4d.BITMAPSHADER_TIMING_RANGEFROM] Bitmap[c4d.BITMAPSHADER_TIMING_RANGETO] Bitmap[c4d.BITMAPSHADER_TIMING_LOOPS]
anyone?