To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 1723
1722  |  1724
Subject: 
Re: Some secrets of MLCad revealed ...
Newsgroups: 
lugnet.cad.mlcad
Date: 
Sat, 5 Jul 2003 20:22:01 GMT
Viewed: 
3711 times
  
"Damien Guichard" <damien.guichard@wanadoo.fr> schrieb im Newsbeitrag
news:HHIuq2.BMG@lugnet.com...
In lugnet.cad.mlcad, Michael Lachmann wrote:
Ok since a lot of you are asking me to provide more details about • MLCad's
rendering technic I'll go and tell you some details about it:

...

2) Point reduction and Compression
Inside the cached file MLCad maintaines a list of objects representing
lines, triangles ... where each object stores all its points and • parameters.
After a while I found it much more practicable to compress this drawing
information. Therefor MLCad can check the primitives after loading the • file
for its points and creates a list of points used in this file.
If you check a file you will find a lot of equal points in there. Now • each
point is stored only once, and therefor now calculated only once during
rendering. The primitive objects now refere to a point instead of • carrying
it.

...

Regards,
  Michael

Thanks Michael.
Is the list of points sorted? How do you sort it? Hashcode? Octree?

Regards,

Damien

No this list is not sorted at all, its just an array of points, directly
referenced by index from within the primitives.

Michael



Message has 1 Reply:
  Re: Some secrets of MLCad revealed ...
 
(...) Thanks Michael. So, at loading time, each added point has to be compared to all points in the point list. Does this impact the loading time of big parts or big models in a significant manner? Or is it only minor slowdown? Regards, Damien (21 years ago, 5-Jul-03, to lugnet.cad.mlcad)

Message is in Reply To:
  Re: Some secrets of MLCad revealed ...
 
(...) Thanks Michael. Is the list of points sorted? How do you sort it? Hashcode? Octree? Regards, Damien (21 years ago, 4-Jul-03, to lugnet.cad.mlcad)

12 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