POV-Ray : Newsgroups : povray.newusers : Should it be this slow? : Should it be this slow? Server Time
27 Jun 2024 17:22:00 EDT (-0400)
  Should it be this slow?  
From: taftj
Date: 22 Feb 2012 00:35:01
Message: <web.4f447d56d3a28fb9e3f6250f0@news.povray.org>
Hi everyone!

I am trying to render a scene which I thought was pretty simple, but it is
moving extremely slowly and so I was hoping somebody might explain why it is so
slow (I'm new to this so forgive me if I'm missing something obvious).  It seems
when I've read about other people's renders they can render more complicated
scenes beautifully in a lot less time.


It's been going for 22 hours and it's only 3% done.

I am using version 3.7 and it is using all four of my cores (3.2 GHz), but only
2.77G of my 16G total RAM.

I am rendering at 1024x768 with AA threshold 0.0, AM2, R5, and Q11

Here's the code:


  #include "colors.inc"
  #include "stones.inc"
  #include "finish.inc"
  #include "glass.inc"
  #include "woods.inc"
  #include "textures.inc"
  #include "golds.inc"
  camera {
    location <0, 0, -15>
    look_at  <0, 0,  0>
  }
    background{White}










  plane { <0, 0, 1>, 5.06
  texture{
    pigment {color White
    }
     finish{
     diffuse 1
     }
    }
  }






#declare flathelix =  intersection{


  object{
  difference{

    cylinder {
    <0, -13, 0>,
    <0, 25.5, 0>,
    5.05


  }


       cylinder {
    <0, -14, 0>,
    <0, 26, 0>,
    4.95


  }

  }

  }




  sphere_sweep {
    cubic_spline
    50,


      #declare Count=0;
 #while (Count < 50)
<5*sin(Count/2),Count/2-13,5*cos(Count/2)>, 0.4
  #declare Count=Count+1;
 #end

  }


}

#declare strand = union{

object{flathelix       translate 0.5*y


       texture{ pigment{color rgb<0.8039, .36078, 0.36078>  filter 1 }}


                   finish {
      ambient 0
      diffuse 0
      reflection .25
      specular 1
      roughness .001
   }

            interior {ior 1.5}

}

object{flathelix     rotate 180*y


       texture{ pigment{color rgb<0.27451, 0.5098,  0.70588> filter 1 }}

                   finish {
      ambient 0
      diffuse 0
      reflection .25
      specular 1
      roughness .001
   }

            interior {ior 1.5}

}

#declare Count=0;
 #while (Count < 50)


   sphere_sweep {
    linear_spline
    6,


    <4.8*sin(Count/2),Count/2-13 + 0.5,4.8*cos(Count/2)>,     0.2
    <3.2*sin(Count/2),Count/2-13 + .4,3.2*cos(Count/2)>,     0.1
    <1.6*sin(Count/2),Count/2-13 + .3,1.6*cos(Count/2)>,     0.05
    <-1.6*sin(Count/2),Count/2-13 + .2,-1.6*cos(Count/2)>,     0.05
    <-3.2*sin(Count/2),Count/2-13 + .1,-3.2*cos(Count/2)>,     0.1
    <-4.8*sin(Count/2),Count/2-13,-4.8*cos(Count/2)>,    0.2



          texture {Polished_Chrome}
    }

  #declare Count=Count+1;
 #end

 }


 object{strand rotate -15*z translate -6*x




    }
  object{strand rotate -205*z translate 6*x


  }






  light_source { 2*<5, 5, -15>*1 color White*1.5 area_light <5, 0, 0>, <0, 0,
5>, 10, 10}



Thanks for any help or suggestions!


Post a reply to this message

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