KeyShot Forum

Technical discussions => Extending KeyShot => Scripting => Topic started by: LM6 on January 18, 2016, 10:07:40 AM

Title: Message for hstokholm
Post by: LM6 on January 18, 2016, 10:07:40 AM
Hi

Would it be possible to script the usage of .PNG seq or JPG seq wherever a texture map is being used inside Keyshot
So when the script loads a new frame of the Alembic cache it also loads the next frame of the png seq into the slot where the texture map is being applied... so it animates the texture map.

I hope that makes sense??


Rex gave me some tips about how to do this but I could not get it to work.

Thanks

Peter
Title: Re: Message for hstokholm
Post by: hstokholm on January 19, 2016, 06:01:59 AM
Hi Peter.

Unfortunately there is no support for modifying materials through scripting.

It can be done by updating the texture files and reloading the bip, but it is not straightforward.
I have attached a script that shows that process.
Title: Re: Message for hstokholm
Post by: LM6 on January 26, 2016, 08:12:04 AM
Hi Again

Thanks for the info, but Iam not 100% sure what you mean, i will haver a look and try that  script you posted.

Thanks

Peter

Quote from: hstokholm on January 19, 2016, 06:01:59 AM
Hi Peter.

Unfortunately there is no support for modifying materials through scripting.

It can be done by updating the texture files and reloading the bip, but it is not straightforward.
I have attached a script that shows that process.