POV-Ray : Newsgroups : povray.general : Should this take 5 mins to render? Server Time
7 Aug 2024 13:17:45 EDT (-0400)
  Should this take 5 mins to render? (Message 1 to 4 of 4)  
From: Rob Brown-Bayliss
Subject: Should this take 5 mins to render?
Date: 2 Oct 2001 19:16:46
Message: <3bba4ade@news.povray.org>
I am rendering one instance of this object, nothiung else and it's taking
5 mins.  But other (lathe) objects take around 1 min under teh same
lighting conditions, and same texture...

#local Scol = difference
{
		#local Count=0;
		#while (Count < 50)
		object
		{
			torus {6.3,1.2}
			translate <0,0.1 * Count,0>
		}
		#local Count=Count+1;
		#end
		
		box {<-10,-10,-10>,<10,10,0>}

	
	texture 
	{ 
		Cowling
	}
}

-- 

  Rob Brown-Bayliss
 ---======o======---


Post a reply to this message

From: Ken
Subject: Re: Should this take 5 mins to render?
Date: 2 Oct 2001 22:06:12
Message: <3BBA73DF.9E8759E3@pacbell.net>
Rob Brown-Bayliss wrote:
> 
> I am rendering one instance of this object, nothiung else and it's taking
> 5 mins.  But other (lathe) objects take around 1 min under teh same
> lighting conditions, and same texture...
> 
> #local Scol = difference
> {
>                 #local Count=0;
>                 #while (Count < 50)
                                  ^^
You are differencing 50 torus objects from each other. Reduce that number to
2 and it will render considerably faster. Considering what you were doing
5 min. is not at all out of line.

-- 
Ken Tyler


Post a reply to this message

From: Rob Brown-Bayliss
Subject: Re: Should this take 5 mins to render?
Date: 2 Oct 2001 22:15:35
Message: <3bba74c7@news.povray.org>
In article <3BBA73DF.9E8759E3@pacbell.net>, "Ken" <tyl### [at] pacbellnet>
wrote:

> Rob Brown-Bayliss wrote:
>> 
>> I am rendering one instance of this object, nothiung else and it's
>> taking 5 mins.  But other (lathe) objects take around 1 min under teh
>> same lighting conditions, and same texture...
>> 
>> #local Scol = difference
>> {
>>                 #local Count=0;
>>                 #while (Count < 50)
>                                   ^^
> You are differencing 50 torus objects from each other. Reduce that
> number to 2 and it will render considerably faster. Considering what you
> were doing 5 min. is not at all out of line.
> 

huh, Idiot, I ment to to a union...  Bummbr, I have since changed my
design to this:

	#local Outer = difference
	{
		intersection
		{
			sphere {<0, 0, 0>, 8.3}
			box {<0,-3,-1>,<10,3,5>}
		}
		sphere {<0, 0, 0>, 6.3}
	}
	difference
	{
		object {Outer}
		difference
		{
			intersection
			{
				sphere {<0, 0, 0>, 8.2}
				box {<0,-2.9,-1.5>,<10,2.9,5>}
			}
			sphere {<0, 0, 0>, 6.4}
		}
	}
-- 

  Rob Brown-Bayliss
 ---======o======---


Post a reply to this message

From: Micha Riser
Subject: Re: Should this take 5 mins to render?
Date: 3 Oct 2001 05:55:01
Message: <38nep9.uv1.ln@micha.riser>
Rob Brown-Bayliss wrote:

> #local Outer = difference
> {
> intersection
> {
> sphere {<0, 0, 0>, 8.3}
> box {<0,-3,-1>,<10,3,5>}
> }
> sphere {<0, 0, 0>, 6.3}
> }
> difference
> {
> object {Outer}
> difference
> {
> intersection
> {
> sphere {<0, 0, 0>, 8.2}
> box {<0,-2.9,-1.5>,<10,2.9,5>}
> }
> sphere {<0, 0, 0>, 6.4}
> }
> }

union{
        intersection{
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 8.2 inverse}
                box {<0,-2.9,-1.5>,<10,2.9,5>}
                }
        intersection{
                sphere {<0, 0, 0>, 6.3 inverse}
                sphere {<0, 0, 0>, 6.4}
                box {<0,-2.9,-1.5>,<10,2.9,5>}
                }
        intersection{
                box {<0,2.9,-1.5>,<10,3,5>}
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 6.3 inverse}
                }
        intersection{
                box {<0,-2.9,-1.5>,<10,-3,5>}
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 6.3 inverse}
                }
         }      

works a little bit faster when you have automatic bounding turned on.

- Micha


Post a reply to this message

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