POV-Ray : Newsgroups : povray.general : Mesh rendering artifacts : Re: Mesh rendering artifacts Server Time
18 May 2024 16:31:32 EDT (-0400)
  Re: Mesh rendering artifacts  
From: Bald Eagle
Date: 29 Jan 2023 19:05:00
Message: <web.63d708a1249f00761f9dae3025979125@news.povray.org>

He posted his scene here :

I'm not sure how the data is generated from MatLab in order to be exported to
triangles for POV-Ray, but I'm thinking that it might be better to export the
geometry for the mesh separately, and then run a macro in POV-Ray to calculate
the normals and color interpolation - or use the gradient y pigment.

I'm guessing that the normals are probably ok (?) and it's just the hard-coded
colors getting interpolated that throws it all off.

I'd have to dig through it all to see - but after I just did some more sorting
macro stuff to handle the function timing (other thread), maybe I could try to
sort the triangle vertices into a grid so that they can be put into a 2D array
and then reprocessed.

Purely as a sorting macro exercise for myself, which might prove useful to
someone else int he future.

Post a reply to this message

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