To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4509
4508  |  4510
Subject: 
Re: Performance Improvement
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 19 Apr 2000 00:30:38 GMT
Viewed: 
874 times
  
Damien Duquennoy wrote...
Well, i think it's also possible to substitue some quads to the triangles. But i've made some tests with l3lab and there is no
differences on rendering time between the triangle version and quad version of my disc.

Does someone know how quads are drawing by rendering programs : as a real quad, or as two triangles ?

L3Lab draws a quad as two triangles.
You can see this yourself, when you turn off dither-transparency and use true transparency.
Because the two triangles share a side, the quad-division line gets drawn twice
and is therefore darker.

I use two triangles because L3P already divided quads into triangles for POV,
and does the necessary bow-tie fixing.
Besides I saved implementing a polyfill routine :-)

PS, By using quads, you get smaller files.

True, and fewer vertex transformations (matrix-vector multiplies) and half the color setup.
However, L3Lab's bottleneck is the actual drawing of the lines/triangles (90% of the time).
so the savings are hard to measure.
/Lars



Message is in Reply To:
  Re: Performance Improvement
 
Hi Well, i think it's also possible to substitue some quads to the triangles. But i've made some tests with l3lab and there is no differences on rendering time between the triangle version and quad version of my disc. Does someone know how quads are (...) (24 years ago, 15-Apr-00, to lugnet.cad.dev)

11 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR