|
 |
yesbird wrote:
> On 13/10/2025 14:03, Kenneth wrote:
> > I just tried uploading 'cube.fbx' to your converter, but it does not load there.
> > ...
>
> Thanks for testing, could you please take file from here
> and try again ?
>
YES, that worked; and thanks for that cube object, because I was able to
discover what is causing the inside-out-triangles problem...and the confusion
for both you and me! I made two conversion tests (deleting your 'material' and
substituting a texture plus an interior texture.)
When I convert it to SMOOTH triangles (the default at your conversion site), the
cube appears CORRECT as to inside/outside colors. That surprised me.
When I convert it to FLAT triangles, the inside/outside is *reversed*. (This is
how I have been converting objects there, and I did not know until now that the
two schemes produced different results.)
I have attached a POV-ray scene file to show both of the examples side by side.
The green cube is the smooth-triangle version; the red one is flat triangles.
From examining both of the mesh2 code examples, it is not clear to me why the
two results should be different-- although I am not very knowledgeable about
mesh2 syntax.
Anyway, at least *part* of the mystery has been cleared up :-D
-----------
In my opinion, the 'union' at the end of the converted file(s) is not really
necessary, nor is the 'part1' object there. The converted .inc file by itself
would be easier to render in one of our scenes, just by #including it there.
Post a reply to this message
Attachments:
Download 'cube as smooth vs flat triangles.pov.txt' (4 KB)
|
 |