POV-Ray : Newsgroups : povray.general : generating an image_map name: string syntax problem : Re: generating an image_map name: string syntax problem Server Time
30 Jul 2024 12:23:12 EDT (-0400)
  Re: generating an image_map name: string syntax problem  
From: Chris B
Date: 18 Feb 2009 18:17:19
Message: <499c96ff$1@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote in message 
news:web.499c91fb755b086ff50167bc0@news.povray.org...
> I have an image--named "an animation image001.png"--(one of 100 such 
> numbered
> images) which I want to apply as an image_map onto a box. But instead of 
> using
> that name directly in an image_map, I'm trying to use string commands to
> generate the name ...
>

You've got too many quotes. Try:

  #declare my_image = 
concat(image_name,str(counter,-zeros,0),".",image_type)

with

  image_map{png my_image}


Regards,
Chris B.


Post a reply to this message

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