POV-Ray : Newsgroups : povray.general : camera/image output question : Re: camera/image output question Server Time
5 Nov 2024 09:25:45 EST (-0500)
  Re: camera/image output question  
From: Christopher James Huff
Date: 10 May 2003 19:56:28
Message: <cjameshuff-45FA8C.19563210052003@netplex.aussie.org>
In article <3EB### [at] osuedu>, ross litscher <lit### [at] osuedu> 
wrote:

> at image dimensions 320x240, the resulting box is roughly 50x20 pixels 
> with tons of space around the image. what would I have to do to render 
> an output image of 50x20 pixels that is filled perfectly with exactly 
> one instance of the box and no "empty space" around the box. I hope I 
> made this sort of clear. The purpose of this is so i don't have to crop 
> the image in some other editing program.

You do realize that this is going to either leave part of the box out of 
the field of view or distort it to fit, don't you? Anyway, you want the 
right and up keywords, as well as an orthographic camera:

camera {
    orthographic
    location <0, 0,-8>
    look_at <0, 0, 0>
    right x*0.5 up y*0.25
    angle 45
}

No matter what resolution you render at, the box will be deformed to fit.


> Also, is there an IRC server and channel for povray? i looked around a 
> few but i didn't see anything.

There used to be a #povray channel on EFNet, but it was practically 
inactive the last time I visited. There was a thread in the USENET group 
comp.graphics.rendering.raytracing recently about a #raytracing channel 
on irc.astrolink.org, but there is no "official" POV-Ray IRC channel.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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