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