POV-Ray : Newsgroups : povray.newusers : Displaying Debug Messages Server Time
26 Nov 2024 07:46:44 EST (-0500)
  Displaying Debug Messages (Message 1 to 7 of 7)  
From: amjad
Subject: Displaying Debug Messages
Date: 7 Sep 2004 15:10:01
Message: <web.413e065c961256d8dba5e0750@news.povray.org>
1. When using the command #DEBUG where can I access the output? Or where is
it displayed?

2. Is there a way to extract the pixel coordinate for specific location
using the mouse over it and clicking? Then store these points in a file?

3. How can I display the same object viewed with 2 different cameras with

uncomment the other camera and then render it again?

4. How can I obtain the camera parameters such as focal length, etc?

Many thanks


Post a reply to this message

From: Warp
Subject: Re: Displaying Debug Messages
Date: 7 Sep 2004 16:40:07
Message: <413e1ca7@news.povray.org>
amjad <amj### [at] okstateedu> wrote:
> 1. When using the command #DEBUG where can I access the output? Or where is
> it displayed?

  Depends on which OS you are using. In the windows version every #debug
line is output to the messages window.
  You can also use the +G option to redirect it somewhere else.

> 3. How can I display the same object viewed with 2 different cameras with
> each camera?s view in a different image, instead of saving the image,
> uncomment the other camera and then render it again?

  You can make a two-frame animation where you have something like
this:

#if(clock = 0)
  camera { ... }
#else
  camera { ... }
#end

> 4. How can I obtain the camera parameters such as focal length, etc?

  You can't. At least not in the current POV-Ray (version 4 will probably
have means to do that).

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Displaying Debug Messages
Date: 8 Sep 2004 03:08:53
Message: <413eb005$1@news.povray.org>
In article <413e1ca7@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>> 4. How can I obtain the camera parameters such as focal length, etc?
>
>   You can't. At least not in the current POV-Ray (version 4 will probably
> have means to do that).

You can: All you have to do it compute them yourself based on the values you
set the camera to.  The equations (or details about them) and default values
are in the documentation.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Stephen
Subject: Re: Displaying Debug Messages
Date: 8 Sep 2004 03:45:00
Message: <web.413eb78f6c8fdc2471087b900@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote:
> In article <413e1ca7@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
> >> 4. How can I obtain the camera parameters such as focal length, etc?
> >
> >   You can't. At least not in the current POV-Ray (version 4 will probably
> > have means to do that).
>
> You can: All you have to do it compute them yourself based on the values you
> set the camera to.  The equations (or details about them) and default values
> are in the documentation.
>

I was going to ask that question because my camera settings are created by

is good to know all I need to do is wait:-}

before. :-}
Thank you Rumour Control. :-}

Stephen McAvoy


Post a reply to this message

From: Ross
Subject: Re: Displaying Debug Messages
Date: 10 Sep 2004 12:31:46
Message: <4141d6f2@news.povray.org>
"amjad" <amj### [at] okstateedu> wrote in message
news:web.413e065c961256d8dba5e0750@news.povray.org...
>
> 2. Is there a way to extract the pixel coordinate for specific location
> using the mouse over it and clicking? Then store these points in a file?

something like digital graph paper?

I don't think this is related directly to the POV-Ray program, but I assume
you want to do it for something like spline, lathe, or sor creation? In that
case there probably are stand alone applications for this. I havn't use
Moray for a while, but it had such a thing (sort of) but more robust.


Post a reply to this message

From: amjad
Subject: Re: Displaying Debug Messages
Date: 20 Sep 2004 13:30:01
Message: <web.414f12fd6c8fdc24dba5e0750@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote:
> In article <413e1ca7@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
> 4. How can I obtain the camera parameters such as focal length, etc?

>
> You can: All you have to do it compute them yourself based on the values you
> set the camera to.  The equations (or details about them) and default values
> are in the documentation.

Thanks for the reply. What keyword I need to search for?  I've tried Index
seaech for (focal length, calibration, camera parameteres, intrinsic, pixel
) but to no avail?


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Displaying Debug Messages
Date: 20 Sep 2004 13:35:05
Message: <414f14c9$1@news.povray.org>
In article <web.414f12fd6c8fdc24dba5e0750@news.povray.org> , "amjad" 
<amj### [at] okstateedu> wrote:

> Thanks for the reply. What keyword I need to search for?  I've tried Index
> seaech for (focal length, calibration, camera parameteres, intrinsic, pixel
> ) but to no avail?

camera

(remember that you have to click on it once displayed - the second blue box
on that page shows the default values for the default camera).

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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