POV-Ray : Newsgroups : povray.binaries.images : Superellipsoid artefacts : Re: Superellipsoid artefacts Server Time
11 May 2024 01:52:23 EDT (-0400)
  Re: Superellipsoid artefacts  
From: Meothuru
Date: 15 Nov 2007 00:50:01
Message: <web.473bdc811a51e3ed5a73e3b40@news.povray.org>
Kyle <hob### [at] gatenet> wrote:
> Why does this scene have artefacts on the superellipsoid?

IMO because the pigment is strechted on z-axis by
the scaling factor "7"


Better use:  Rounded_cylinder
This figure is more flexible and you can use all
kind of pigments/textures/normals/materials etc.
without scaling.



Example:

//------------------
#include "shapes.inc"

global_settings {
  assumed_gamma 1
  max_trace_level 25
}

light_source { <20, 100, -10>, rgb 1 }

camera {
  right x*image_width/image_height
  location <0, 9, -12> look_at <0, 0, 0>
}


plane {
  y, 0
  pigment { rgb <0.4,0.6,0.6> }
}

object {
Round_Cylinder(<0,0,-3.5>, <0,0,3.5>, 1, 0.15, 1)
  pigment { rgb 0.8 }
  translate <-1, 1, 0>
  rotate y*29

}
//-----


Post a reply to this message

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