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 / 4484
4483  |  4485
Subject: 
Re: Performance Improvement
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 15 Apr 2000 21:52:42 GMT
Viewed: 
616 times
  
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 drawing by rendering programs : as a real quad, or as two triangles ?

PS, By using quads, you get smaller files.

Damien

--
Damien et Nathalie Duquennoy
26, rue du belvédère
69210 L'ARBRESLE
dduquenn@club-internet.fr
http://perso.club-internet.fr/dduquenn/
Rui Martins <Rui.Martins@link.pt> a écrit dans le message : Pine.GSU.4.10.10004051352500.16816-100000@is-sv...
Since the BFC discussion has everything to do with performance improvement,
I would like to propose the following changes to the primitives:

-  4-4disc.dat
-  2-4disc.dat

Remove the point which lies in position (0,0,0), because it's NOT required and
it adds significant overhead processing (every stud has an extra NOT
required point)

The primitives can still be constructed with triangles, just remove the point
(0,0,0) and remake the triangles in a fan like manner.

See these image grabs from my prog.
All triangles are in white, all quads are in grey.

the normal stud using "4-4disc.dat"

HTTP://is-sv.link.pt/~rmsm/lego/nstud.png

A stud using a changed "4-4disc.dat"

HTTP://is-sv.link.pt/~rmsm/lego/xstud.png

the "2-4disc.dat" change will be similar

Also note that this change will correct the T junctions problems found in many
parts (what I have previously called BAD MODELING in reply to "stld2dat" mails)

See ya

Rui Martins




Message has 3 Replies:
  Re: Performance Improvement
 
(...) Depends on the program. LDraw renders triangles by duplicating the final point, and rendering it as a quad. LDLite (I believe) splits quads into triangles. Steve (25 years ago, 16-Apr-00, to lugnet.cad.dev)
  Re: Performance Improvement
 
(...) Usually software Renderers internally use only triangles, because it simplifies the rendering algorythm, but in an hardware renderer, you can't be sure, it depends much on the hardware architecture. There a few hardware renderers which also (...) (25 years ago, 17-Apr-00, to lugnet.cad.dev)
  Re: Performance Improvement
 
Damien Duquennoy wrote... (...) 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 (...) (25 years ago, 19-Apr-00, to lugnet.cad.dev)

Message is in Reply To:
  Performance Improvement
 
Since the BFC discussion has everything to do with performance improvement, I would like to propose the following changes to the primitives: - 4-4disc.dat - 2-4disc.dat Remove the point which lies in position (0,0,0), because it's NOT required and (...) (25 years ago, 5-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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