|
![](/i/fill.gif) |
Jason Miller <jas### [at] pinheiro tcimet net> wrote:
: Warp,
: It is the visibility thing that I am concerned about. And as far as
: implimenting a raytracer, its very easy to make it one sided or two.
: Anyways, the reason I ask is becuase a sphere that I used my program to
: convert from another format to pov, only shows half of the polygons. I know
: for a fact that the other program that writes this format does not care
: about winding.
I can only think of two explanations here:
1. Your program is not exporting all the triangles for some reason, or is
exporting them badly.
2. Half of the triangles are shadowed in your scene and thus they are
(almost) black, as I suppose is your background? Try putting more light sources
to different sides of the scene to see if it helps.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |