|
|
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
|
|
|
|
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
|
|
|
|
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
|
|