Yeah, I dropped that part of my old code and used the scale 'input' of your export function like this:
export(__objs__,(PATH_toVrmlFiles + FNME_vrmlfile), 0.3937)
Is that correct?
I also got marmnis code working (exports with colored faces as expected, pretty neat and how it should be), just fiddling with the camera and light at the moment as the settings that come out of that macro are not useful.
Also his tessellation setting was at 1, the 0.03 you suggested is better.
Made me a 10x10x10 mm test object for this..
Do you know how to get surface smoothing for the renderer set up?
One can still see the edges of the faces on that sphere..
Think I found it: http://www.povray.org/documentation/3.7.0/r3_4.html#r3_4_5_2_4_1
You can specify both flat and smooth triangles in the same mesh. To do this, specify the smooth triangles first in the face_indices section, followed by the flat triangles. Then, specify normal indices (in the normal_indices section) for only the smooth triangles. Any remaining triangles that do not have normal indices associated with them will be assumed to be flat triangles.
Looks like it needs to be done in that FCmacro, that builds the povray file.. but I have no clue how.