POV-Ray : Newsgroups : povray.animations : Calling an Image Map with an array identifier that stores the image file na= : Calling an Image Map with an array identifier that stores the image file na= Server Time
19 Sep 2021 19:33:10 EDT (-0400)
  Calling an Image Map with an array identifier that stores the image file na=  
From: Phil
Date: 2 Dec 2018 01:30:00
Message: <web.5c037ac5c84714c0730e3a270@news.povray.org>
Hi,

I'm having a go at embedding video in my animations by splitting video files up
into .png's and then calling them using image_map command with an array
identifier that stores the file names for the images.

Here is some of the code:

box { <0.00, 0.00, 0.00>,< 1.00, 1.00, 1.000>
       texture {
                pigment{
                        #declare thisfilename = magik_cube[X][Y][Z][F]
                        paint_tile(thisfilename)
                        }
               } // end of texture
       scale <0.9 0.9,0.001> rotate<0,0,0> translate <-0.45,-0.45,-0.501> rotate
x*0
      } // end of box --------------------------------------
   #end

.... but I keep getting the following error:

File 'initialise_cube.mac' line 163: Parse Error: Cannot assign uninitialized
 identifier.
Fatal error in parser: Cannot parse input.
Render failed

Can anyone give me a lead ??

This is my first post to the forum.

Thanking you in advance.

Phil.


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.