Welcome! Log In Create A New Profile

Advanced
Regarding rendering of parts
April 08, 2013 06:39AM
I am trying to write a renderer and so trying to understand the document http://www.ldraw.org/article/415.html.
My first question is does a reverse matrix (determinant < 0) perform a mirroring on the part as I have seen in some places or just changes the winding as the document suggests. I wish the pseudocode at the bottom of the document also included the negative determinant part of the drawing process.

Also regarding rendering. If I open the subpart box5.dat in ldview the backfacing polygons are not rendered. But If I create a file sample.dat and in it I put the line "1 16 0 0 0 1 0 0 0 1 0 0 0 1 box5.dat" and open sample.dat in ldview then the backfacing polygons are rendered. From reading the above document I do not understand why that is the case.

Thank you for any help.
SubjectAuthorViewsPosted
Regarding rendering of parts Athanasios Gaitatzes459April 08, 2013 06:39AM
Re: Regarding rendering of parts Roland Melkert225April 08, 2013 10:12AM
Re: Regarding rendering of parts Athanasios Gaitatzes219April 08, 2013 10:43AM
Re: Regarding rendering of parts Roland Melkert224April 08, 2013 12:05PM
Re: Regarding rendering of parts Travis Cobbs236April 08, 2013 12:16PM
Re: Regarding rendering of parts Travis Cobbs212April 08, 2013 10:44AM
Re: Regarding rendering of parts Athanasios Gaitatzes221April 08, 2013 01:12PM
Re: Regarding rendering of parts Tim Gould223April 08, 2013 02:33PM
Re: Regarding rendering of parts Roland Melkert241April 08, 2013 02:37PM
Re: Regarding rendering of parts Travis Cobbs250April 08, 2013 04:28PM
Re: Regarding rendering of parts Ben Supnik206April 09, 2013 06:35PM
Re: Regarding rendering of parts Tim Gould209April 09, 2013 06:56PM
Re: Regarding rendering of parts Athanasios Gaitatzes214April 09, 2013 11:29PM
Re: Regarding rendering of parts Ben Supnik197April 10, 2013 07:13AM
Re: Regarding rendering of parts Athanasios Gaitatzes210April 10, 2013 07:51AM
Re: Regarding rendering of parts Paul Griffin202April 12, 2013 10:34PM
Re: Regarding rendering of parts Athanasios Gaitatzes220April 13, 2013 03:05AM
Re: Regarding rendering of parts Paul Griffin281April 13, 2013 10:56AM



Sorry, only registered users may post in this forum.

Click here to login