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 / 4334
4333  |  4335
Subject: 
Performance Improvement
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 5 Apr 2000 13:21:24 GMT
Reply-To: 
rui.martins@linkIHATESPAM.pt
Viewed: 
2267 times
  
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
 
Oops ! wrong links. (...) Should be HTTP://is-sv.link.pt.../nstud.png (...) Should be HTTP://is-sv.link.pt.../xstud.png (...) Also I forget to mention that this reduces the number of triangles by 2 (for each stud) isn't that great ? See ya Rui (...) (25 years ago, 5-Apr-00, to lugnet.cad.dev)
  Re: Performance Improvement
 
Rui Martins <Rui.Martins@link.pt> wrote in message news:Pine.GSU.4.10.1...0@is-sv... (...) and (...) point (...) I don't see a problem with doing this for the 4-4disc, but it would be a problem for the 2-4disc. The 2-4disc is often used in (...) (25 years ago, 5-Apr-00, to lugnet.cad.dev)
  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 (...) (25 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