![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Tim Nikias <tim### [at] gmx de> wrote:
: It does create some sort of emission, based on the calculated grayness
: of a colored pixel, but the colors get lost. That's not the behaviour of
: POV-Ray 3.1g, and probably MegaPOV (I don't use MegaPOV).
When I try to render a scene like that in povray 3.1g, it says:
error: Keyword 'image_map' can only be used in a pigment statement.
In MegaPov it works, though.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> When I try to render a scene like that in povray 3.1g, it says:
>
> error: Keyword 'image_map' can only be used in a pigment statement.
>
> In MegaPov it works, though.
Thats the error I meant. Someone suggested using image_pattern,
and that gives only gray-scale media from the image.
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I wanted to create an emission-media which actually uses
> an image as base, simulating a glowing image.
color_map your emmision media!
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3C602B2E.39A4AA9F@gmx.de>, Tim Nikias <tim### [at] gmx de>
wrote:
> Before, all I did, was use image-map right inside
> the density-statement, but I don't get it to work.
POV 3.5 doesn't support that feature (I wonder when it got added to
MegaPOV?), but you should still be able do it this way...
#declare imgFn = function {pigment {image_map {...}}}
density {average
density_map {
[1 function {imgFn(x, y, z).red}
color_map {[0 rgb 0] [1 red 3]}]
[1 function {imgFn(x, y, z).green}
color_map {[0 rgb 0] [1 green 3]}]
[1 function {imgFn(x, y, z).blue}
color_map {[0 rgb 0] [1 blue 3]}]
}
}
--
Christopher James Huff <chr### [at] mac com>
POV-Ray TAG e-mail: chr### [at] tag povray org
TAG web site: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |