POV-Ray : Newsgroups : povray.binaries.images : Localized damage to planes and edges : Re: Localized damage to planes and edges Server Time
31 Jul 2024 18:23:22 EDT (-0400)
  Re: Localized damage to planes and edges  
From: Eriban
Date: 14 Jun 2009 17:35:01
Message: <web.4a356bf44da08f7081475b100@news.povray.org>
Hi all,

FYI, I have now also completed my macro for damaging corners, and refactored the
plane and edge damage macros while doing so. Attached is an imaging showing the
results. The red objects are the mesh objects generated by the macros, and the
rounded box shows the result after CSG. The meshes each consist of a medium
number of triangles; the results can be improved by using more triangles of
course. The stats for the meshes in the image are:

  DamagedPlane: vertices traced/fixed = 451/84, triangles smooth/flat = 820/162
  DamagedEdge: vertices traced/fixed = 329/70, triangles smooth/flat = 588/140
  DamagedCorner: vertices traced/fixed = 513/77, triangles smooth/flat = 950/158

The macros are surprisingly lengthy; in total they span more than 1300 lines. I
plan to add them to the POV collection eventually, after adding some
documentation and examples. However, I first want to get back to my scene for
which I created these. This macro-creating detour took a bit longer than
initially anticipated.

Erwin


Post a reply to this message


Attachments:
Download 'damage.png' (175 KB)

Preview of image 'damage.png'
damage.png


 

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