|
|
On 25/08/2014 09:08, CAS wrote:
> Recently,I am interested in generating ancillary image planes with MegaPov.Such
> as follows:
> • Colors (Red, Green, Blue and Alpha).
> • The intersection point I(x,y,z) in x(ix,iy), y(ix,iy) and z(ix,iy).
> • Surface normals n(ix,iy) at the intersection point.
> • Distance d(ix,iy) between camera and intersection point.
>
> An article says:“Note that in order for the image planes to be available to the
> user, a statement to delete the files in the program“postproc.cpp” for MegaPOV
> version 1.2.1 on line 360 must be commented out, otherwise the files which have
> the extension PPD are deleted after the rendering is completed.” I have set up
> MegaPOV version 1.2.1 and pov-ray 3.6.I want to know how can I get ancillary
> image planes with MegaPov. I did not find the program “postproc.cpp”.Can
> somebody tell me how can I do? Thanks and expecting reply! Best wishes!
>
You need the sources of megapov 1.2.1 (
> http://megapov.inetart.net/packages/unix/megapov-1.2.1.tar.bz2
)
Then the file is ./source/patches/postproc.cpp
Once changed, you "just" have to compile your version of megapov.
--
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))
Post a reply to this message
|
|