Finally , MatMovie updated

Finally , MatMovie updated

first of all sorry for taking so long, real life plays havoc with online.

how to use:
prep the movie by saving it as an image sequence
--
put this script into the Polygonobj folder
--
make a new material
make sure it has a .mov extension "new material.mov"
then place at least one texture image node in it
select mat movie.js from the polygon menu
then put the object as a child of the object
then click find materials
--
set a begining key for the "frame" value
set an ending key for the "frame" value


select play and watch your movie play
 

Attachments

  • MatMovie.js.zip
    2.2 KB · Views: 859
Matmovie script updated

Don't be sorry, Todd and Thank you very much for sharing your efforts with us. This will very surely please a lot of Cheetah3D users !
 
I get a script error:

Javascript Error
line: 121
error: 'undefined' is not a function (evaluating 'mat.nodeCount()')


Any help appreciated :)
 
Hi,
did you use Cheetah3D 6.2.1? Since that scripting function was introduced in Cheetah3D 6.2.1 and isn't available in older versions of Cheetah3D.

Bye
Martin
 
Possible bug + work-around procedure

Todd - is it true the script don´t recognize any paths after reopen a saved file including mat-movie materials?

Cheers
Frank

C3D v6.2.1 OSX 10.6.8 Snow Leopard
One more gotcha to report:
Define all parts & run the timeline correctly.
The timeline cursor is now set at something other than 0
Save the file; close; reopen; go to the child object and click 'Materials' to rescan

Result is that the timeline cursor is at 0, the 'frame' field reads 0.0, but the animation starts at the old (ghost) frame number at the time of saving (eg. 32).

To reset this, delete the MatMovie child,
'Remove' the image from the material, then re-Load the material
run the MatMovie macro, slide the obj to the child position,
then click 'Materials' to do another scan, set the keyframes
and now the animation plays as originally keyframe set.

Just deleting and resetting the child obj does not clear the ghost.
Remove-Load steps only work if the child obj has been deleted.

I only tested for a single take and a single MatMovie object, and two material.nodes only one of which had a CustomMaterial.mov assigned as '1' side of a cube.

This feature is so good, that this reinstall-work-around is fine for me.:p
 
Last edited:
first of all sorry for taking so long, real life plays havoc with online.

how to use:
prep the movie by saving it as an image sequence
--
put this script into the Polygonobj folder
--
make a new material
make sure it has a .mov extension "new material.mov"
then place at least one texture image node in it
select mat movie.js from the polygon menu
then put the object as a child of the object
then click find materials
--
set a begining key for the "frame" value
set an ending key for the "frame" value


select play and watch your movie play

Thanks ToddWR! :cool:
I'll give this a try. How long would you say it took to script for you? I can imagine it was complex.
If this works like I'm hoping, it has been on my wishlist (and many others) for quite a while. Many thanks.

Hi,
did you use Cheetah3D 6.2.1? Since that scripting function was introduced in Cheetah3D 6.2.1 and isn't available in older versions of Cheetah3D.

Bye
Martin

Okay, thanks Martin for the info. :icon_thumbup:

C3D v6.2.1 OSX 10.6.8 Snow Leopard
One more gotcha to report:
Define all parts & run the timeline correctly.
The timeline cursor is now set at something other than 0
Save the file; close; reopen; go to the child object and click 'Materials' to rescan

Result is that the timeline cursor is at 0, the 'frame' field reads 0.0, but the animation starts at the old (ghost) frame number at the time of saving (eg. 32).

To reset this, delete the MatMovie child,
'Remove' the image from the material, then re-Load the material
run the MatMovie macro, slide the obj to the child position,
then click 'Materials' to do another scan, set the keyframes
and now the animation plays as originally keyframe set.

Just deleting and resetting the child obj does not clear the ghost.
Remove-Load steps only work if the child obj has been deleted.

I only tested for a single take and a single MatMovie object, and two material.nodes only one of which had a CustomMaterial.mov assigned as '1' side of a cube.

This feature is so good, that this reinstall-work-around is fine for me.:razz:

Thanks for the heads up Jim. Will keep this in mind.
 
Last edited:
Movie script

How do I add a material with a .mov extension, I understood everything else and script is ready to use but dont get that one part of the steps.
 
I apologise upfront for my ignorance here! ... but is this the technique to apply a sequential image map to a poly object?
 
Not really - it´s about mapping a movie (.mov/mp4/etc) as a material onto polygon selections:
MovieMat.gif


Cheers
Frank
 
Last edited:
Back
Top