POV-Ray : Newsgroups : povray.unofficial.patches : intersection point : Re: intersection point Server Time
25 Apr 2024 20:31:41 EDT (-0400)
  Re: intersection point  
From: Le Forgeron
Date: 27 Oct 2014 06:39:11
Message: <544e20cf$1@news.povray.org>
Le 27/10/2014 08:53, CAS a écrit :
> Hello,I want to consult a question.I want to output the intersection point,but I
> could not find the function to output the intersection point.I only find the
> function of PP_Depth.Who can tell me, if I want to output the intersection
> point,I could choose which function instead of PP_Depth().Thank you for
> help.Expecting!
> 
> #version unofficial MegaPOV 1.2;
> #include "pprocess.inc"
> #declare DepthMin=0;
> #declare DepthMax=10
> global_settings {
>   assumed_gamma 1.0
>   post_process{
>     PP_Depth(DepthMin,DepthMax)
>     save_file concat("pp_",output_filename(0))
>   }
> }
> 
> 

Assuming you are using megapov, it's in the doc:

PP_Init_IPoint_Outputs()

f_output_ipoint_x(x,y)
f_output_ipoint_y(x,y)
f_output_ipoint_z(x,y)

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


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


Post a reply to this message

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