[Bf-cycles] Changing image filename at runtime?

F Escobar materialesescobar at hotmail.es
Fri Apr 12 18:16:26 CEST 2019


Thank you but it didn't work for me neither :(
________________________________
De: Bf-cycles <bf-cycles-bounces at blender.org> en nombre de Mohamed Sakr <3dsakr at gmail.com>
Enviado: viernes, 12 de abril de 2019 12:59
Para: Discussion list to assist Cycles render engine developers
Asunto: Re: [Bf-cycles] Changing image filename at runtime?

if (pd->filename && pd->builtin_data) //you may not need builtin_data
{
_scene->image_manager->tag_reload_image(
pd->filename.c_str(),
pd->builtin_data,
pd->interpolation,
EXTENSION_CLIP,
true);
               }

On Fri, Apr 12, 2019 at 7:53 AM F Escobar <materialesescobar at hotmail.es<mailto:materialesescobar at hotmail.es>> wrote:
---
you may need to do image_manager->tag_update(scene), probably the same for shader_manager
---

I supposed that too but unfortunatly image_manager has no tag_update(scene)

Regards, F.
________________________________
De: Bf-cycles <bf-cycles-bounces at blender.org<mailto:bf-cycles-bounces at blender.org>> en nombre de Mohamed Sakr <3dsakr at gmail.com<mailto:3dsakr at gmail.com>>
Enviado: jueves, 11 de abril de 2019 14:59
Para: Discussion list to assist Cycles render engine developers
Asunto: Re: [Bf-cycles] Changing image filename at runtime?

you may need to do image_manager->tag_update(scene), probably the same for shader_manager

On Thu, Apr 11, 2019 at 1:30 PM F Escobar <materialesescobar at hotmail.es<mailto:materialesescobar at hotmail.es>> wrote:
I'm trying to change the image I'm using for scene illumination but besides I can rotate it properly changing the filename seems to have no effect.

Any tip on this? thank you in advance!
_______________________________________________
Bf-cycles mailing list
Bf-cycles at blender.org<mailto:Bf-cycles at blender.org>
https://lists.blender.org/mailman/listinfo/bf-cycles
_______________________________________________
Bf-cycles mailing list
Bf-cycles at blender.org<mailto:Bf-cycles at blender.org>
https://lists.blender.org/mailman/listinfo/bf-cycles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-cycles/attachments/20190412/05dc41a5/attachment.html>


More information about the Bf-cycles mailing list