POV-Ray : Newsgroups : povray.newusers : Camera( need help) Server Time
30 Jul 2024 00:30:24 EDT (-0400)
  Camera( need help) (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: scorpmetal
Subject: Re: Camera( need help)
Date: 24 Mar 2005 05:05:01
Message: <web.4242903695205ba16015921b0@news.povray.org>
thanks. And the pixels, we can do anything ?


Post a reply to this message

From: Marc Jacquier
Subject: Re: Camera( need help)
Date: 24 Mar 2005 05:30:53
Message: <424296dd$1@news.povray.org>

news:web.4242903695205ba16015921b0@news.povray.org...
> thanks. And the pixels, we can do anything ?
>
>
Are you talking about image resolution?
If yes, you can set image  to say 640 width with the command +w640 and
height to say 400 with +h400 in the command line
If you set the "right" parameter of the camera with the line:
right     x*image_width/image_height
your image won't be deformed even if you change w/h ratio

If you are talking about visible pixels at any resolution, try anti aliasing
option with +a in the command line
for furthe information about anti aliasing options look at

http://www.povray.org/documentation/view/3.6.1/223/  section 2.2.2.8.4


Regards
Marc


Post a reply to this message

From: gonzo
Subject: Re: Camera( need help)
Date: 24 Mar 2005 14:40:01
Message: <web.4243177b95205ba1a0c272b50@news.povray.org>
"scorpmetal" <sco### [at] yahoocom> wrote:

In reverse order...

> Can we change the pixel of the plane picture of camera?
> Thanks for your answers!!!

I think you mean the focal plane? See Marc's answer above. You can set
height & width, and angle will change what is viewed within the set height
& width.


> With the camera, we can change the distance of focale? Is this the angle
> into the focale and the objet?

Povray doesn't have focal length as such, but you can move the camera
further from, or nearer to the object and then play with the angle to
achieve the same field of view.

If what you're after is the depth compression that you would get from a long
lens on a real camera though, I don't think you can get in Pov, at least
not with the camera.  You could simulate it though by putting your entire
scene into a union and scaling that along the camera vector.

RG


Post a reply to this message

From: ingo
Subject: Re: Camera( need help)
Date: 24 Mar 2005 15:21:08
Message: <Xns9623D9348C8D9seed7@news.povray.org>
in news:web.4243177b95205ba1a0c272b50@news.povray.org gonzo wrote:

>> With the camera, we can change the distance of focale? Is this the
>> angle into the focale and the objet?
> 
> Povray doesn't have focal length as such, but you can move the camera
> further from, or nearer to the object and then play with the angle to
> achieve the same field of view.
> 

Have to correct you here a bit Gonzo, changing the camera angle is the 
equivalent to changing the "focal length" in real photography. Even
this is not completely true, POV-Ray's perspective camera is a pin-hole
camera, so changing the angle in POV is like changing the distance
between the film plane and the pinhole.

Changing the camera angle has the same effects on the image as changing
the focal length with a camera, except for the depth of field, which is
infinite just as in a pinhole camera. One uses the angle to determine
the field of view and the distance to the object for the perspective
(further away, 'flatter' perspective, less 'distortion' near the
corners). 

The focal blur POV-Ray is set through a few parameters and does not 
depend on focal length or aperture.


Ingo


Post a reply to this message

From: scorpmetal
Subject: Re: Camera( need help)
Date: 29 Mar 2005 08:00:01
Message: <web.424950e995205ba11712a28d0@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:web.4243177b95205ba1a0c272b50@news.povray.org gonzo wrote:
>
> >> With the camera, we can change the distance of focale? Is this the
> >> angle into the focale and the objet?
> >
> > Povray doesn't have focal length as such, but you can move the camera
> > further from, or nearer to the object and then play with the angle to
> > achieve the same field of view.
> >
>
> Have to correct you here a bit Gonzo, changing the camera angle is the
> equivalent to changing the "focal length" in real photography. Even
> this is not completely true, POV-Ray's perspective camera is a pin-hole
> camera, so changing the angle in POV is like changing the distance
> between the film plane and the pinhole.
>
> Changing the camera angle has the same effects on the image as changing
> the focal length with a camera, except for the depth of field, which is
> infinite just as in a pinhole camera. One uses the angle to determine
> the field of view and the distance to the object for the perspective
> (further away, 'flatter' perspective, less 'distortion' near the
> corners).
>
> The focal blur POV-Ray is set through a few parameters and does not
> depend on focal length or aperture.
>
>
> Ingo

Ok. Thanks for all


Post a reply to this message

From: scorpmetal
Subject: Re: Camera( need help)
Date: 11 Apr 2005 09:15:00
Message: <web.425a774395205ba1f6477d320@news.povray.org>
ok, I found that I have some success with camera.
I my new question: I want to keep all of measure in pov-ray by mm( or cm).
Where in povray i can do that? Or what is the measure defaut of povray? (
sorry with my poor english)


Post a reply to this message

From: Warp
Subject: Re: Camera( need help)
Date: 11 Apr 2005 09:20:44
Message: <425a79ac@news.povray.org>
scorpmetal <sco### [at] yahoocom> wrote:
> I my new question: I want to keep all of measure in pov-ray by mm( or cm).
> Where in povray i can do that? Or what is the measure defaut of povray? (
> sorry with my poor english)

  One unit is one unit. If the length of an object is 1.0, then the
length of the object is 1.0. There's nothing else to that.

  You can yourself decide what that 1.0 means. Does it mean 1 meter,
1 cm, 1 mm, 1 inch, 1 foot? It's up to you.
  You should consistently think about one POV-Ray unit as a certain
length unit (eg. cm) and design everything with that in mind.
  You don't tell POV-Ray that 1.0 means 1 cm. You just think it yourself
that way.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: scorpmetal
Subject: Re: Camera( need help)
Date: 19 Apr 2005 11:40:00
Message: <web.4265264195205ba1f6477d320@news.povray.org>
ok, I understand.

Now, I want to move my camera ( or my object). Can we move it by one way (
we can define this way by one equation ) ?
Example :
my way : y = x


How we do that?


Post a reply to this message

From: regdo
Subject: Re: Camera( need help)
Date: 19 Apr 2005 14:28:25
Message: <42654dc9@news.povray.org>
scorpmetal wrote:
> ok, I understand.
> 
> Now, I want to move my camera ( or my object). Can we move it by one way (
> we can define this way by one equation ) ?
> Example :
> my way : y = x
> 
> 
> How we do that?
> 
> 
Either define camera's location at <Number,Number,0>, or define it at 
<0,0,0> and translate it by <Number,Number,0>


Is that what you need ?


Post a reply to this message

From: scorpmetal
Subject: Re: Camera( need help)
Date: 20 Apr 2005 03:35:00
Message: <web.4266061b95205ba1f6477d320@news.povray.org>
Thanks, Regdo
But if I want to divide my way by several party. Example, fisrt , I would
like it goes straight, then turns left. Can I use #switch to do that? How
we use #switch? I read in Help, but I don't really understand.
Thanks to all yours answers!


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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