MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

How do I change the file a bitmap uses using a slider.

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Armani KorsichHow do I change the file a bitmap uses using a slider.
by on Jan 11, 2015 at 11:17:37 pm

Ok, so I have 3 textures. A B and C for short.

I would like to use userdata to compare if the float slider is 1, 2, or 3. if its 1 use the filename for A. If its 2 use the filename for B and if its 3 use the filename for C. I understand how this would work with compare nodes, but there doesnt seem to be any string nodes. Can someone please help me out with this dilemma.


Return to posts index

Brian JonesRe: How do I change the file a bitmap uses using a slider.
by on Jan 13, 2015 at 12:43:50 am
Last Edited By Brian Jones on Jan 13, 2015 at 1:49:35 am

Plug the slider into a Condition node and the output into the bitmap shader like this (one way to do it anyway)

8398_matslider.zip

you don't need a string node as strings are just one of the possibilities for many of the nodes, it just has to be set up to use them, in this case the Condition node uses 'Texture' (and expects a file name) and that plugs into the Bitmap file port


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]