POV-Ray : Newsgroups : povray.general : Strange normal mangling issue : Re: Strange normal mangling issue Server Time
30 Jul 2024 12:26:10 EDT (-0400)
  Re: Strange normal mangling issue  
From: HadleyRille
Date: 25 Feb 2009 19:05:00
Message: <web.49a5dc56b967aba483613820@news.povray.org>
I don't see anything obviously wrong with the number formatting:

<0.1231928,0.913117,0.3886397>,
<0.2473599,0.8537122,0.4582451>,
<0.2138725,0.9033616,0.3717476>,
<0.4174524,0.808294,0.4152039>,
<0.3592963,0.8736917,0.3279772>,
<0,0.877506,0.4795656>,
<0,0.8864407,0.4628422>,

unless the "0," that leads the coordinate triplets of the last two lines screws
up the parser and it really needs to see 0.0 instead.  Seems unlikely, though.
I'll look for more subtle formatting weirdness, though.

To be clear, I did the Poseray conversion, and produced the first image.
Thinking it was all working well, I sent her the POV scene, and she replied
with the mangled image.

Thanks!

"clipka" <nomail@nomail> wrote:
> "HadleyRille" <nomail@nomail> wrote:
> > http://homepage.mac.com/johnknoll/in/aptera_pov_render.jpg
> > http://homepage.mac.com/johnknoll/in/lores_aptera4.png
> >
> > It sure looks like the normals are getting mangled, but it renders fine for me.
>
> "Mangled" is quite an understatement for *this* one...!
>
> Check your auto-generated mesh2 object for number format issues (especially
> decimal point vs. decimal comma, but also any other peculiarities). Maybe
> Poseray did a lousy job there (using locale instead of forcing decimal point?),
> and maybe the windows version of POV is more robust against that issue (possibly
> using a compiler-dependent number parsing lib).
>
> Did your friend use the same Poseray export, or did he export it again himself?


Post a reply to this message

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