POV-Ray : Newsgroups : povray.general : patches vs. meshes Server Time
1 Nov 2024 14:19:50 EDT (-0400)
  patches vs. meshes (Message 1 to 2 of 2)  
From: ryan constantine
Subject: patches vs. meshes
Date: 30 Jun 2000 00:06:29
Message: <395C1C28.34735E7@yahoo.com>
i redid my xwing fuselage and exported from spatch as a patch and now it
takes several minutes to render (parse is about 2 secs, pov file is
about 500k), where before i used two solid meshes and it took exactly 1
min to render (parse 11 secs, pov file miniscule, mesh incs 2.5 MB
each).  so what is up with that?  is there a way to just change the
patches?  but are patches cleaner looking?


Post a reply to this message

From: Chris Huff
Subject: Re: patches vs. meshes
Date: 30 Jun 2000 10:30:09
Message: <chrishuff-AACBAF.09301430062000@news.povray.org>
In article <395### [at] yahoocom>, ryan constantine 
<rco### [at] yahoocom> wrote:

> i redid my xwing fuselage and exported from spatch as a patch and now it
> takes several minutes to render (parse is about 2 secs, pov file is
> about 500k), where before i used two solid meshes and it took exactly 1
> min to render (parse 11 secs, pov file miniscule, mesh incs 2.5 MB
> each).  so what is up with that?  is there a way to just change the
> patches?  but are patches cleaner looking?

Patches can do subdivision "on the fly", while rendering, to produce 
smoother results. Try the "type" keyword:
(from the manual)
"The keyword type  is followed by a float  Patch_Type  which currently 
must be either 0 or 1. For type 0 only the control points are retained 
within POV-Ray. This means that a minimal amount of memory is needed but 
POV-Ray will need to perform many extra calculations when trying to 
render the patch. Type 1 preprocesses the patch into many subpatches. 
This results in a significant speedup in rendering at the cost of 
memory."

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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