|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Can You help me ?
Here is my example file :
camera{ location z*50 look_at <0,0,0> }
light_source{ <20,20,50> rgb <1,1,1> }
#declare Name = concat("\"FR",str(11,0,0),".tga\"") // this should
be "FR11.tga"
sphere {0, 10
pigment {image_map {tga "FR11.tga" map_type 1 interpolate 2 transmit
255, 1.0}}
// pigment {image_map {tga Name map_type 1 interpolate 2 transmit 255,
1.0}} //That's what I wanna write!
finish {ambient 0.3 diffuse .8} }
/* Hello,
please have a look at this very short pov.file
I'm working with Megapov and I'm wondering about strings:
Why can't I write Name instead of "FR11.tga" inside the image
map.
I like to change the number of the picture (11 to 12 to 13 etc.)
for loading different pics during an animation !!
How can I do this ?
Can I do something similar ?
Thank You for thinking it over.
Best wishes
Luck and Blessing
Ruediger Geisler
*/
Post a reply to this message
|
|
| |
| |
|
|
From: Gilles Tran
Subject: Re: Loading different pictures during an animation ?????
Date: 5 Jan 2002 09:45:34
Message: <3c37118e$1@news.povray.org>
|
|
|
| |
| |
|
|
news: 3C370657.DA7C4D49@rz.uni-hildesheim.de...
> #declare Name = concat("\"FR",str(11,0,0),".tga\"")
Try :
#declare Name = concat("FR",str(11,0,0))
or even
pigment{image_map{tga concat("FR",str(11,0,0))}}
Note that to debug this kind of problem you can always write
#debug concat(Name,"\n")
to see what's going on.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3C370657.DA7C4D49@rz.uni-hildesheim.de>,
Rudiger Geisler <rue### [at] rzuni-hildesheimde> wrote:
> #declare Name = concat("\"FR",str(11,0,0),".tga\"") // this should
> be "FR11.tga"
You are putting quote characters inside the string, so POV-Ray looks for
a file titled '"FR11.tga"'. You need to remove the \" sequences.
Also, this question doesn't have anything to do with patches, it would
have fit better in povray.newusers, povray.advanced-users, or
povray.general. Please read the message "Welcome To the POV-Ray News
Groups" in povray.announce.frequently-asked-questions.
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|