[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question: url change in ImageTexture node

M B Srikumar wrote:
> Hi Kevin,
>   Yes..you'll need a Script node to accomplish this. (There is a
>   tedious path without using Script, where box with different textures
>   mapped are put under a switch node and its whichChoice is changed
>   using a ScalarInterpolator which varies from 0 to 9....No..it's too
>   tedious a task)

Actually you can't even use a ScalarInterpolator.  ScalarInterpolators
deal with SFFloats, and the Switch node gets "switched" on an SFInt32. 
Unless the SFFloat gets internally casted to an SFFloat (is this
spec-legal?), then a Script is required for this type of application.

John D. DeCuir                           jdd@acm.org
 FDEC 460E 9BBF 1A07 10B7  DFAA BB98 0736 F789 7824
"Not all artists may be chess players, but all chess
   players are artists."  --Marcel Duchamp, 1952
*** Please send administrative requests to <majordomo@sdsc.edu> ***