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 Gaitatzes532April 08, 2013 06:39AM
Re: Regarding rendering of parts Roland Melkert273April 08, 2013 10:12AM
Re: Regarding rendering of parts Athanasios Gaitatzes266April 08, 2013 10:43AM
Re: Regarding rendering of parts Roland Melkert272April 08, 2013 12:05PM
Re: Regarding rendering of parts Travis Cobbs279April 08, 2013 12:16PM
Re: Regarding rendering of parts Travis Cobbs273April 08, 2013 10:44AM
Re: Regarding rendering of parts Athanasios Gaitatzes273April 08, 2013 01:12PM
Re: Regarding rendering of parts Tim Gould265April 08, 2013 02:33PM
Re: Regarding rendering of parts Roland Melkert282April 08, 2013 02:37PM
Re: Regarding rendering of parts Travis Cobbs295April 08, 2013 04:28PM
Re: Regarding rendering of parts Ben Supnik248April 09, 2013 06:35PM
Re: Regarding rendering of parts Tim Gould252April 09, 2013 06:56PM
Re: Regarding rendering of parts Athanasios Gaitatzes247April 09, 2013 11:29PM
Re: Regarding rendering of parts Ben Supnik233April 10, 2013 07:13AM
Re: Regarding rendering of parts Athanasios Gaitatzes246April 10, 2013 07:51AM
Re: Regarding rendering of parts Paul Griffin232April 12, 2013 10:34PM
Re: Regarding rendering of parts Athanasios Gaitatzes262April 13, 2013 03:05AM
Re: Regarding rendering of parts Paul Griffin315April 13, 2013 10:56AM



Sorry, only registered users may post in this forum.

Click here to login