POV-Ray : Newsgroups : povray.general : non spherical sphere : Re: non spherical sphere Server Time
29 Jul 2024 18:30:39 EDT (-0400)
  Re: non spherical sphere  
From: Le Forgeron
Date: 7 Dec 2010 09:20:45
Message: <4cfe42bd@news.povray.org>
Le 07/12/2010 14:37, daedalouse a écrit :
> But it did not work out. I render with Width=1280 Height=1024.

If you are rendering the scene at the root of the thread, it cannot work
with +W1280 +H1024

1280 / 1024 is a 5:4 ratio.
Default (3.6) ratio is 4:3;
No Cigare!


You need (notice, 1 more line!):

#include "colors.inc"
#include "stones.inc"
#include "woods.inc"
#include "textures.inc"
background { color White}
camera {
 location <50,0,0>
 right x*image_width/image_height
  look_at <0,0,0>}
light_source {
   <20, 0, 0> color White
}


sphere {
<0,0,0> , 21
pigment {
color rgbt <1,1,1,0.7> }}


-- 
A: Because it messes up the order in which people normally read text.<br/>
Q: Why is it such a bad thing?<br/>
A: Top-posting.<br/>
Q: What is the most annoying thing on usenet and in e-mail?


Post a reply to this message

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