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 Gaitatzes416April 08, 2013 06:39AM
Re: Regarding rendering of parts Roland Melkert201April 08, 2013 10:12AM
Re: Regarding rendering of parts Athanasios Gaitatzes193April 08, 2013 10:43AM
Re: Regarding rendering of parts Roland Melkert197April 08, 2013 12:05PM
Re: Regarding rendering of parts Travis Cobbs208April 08, 2013 12:16PM
Re: Regarding rendering of parts Travis Cobbs187April 08, 2013 10:44AM
Re: Regarding rendering of parts Athanasios Gaitatzes190April 08, 2013 01:12PM
Re: Regarding rendering of parts Tim Gould195April 08, 2013 02:33PM
Re: Regarding rendering of parts Roland Melkert213April 08, 2013 02:37PM
Re: Regarding rendering of parts Travis Cobbs223April 08, 2013 04:28PM
Re: Regarding rendering of parts Ben Supnik176April 09, 2013 06:35PM
Re: Regarding rendering of parts Tim Gould181April 09, 2013 06:56PM
Re: Regarding rendering of parts Athanasios Gaitatzes191April 09, 2013 11:29PM
Re: Regarding rendering of parts Ben Supnik168April 10, 2013 07:13AM
Re: Regarding rendering of parts Athanasios Gaitatzes183April 10, 2013 07:51AM
Re: Regarding rendering of parts Paul Griffin180April 12, 2013 10:34PM
Re: Regarding rendering of parts Athanasios Gaitatzes190April 13, 2013 03:05AM
Re: Regarding rendering of parts Paul Griffin246April 13, 2013 10:56AM



Sorry, only registered users may post in this forum.

Click here to login