Page 1 of 1
valid image for texture
Posted: 01 Apr 2015, 05:58
by mixondigital
Hi all. Still a bit new to Ventuz4. I'm trying to build a scene that to display an image, that has a path coming from an excel spreadsheet. However, I might not have all of the images, so I want to use an alpha node to turn off a layer, if an image is not there. Tried using the Visuals Indexer node, but I don't think this is the right mode to achieve what I need. Any other suggestions?
Re: valid image for texture
Posted: 01 Apr 2015, 06:16
by lerou
Hi,
Welcome to Ventuz
Put your file path through a url node. The node will give you a bool flag indicating whether the file exists. Use that to block your geometry.
cheers,
rou
Re: valid image for texture
Posted: 05 Apr 2015, 01:17
by mixondigital
Thank you so much for the response. That worked!!! Appreciate the help!
Re: valid image for texture
Posted: 07 Apr 2015, 12:20
by Daniel Willer
Hi there,
Welcome to the ventuz forum.
A way I use a lot in V4 is the multiswitch node and use 2 texture properties. You can set them to FirstValid and connect your image to the first input and a transparent texture to the second.
Everytime the first texture is getting invalid it switches automatically to the second one.
Regards
Daniel