POV-Ray : Newsgroups : povray.newusers : Divide a torus : Divide a torus Server Time
30 Jul 2024 04:12:39 EDT (-0400)
  Divide a torus  
From: Oleguer Vilella
Date: 19 Sep 2004 12:41:35
Message: <414db6bf$1@news.povray.org>
Can anyone tell me how can I divide this torus?
The code is:
===============Thecamera================
#include "colors.inc"
#include "shapes.inc"
#include "stones.inc"
#include "textures.inc"
#include "woods.inc"
#include "metals.inc"
#include "golds.inc"
#include "glass.inc"
#include "glass_old.inc"

global_settings { assumed_gamma 2 }
background { color White }
camera { location <-10, 8, -19> look_at <0, 5, 0> }
light_source { <0, 33, 0> color White spotlight point_at <0, 0, 0> radius 50
falloff 20 tightness 0  }
light_source { <0, 19, 0> color rgb <0.5, 0.5, 0.5> }
light_source { <40, 25, 0> color rgb <1, 1, 1>
spotlight
point_at <0, 5, 0>
radius 20
falloff 20  }
=====================================
==============The torus=================
torus { .3, .1 texture { T_Gold_1D } finish { specular 1 ambient 0.9
reflection .001 phong 0.3 phong_size 30 }
scale 0.7 scale <1.5, 1, 9> translate <3, 2, 0> rotate <90, 180, 0>
}
=====================================
I want a only a half of it.

turn the middle, make a function like sine, cosine and tangent but it isn't
the function that I need. Any idees?

Thanks in advance,
Oleguer
http://www.infonegocio.com/oleguervm


Post a reply to this message

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