|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dear All,
I have a height field with an image draped over it (image_map).
Instead of generating an image of the whole scene, I would just like
to know the value of, say 1000 specified pixels taken from a 512x384
view and write them out to a file. Is that possible?
-Simon Shannon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm not sure that I understand what you want to get, but my first idea
is that if you want to see just a thousand pixels you can do a 31x31
render or something like this.
Apart from that, I don't think you can select pixels to be rendered from
a pool of 512x384 pixels, you would e able to do that by specifying
spans that you want to render in the image, but that would mean to redo
the parsing of the scene each time.
JC
simon shannon wrote:
> Dear All,
>
> I have a height field with an image draped over it (image_map).
> Instead of generating an image of the whole scene, I would just like
> to know the value of, say 1000 specified pixels taken from a 512x384
> view and write them out to a file. Is that possible?
>
> -Simon Shannon
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"simon shannon" <ssh### [at] tazqinetiqcom> wrote in
news:web.3ef6c830ae88514ab7fd4d090@news.povray.org:
>
> Instead of generating an image of the whole scene, I would just like
> to know the value of, say 1000 specified pixels taken from a 512x384
> view and write them out to a file. Is that possible?
>
>
>
Yes.
5.2.2.1.2 Partial Output Options
If you are using the Windows client, as a shortcut you can highlight a
section of the render window with your mouse for the same effect.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it simon shannon who wrote:
>
>Dear All,
>
> I have a height field with an image draped over it (image_map).
>Instead of generating an image of the whole scene, I would just like
>to know the value of, say 1000 specified pixels taken from a 512x384
>view and write them out to a file. Is that possible?
You can use trace() and eval_pigment() to achieve something like the
equivalent of casting an individual ray. Trace() will tell you the point
where your ray intersects the object. Eval_pigment() will tell you the
colour of the pigment at that point.
You'll also need to use #fopen and #write() to write the data to a file.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |