|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I need to do something like this:
AnimatedImage = "imagename" + frame_number + ".png"
texture {
pigment { image_map { png Animatedimage } }
}
So what I'm trying to do is add an animated texture to my scene. Can this
be done with macros or whatever?
TIA
, Espen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Espen" <nomail@nomail> wrote:
> I need to do something like this:
>
> AnimatedImage = "imagename" + frame_number + ".png"
>
> texture {
> pigment { image_map { png Animatedimage } }
> }
>
> So what I'm trying to do is add an animated texture to my scene. Can this
> be done with macros or whatever?
>
> TIA
> , Espen
#declare MapName=concat("imagename",str(frame_number,0,0),".png")
Should work. Make sure frame_number is formatted properly. Also, the
extension is not explicitly needed, but can be kept if you like it...
-tgq
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
>
> #declare MapName=concat("imagename",str(frame_number,0,0),".png")
>
> Should work. Make sure frame_number is formatted properly. Also, the
> extension is not explicitly needed, but can be kept if you like it...
>
> -tgq
Thank you. That worked perfectly. :-)
, Espen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Trevor G Quayle wrote:
>
> #declare MapName=concat("imagename",str(frame_number,0,0),".png")
>
> Should work. Make sure frame_number is formatted properly. Also, the
> extension is not explicitly needed, but can be kept if you like it...
>
> -tgq
Mmmmm.. Animated bumpmap? :)
--
Eero "Aero" Ahonen
http://www.zbxt.net
aer### [at] removethiszbxtnetinvalid
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |