|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm wondering if it is possible to export geometric data during the
rendering. In particular, I'm intrested in tracking some points in the
scene and I would like POV-Ray to export (ASCII file?) the coordinates of
the points projected onto the image plane, perhaps together with other
informations, like visibility. Is that possible with the program "out of
the box" or do I need to code a patch?
Andrea
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it Andrea Vedaldi who wrote:
>I'm wondering if it is possible to export geometric data during the
>rendering. In particular, I'm intrested in tracking some points in the
>scene and I would like POV-Ray to export (ASCII file?) the coordinates of
>the points projected onto the image plane, perhaps together with other
>informations, like visibility. Is that possible with the program "out of
>the box" or do I need to code a patch?
Locate the points you want the co-ordinates of and write them out using
#fopen and #write. See section 6.2.3 in the documentation.
The trace() command can be useful for locating points in situations
where it's difficult to explicitly calculate the co-ordinates.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Williams wrote:
> Wasn't it Andrea Vedaldi who wrote:
>
>>I'm wondering if it is possible to export geometric data during the
>>rendering. In particular, I'm intrested in tracking some points in the
>>scene and I would like POV-Ray to export (ASCII file?) the coordinates of
>>the points projected onto the image plane, perhaps together with other
>>informations, like visibility. Is that possible with the program "out of
>>the box" or do I need to code a patch?
>
>
> Locate the points you want the co-ordinates of and write them out using
> #fopen and #write. See section 6.2.3 in the documentation.
>
> The trace() command can be useful for locating points in situations
> where it's difficult to explicitly calculate the co-ordinates.
>
>
finally #fclose is worth a mention just to close
stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:EsJ### [at] econymdemoncouk...
> Wasn't it Andrea Vedaldi who wrote:
> >I'm wondering if it is possible to export geometric data during the
> >rendering. In particular, I'm intrested in tracking some points in the
> >scene and I would like POV-Ray to export (ASCII file?) the coordinates of
> >the points projected onto the image plane, perhaps together with other
> >informations, like visibility. Is that possible with the program "out of
> >the box" or do I need to code a patch?
>
> Locate the points you want the co-ordinates of and write them out using
> #fopen and #write. See section 6.2.3 in the documentation.
>
> The trace() command can be useful for locating points in situations
> where it's difficult to explicitly calculate the co-ordinates.
hi mike.
Andrea want "the coordinates of the points projected onto the image
plane, perhaps together with other informations, like visibility. "
povray doesn't give acces to this feature... :-((
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> hi mike.
>
> Andrea want "the coordinates of the points projected onto the image
> plane, perhaps together with other informations, like visibility. "
>
> povray doesn't give acces to this feature... :-((
Does it mean that I have to patch the code? :-)
There is any way to ask POV-Ray to compute the projection of a given 3D
point w.r.t. a given
camera?
Andrea
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <web.40a28ef15a2ff5012814de2c0@news.povray.org>,
"Andrea Vedaldi" <nomail@nomail> wrote:
> There is any way to ask POV-Ray to compute the projection of a given 3D
> point w.r.t. a given camera?
There is no general way to do this. Raytracers like POV-Ray rarely have
to project anything onto the screen. The vista buffer code may be of
help, and you might want to look at screen.inc.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |