POV-Ray : Newsgroups : povray.pov4.discussion.general : New camera, or new camera docs illustrations. Server Time
22 Dec 2024 18:42:08 EST (-0500)
  New camera, or new camera docs illustrations. (Message 61 to 70 of 73)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>
From: Chambers
Subject: Re: New camera, or new camera docs illustrations.
Date: 5 Jun 2009 10:41:28
Message: <4a292e98$1@news.povray.org>
scott wrote:
> I think I am saying "I don't care about aspect ratio in my scene", but 
> POV interprets this as "I will fix your aspect ratio for you and give 
> you rectangular pixels" which is totally backwards.

You don't seem to understand POV.  When POV-Ray renders a scene, it 
renders it *exactly* the same way, every time.  The *output* file does 
NOT change the scene you are given.

If YOU specify a resolution that gives you non-square pixels, POV will 
oblige.  The output image will exactly fill any resolution you throw at 
POV, from 1x10,000, to 1600x1200, to 2458x123.  In any of the 
situations, if you mapped the resulting image to an identical area of 
your screen, the image will be the same.

If YOU specify a resolution with non-square pixels, then that's YOUR 
choice, and POV assumes you know what you're doing (frequently, you do). 
  POV does NOT assume that you're an idiot who can't do 4th grade math 
and try to correct the image for you.

-- 
Chambers


Post a reply to this message

From: clipka
Subject: Re: New camera, or new camera docs illustrations.
Date: 6 Jun 2009 08:45:00
Message: <web.4a2a63f91369cabff708085d0@news.povray.org>
Chambers <Ben### [at] gmailcom_no_underscores> wrote:
> You don't seem to understand POV.

I'm sure we all *do* understand POV. The point is that we want to *change* a few
details of POV.


Post a reply to this message

From: scott
Subject: Re: New camera, or new camera docs illustrations.
Date: 23 Jun 2009 06:51:36
Message: <4a40b3b8@news.povray.org>
> If YOU specify a resolution with non-square pixels,

Sure, but at the moment you don't, POV just assumes you want non-square 
pixels, which IMO is wrong most of the time.


Post a reply to this message

From: Chambers
Subject: Re: New camera, or new camera docs illustrations.
Date: 28 Jun 2009 03:27:18
Message: <4a471b56$1@news.povray.org>
scott wrote:
>> If YOU specify a resolution with non-square pixels,
> 
> Sure, but at the moment you don't, POV just assumes you want non-square 
> pixels, which IMO is wrong most of the time.

?

How can you possibly mean that you don't specify the ratio?

Just about everyone specifies the exact image dimensions to use. 
Additionally, every scene has a specific aspect ratio (either explicit 
or implied).  If the ratio doesn't match, the only rational response by 
POV is to assume that the user input is correct, and that non-square 
pixels are desired.

-- 
Chambers


Post a reply to this message

From: scott
Subject: Re: New camera, or new camera docs illustrations.
Date: 29 Jun 2009 06:11:36
Message: <4a489358@news.povray.org>
>> Sure, but at the moment you don't, POV just assumes you want non-square 
>> pixels, which IMO is wrong most of the time.
>
> ?
>
> How can you possibly mean that you don't specify the ratio?

I specify an image aspect ratio, nowhere have I specifically said I want 
non-square pixels.  IMO you should specifically have to say you want 
non-square pixels, because it's not a common requirement.

> Just about everyone specifies the exact image dimensions to use.

Agreed.

> Additionally, every scene has a specific aspect ratio (either explicit or 
> implied).  If the ratio doesn't match,

SO you still expect me to trawl through all the scene files, looking for the 
camera block that is actually the active one, then calculate what image 
dimensions I should tell POV I want, just to get an image with square 
pixels?  That doesn't sound too ideal to me, *especially* when most of the 
time you do want square pixels.


Post a reply to this message

From: Chambers
Subject: Re: New camera, or new camera docs illustrations.
Date: 30 Jun 2009 03:15:57
Message: <4a49bbad$1@news.povray.org>
scott wrote:
> SO you still expect me to trawl through all the scene files, looking for 
> the camera block that is actually the active one, then calculate what 
> image dimensions I should tell POV I want, just to get an image with 
> square pixels?  That doesn't sound too ideal to me, *especially* when 
> most of the time you do want square pixels.

So you're saying that your major objection is that you don't want to 
look through the source code, right?

-- 
Chambers


Post a reply to this message

From: scott
Subject: Re: New camera, or new camera docs illustrations.
Date: 30 Jun 2009 05:46:34
Message: <4a49defa@news.povray.org>
>> SO you still expect me to trawl through all the scene files, looking for 
>> the camera block that is actually the active one, then calculate what 
>> image dimensions I should tell POV I want, just to get an image with 
>> square pixels?  That doesn't sound too ideal to me, *especially* when 
>> most of the time you do want square pixels.
>
> So you're saying that your major objection is that you don't want to look 
> through the source code, right?

And then do a calculation to figure out what to tell POV, yes.  I've used 
enough 2D and 3D programs, and none works like this, it's completely 
counter-intuitive.  All programs I've seen automatically assume you are 
working with square pixels unless you specifically check or uncheck a 
certain option, IMO it should be the same for POV.


Post a reply to this message

From: Chambers
Subject: Re: New camera, or new camera docs illustrations.
Date: 30 Jun 2009 21:52:01
Message: <4a4ac141$1@news.povray.org>
scott wrote:
>> So you're saying that your major objection is that you don't want to 
>> look through the source code, right?
> 
> And then do a calculation to figure out what to tell POV, yes.

Fair enough.

Arguing that POV should be like other programs doesn't really convince 
me of anything, though, since POV distinctly *isn't* like other programs.

Anyway, back to the subject at hand.

POV has two sets of input: the scene itself (the scene file and any 
include files) in SDL, and INI options (given either in actual .ini 
files or on the command line).

Currently, the idea is that everything concerning the picture be 
contained within the scene, whereas everything concerning the output 
image be contained within the INI options.  The picture, including 
objects, textures, and even the camera, can not be modified from the INI 
options.

Currently, POV views the camera as part of the scene.  That's just how 
it works.

Now, what do you want to accomplish?

If you want to resize the image without changing the aspect ratio, then 
we have several options.
1) When the user specifies only one dimension, let POV compute the other 
assuming square pixels.
2) When POV parses the final camera block, display the image aspect 
ratio as part of the text output.
3) If the image aspect ratio does not match the camera aspect ratio, 
give a warning (but continue in case non-square pixels are desired).

If, on the other hand, you want to resize the image, and *change* the 
aspect ratio, I'd recommend that you actually read the scene files 
(because you need to know about the scene, what is present, and where it 
is placed).

-- 
Chambers


Post a reply to this message

From: scott
Subject: Re: New camera, or new camera docs illustrations.
Date: 1 Jul 2009 05:49:09
Message: <4a4b3115@news.povray.org>
> If, on the other hand, you want to resize the image, and *change* the 
> aspect ratio, I'd recommend that you actually read the scene files 
> (because you need to know about the scene, what is present, and where it 
> is placed).

I don't know about you, but I find it really hard to visualise what a scene 
will look like by just reading the scene files!  It's much easier to just 
look at a rendered version (either pre-rendered or I will render a quick 
preview myself).

Why not just have a flag/setting:

What should POV do if the requested image aspect does not match the scene 
aspect ratio?
[ ] Adjust image dimensions for letterbox result
[ ] Adjust image dimensions for zoomed/cropped result
[ ] Adjust camera horizontal FOV to match
[ ] Adjust camera vertical FOV to match
[ ] Render non-square pixels


Post a reply to this message

From: Chambers
Subject: Re: New camera, or new camera docs illustrations.
Date: 1 Jul 2009 23:18:57
Message: <4a4c2721@news.povray.org>
scott wrote:
> Why not just have a flag/setting:
> 
> What should POV do if the requested image aspect does not match the 
> scene aspect ratio?
> [ ] Adjust image dimensions for letterbox result
> [ ] Adjust image dimensions for zoomed/cropped result
> [ ] Adjust camera horizontal FOV to match
> [ ] Adjust camera vertical FOV to match
> [ ] Render non-square pixels

Actually, that's a pretty good idea.

-- 
Chambers


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>

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