POV-Ray : Newsgroups : povray.advanced-users : How can I speed it up Server Time
2 Nov 2024 07:24:03 EDT (-0400)
  How can I speed it up (Message 1 to 2 of 2)  
From: Frank Stolle
Subject: How can I speed it up
Date: 31 Dec 1999 03:57:29
Message: <386c6ff9@news.povray.org>
Hi

I've convert some 3DS-Files to POV-Ray. Now the object looks like

#declare MyObj=union {
  union {  /* subobject 1 */
    triangle { <......
    triangle { <......
    triangle { <......
    triangle { <......
  }
  union {  /* subobject 2 */
    triangle { <......
    triangle { <......
    triangle { <......
    triangle { <......
  }
  .....
  texture { .... }
}

If I render the scene in POV-Ray, it Povray render as much as longer.
Example:
an empty room (4 Walls , one light source, 800 x 600) needs 2 minutes
with this 3DS-Object, which you is only 50 x 50 pixel large Povray needs 6
minutes, because povray need more time to render the wall, where you can't
see the objects. I hope you understood me.

Is there the posiblity to speed it up. I've tried bounded_by, but not with
better results. Could you give me an example or a tip?

thank you
  frank


Post a reply to this message

From: Nathan Kopp
Subject: Re: How can I speed it up
Date: 2 Jan 2000 13:49:43
Message: <386f9dc7@news.povray.org>
Frank Stolle <sto### [at] gmxde> wrote ...
> Hi
>
> I've convert some 3DS-Files to POV-Ray. Now the object looks like
>
> #declare MyObj=union {
>   union {  /* subobject 1 */
>     triangle { <......
>     triangle { <......
>     triangle { <......
>     triangle { <......
>   }

etc.

Put things into a mesh (or mesh2 if you use MegaPov) instead of a union of
triangles.

Unions of triangles are a great waste of memory, which can really slow
things down.

-Nathan


Post a reply to this message

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