|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
can anyone tell me why this does not work: (the #declare line gets the
yellow overlay)
#declare SourceImage = "F:\apps\POV-Ray for Windows
v3.6\hfields\HF101SizeMaters44.png";
height_field {
png SourceImage
translate -0.5
scale <52,12,52>
pigment{color rgb <1,1,0> }
}
but this does:
height_field {
png "F:\apps\POV-Ray for Windows v3.6\hfields\HF101SizeMaters44.png"
translate -0.5
scale <52,12,52>
pigment{color rgb <1,1,0> }
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
dabbler wrote:
> can anyone tell me why this does not work: (the #declare line gets the
> yellow overlay)
And what is the error message?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
4664cc03@news.povray.org...
> dabbler wrote:
>> can anyone tell me why this does not work: (the #declare line gets the
>> yellow overlay)
>
> And what is the error message?
Dabbler, if you are using the windows interface, you have a "Messages" tab.
on the Messages page you should find the error message at the end of the log
Marc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
chnge
#declare SourceImage = "F:\apps\POV-Ray for Windows
v3.6\hfields\HF101SizeMaters44.png";
into
#declare SourceImage = "F:\\apps\\POV-Ray for Windows
v3.6\\hfields\\HF101SizeMaters44.png";
double the \
should be solve the prob
news:web.4664c4dcbdd8b0ac38f605ab0@news.povray.org...
>
> can anyone tell me why this does not work: (the #declare line gets the
> yellow overlay)
>
> #declare SourceImage = "F:\apps\POV-Ray for Windows
> v3.6\hfields\HF101SizeMaters44.png";
>
> height_field {
> png SourceImage
> translate -0.5
> scale <52,12,52>
> pigment{color rgb <1,1,0> }
> }
>
> but this does:
>
> height_field {
> png "F:\apps\POV-Ray for Windows v3.6\hfields\HF101SizeMaters44.png"
>
> translate -0.5
> scale <52,12,52>
> pigment{color rgb <1,1,0> }
> }
>
>
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Penelope20k <pen### [at] caramailfr> wrote:
> #declare SourceImage = "F:\\apps\\POV-Ray for Windows
> v3.6\\hfields\\HF101SizeMaters44.png";
Just use (single) forward slashes. Easier to write.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Just use (single) forward slashes. Easier to write.
Yeah, the explanation is that backwards slashes are
considered escape sequences for special characters
when they are in string variables, but a string literal
is used as-is in a height_field.
3.2.2.7.2 Text Formatting
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Tim Attwood" <tim### [at] comcastnet> schreef in bericht
news:4665e625@news.povray.org...
>> Just use (single) forward slashes. Easier to write.
>
> Yeah, the explanation is that backwards slashes are
> considered escape sequences for special characters
> when they are in string variables, but a string literal
> is used as-is in a height_field.
> 3.2.2.7.2 Text Formatting
>
>
Strange... I have never had any problem with single backward slashes...
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |