POV-Ray : Newsgroups : povray.general : merge/union times Server Time
6 Nov 2024 02:23:17 EST (-0500)
  merge/union times (Message 1 to 3 of 3)  
From: Spider
Subject: merge/union times
Date: 2 Mar 1999 16:20:33
Message: <36DC54AF.52D06F18@bahnhof.se>
I've been working a bit with a orthorgaphic camera, and wanted to do a little
tag for my images, so ok. I go ahead. but, this doesn't take much of place on
the image, but there still is a MAJOR time difference between renderspeed for
ALL the image. I wonder why this is?
ok, there is transparency involved, but I didn't expect so big differences.

here are some times with a bit more advanced image than the one I include. This
one is the same tag, but has a image map and a heightfield in it, that really
changes other rendertimes. but I think it is speaking enough.
	time(s)		Memory(b)
merge:	3724		30241894
union : 380 		30241894

render settings :
	antialias off
	width = 800
	height = 1221
please keep the ratio :-)
another setting for test-renders :
640x994
version :
Pov-ray 3.1d, official compile, ran under win95. 96Mb ram. p166mmx in 200mhz

#version 3.1;
global_settings {
  assumed_gamma 1.0
}

light_source   {
  <3, 3, -30>*100
  color rgb 1
}
#declare Image = "fyr1_1.png"
#declare Scale = 1800/1179; // (original Y)/(original X)
#declare S = 15;
#declare siz = 0.1;

merge {
  box {
    <0,0,0>,<2.4*siz,siz,siz>
    interior { ior 2 }
    pigment { colour rgb <1,.98,.98> transmit 1 }
    translate -2*siz*z
  }
  union {
    text {
      ttf "c:\win95\fonts\merlinn.ttf",
      "Spider", 1, 0         
      scale siz
      scale (x+y)*0.75+z
      rotate (y*-2)+(x*-2)+(z*-1)
    }
    text {
      ttf "c:\win95\fonts\merlinn.ttf",
      "Lighthouse", 1, 0         
      scale siz
      scale (x+y)*0.45+0.80*z
      rotate (y*-.5)+(x*-.5)+(z*-.1)
      translate 0.62*y*siz
    }
    translate -0.75*siz*z
    interior { ior 2.1}    
    pigment { colour rgb <1,1,0> transmit 0.8 }
  }
  scale <S*Scale,S,1>
  translate <-0.5*S*Scale,-0.5*S,0>
  normal {
    bumps 10
    frequency 0.50
    turbulence <1.30, 1.30, 1.25>
    octaves 30
    omega 1/30
    scale 1/10    
  }
  translate z
}

camera {
  normal {
    gradient z
    sine_wave
    normal_map {
//      [0/4 ripples .008 frequency 15 turbulence <1.2, 1.3, 1.25> octaves 30
omega 1/30]
      [1/4 ripples .008 frequency 15 turbulence <1.30, 1.30, 1.25> octaves 30
omega 1/30]
      [2/4 waves .001 frequency 15 turbulence <1.20, 1.30, 1.35> octaves 30
omega 1/30]
      [3/4 waves .001 frequency 15 turbulence <1.25, 1.25, 1.20> octaves 30
omega 1/30]
      [4/4 ripples .008 frequency 15 turbulence <1.30, 1.20, 1.25> octaves 30
omega 1/30]
    }
    scale 1/20
  }
  orthographic
  location  <0.0, 0, -S>
  direction 0.9*z
  right     Scale*S*x
  up        S*y
  look_at   <0.0, 0.0,  0.0>
}


-- 
//Spider 
( spi### [at] bahnhofse ) [ http://www.bahnhof.se/~spider/ ]
#declare life = rand(seed(42))*sqrt(-1);


Post a reply to this message

From: Peter Popov
Subject: Re: merge/union times
Date: 3 Mar 1999 00:01:44
Message: <36dcc080.895050@news.povray.org>
On Tue, 02 Mar 1999 22:14:23 +0100, Spider <spi### [at] bahnhofse> wrote:

>I've been working a bit with a orthorgaphic camera, and wanted to do a little
>tag for my images, so ok. I go ahead. but, this doesn't take much of place on
>the image, but there still is a MAJOR time difference between renderspeed for
>ALL the image. I wonder why this is?
>ok, there is transparency involved, but I didn't expect so big differences.

<snip!>

Did you try to manually bound it? Sometimes helps a *lot* . 

---------
Peter Popov
ICQ: 15002700


Post a reply to this message

From: Spider
Subject: Re: merge/union times
Date: 3 Mar 1999 07:15:07
Message: <36DD2657.C8B62FEB@bahnhof.se>
I didn't try in this case, I will.


Peter Popov wrote:
> 
> On Tue, 02 Mar 1999 22:14:23 +0100, Spider <spi### [at] bahnhofse> wrote:
> 
> >I've been working a bit with a orthorgaphic camera, and wanted to do a little
> >tag for my images, so ok. I go ahead. but, this doesn't take much of place on
> >the image, but there still is a MAJOR time difference between renderspeed for
> >ALL the image. I wonder why this is?
> >ok, there is transparency involved, but I didn't expect so big differences.
> 
> <snip!>
> 
> Did you try to manually bound it? Sometimes helps a *lot* .
> 
> ---------
> Peter Popov
> ICQ: 15002700

-- 
//Spider 
( spi### [at] bahnhofse ) [ http://www.bahnhof.se/~spider/ ]
#declare life = rand(seed(42))*sqrt(-1);


Post a reply to this message

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