POV-Ray : Newsgroups : povray.binaries.images : RoundEdge 1.3.1: elimination of torus artifact Server Time
28 Apr 2024 15:57:21 EDT (-0400)
  RoundEdge 1.3.1: elimination of torus artifact (Message 1 to 1 of 1)  
From: Cousin Ricky
Subject: RoundEdge 1.3.1: elimination of torus artifact
Date: 25 Jan 2016 13:20:01
Message: <web.56a666e11a5eb08b566b73360@news.povray.org>
See povray.object-collection.

The object on the left was created with Round_Cylinder_Merge() from shapes.inc.
The object of the right was created with RE_Cylinder() from roundedge.inc
version 1.3.1.

----------[BEGIN CODE]----------
#version 3.7;

global_settings { assumed_gamma 1 }

camera
{ location -10 * z
  angle 30
}

light_source { <-1, 1, -1> * 1000, rgb 1 }

background { rgb 0.5 }

#include "shapes.inc"
object
{ Round_Cylinder_Merge (-1.5 * y, 1.5 * y, 1, 0.7)
  pigment { red 1 transmit 0.5 }
  finish { specular 0.25 roughness 0.025 }
  translate -1.25 * x
}

#include "roundedge.inc"
object
{ RE_Cylinder (-1.5 * y, 1.5 * y, 1, 0.7, yes)
  pigment { red 1 transmit 0.5 }
  finish { specular 0.25 roughness 0.025 }
  translate 1.25 * x
}
-----------[END CODE]-----------


Post a reply to this message


Attachments:
Download 're-torus_artifact-pbi.png' (15 KB)

Preview of image 're-torus_artifact-pbi.png'
re-torus_artifact-pbi.png


 

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