POV-Ray : Newsgroups : povray.unofficial.patches : problem about MegaPov Server Time: 29 May 2017 09:33:49 GMT
  problem about MegaPov (Message 1 to 7 of 7)  
From: CAS
Subject: problem about MegaPov
Date: 25 Aug 2014 07:10:01
Message: <web.53fae1032d30c796a92a3a00@news.povray.org>
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!


Post a reply to this message

From: Alain
Subject: Re: problem about MegaPov
Date: 25 Aug 2014 17:45:43
Message: <53fb7647@news.povray.org>
Le 14-08-25 03:08, CAS a écrit :
> 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!
>
>
>

postproc.cpp is NOT a programm but a C++ source file.

To do what you want, you need to get the source files, edit the line 
360, and compile the executable.

You'll obviously need to get a C++ compiler with all the needed libraries.


Alain


Post a reply to this message

From: Le Forgeron
Subject: Re: problem about MegaPov
Date: 25 Aug 2014 17:49:06
Message: <53fb7712$1@news.povray.org>
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

From: CAS
Subject: Re: problem about MegaPov
Date: 26 Aug 2014 04:55:01
Message: <web.53fc13158f4a2ad86a92a3a00@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> 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))

Thank you for your help.I have found“postproc.cpp”and commented out the line
360,but there are many problems when I compiled.I have a beg,could you please
give me a compiled MegaPOV-1.2.1-windows.zip which have commented out the line
360.I need to set up modified MegaPOV-1.2.1-windows currently.Sorry to bring you
so much teouble!Thank you and expecting your reply! Best wishes!


Post a reply to this message

From: Le Forgeron
Subject: Re: problem about MegaPov
Date: 26 Aug 2014 16:51:32
Message: <53fcbb14@news.povray.org>
On 26/08/2014 06:54, CAS wrote:

> Thank you for your help.I have found“postproc.cpp”and commented out the line
> 360,but there are many problems when I compiled.I have a beg,could you please
> give me a compiled MegaPOV-1.2.1-windows.zip which have commented out the line
> 360.I need to set up modified MegaPOV-1.2.1-windows currently.Sorry to bring you
> so much teouble!Thank you and expecting your reply! Best wishes!
> 
Well, sorry but I have no windows system to generate such binary.
Maybe someone else can help ?

-- 
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

From: CAS
Subject: Re: problem about MegaPov
Date: 27 Aug 2014 15:45:00
Message: <web.53fdfc098f4a2ad86a92a3a00@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> On 26/08/2014 06:54, CAS wrote:
>
> > Thank you for your help.I have found“postproc.cpp”and commented out the line
> > 360,but there are many problems when I compiled.I have a beg,could you please
> > give me a compiled MegaPOV-1.2.1-windows.zip which have commented out the line
> > 360.I need to set up modified MegaPOV-1.2.1-windows currently.Sorry to bring you
> > so much teouble!Thank you and expecting your reply! Best wishes!
> >
> Well, sorry but I have no windows system to generate such binary.
> Maybe someone else can help ?
>
> --
> 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))

Anyway,I am very grateful to you.I have solved this problem.However,I
encountered a new problem.I need to generate ancillary image planes with
MegaPov.Such as:
• 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.
I found that the output rendered by MegaPov is the same as POV,that means no
difference with POV. How can I make MegaPov output auxiliary images such as
above I listed? Beg a hot!Thanks and expecting reply! Best wishes!


Post a reply to this message

From: Le Forgeron
Subject: Re: problem about MegaPov
Date: 28 Aug 2014 06:29:14
Message: <53fecc3a$1@news.povray.org>
Le 27/08/2014 17:40, CAS a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> On 26/08/2014 06:54, CAS wrote:
>>
>>> Thank you for your help.I have found“postproc.cppÃ¢â‚¬Âťand commented out
the line
>>> 360,but there are many problems when I compiled.I have a beg,could you please
>>> give me a compiled MegaPOV-1.2.1-windows.zip which have commented out the line
>>> 360.I need to set up modified MegaPOV-1.2.1-windows currently.Sorry to bring you
>>> so much teouble!Thank you and expecting your reply! Best wishes!
>>>
>> Well, sorry but I have no windows system to generate such binary.
>> Maybe someone else can help ?
>>
>> --
>> 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))
> 
> Anyway,I am very grateful to you.I have solved this problem.However,I
> encountered a new problem.I need to generate ancillary image planes with
> MegaPov.Such as:
> • 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.
> I found that the output rendered by MegaPov is the same as POV,that means no
> difference with POV. How can I make MegaPov output auxiliary images such as
> above I listed? Beg a hot!Thanks and expecting reply! Best wishes!
> 
> 
> 
It seems to be in the doc:

http://megapov.inetart.net/manual-1.2.1/megapov0121.html#post_processing

Read it carefully and slowly. (hint: global_settings)

-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.