To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.parts.primitivesOpen lugnet.cad.dat.parts.primitives in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / Primitives / 224
223  |  225
Subject: 
Re: ring 3 to 5
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Fri, 3 May 2002 02:30:04 GMT
Viewed: 
2974 times
  
In lugnet.cad.dat.parts.primitives, Kyle McDonald writes:
Ross Crawford wrote:


Sub-parts are handled differently to primitives (from an authoring view
point). While primitives are generally not in-lined, sub-parts used during
authoring are often in-lined, if it doesn't increase the total file size of
the part too much. Having all the polygons in a single file is a slight
advantage when rendering.



I think it is an extremely small advantage.

However, when deciding whether or not to in-line sub-parts, reducing polygon
count isn't a consideration. Any other advantage, small or not, should be
maximised.

What programs actually
read any file more than once?

Whether they do or not, there's still extra time spent identifying the
buffer, and doing extra matrix calculations for each instance.

It still seems to me that reducing the polygon count (when possible)
would improve performance more than reducing the number of files that
are read. My program spend hardly any time at all reading files.

Sure, reducing polygon count is good, but it doesn't necessarily require a
new primitive or sub-part to do that. In the case of this new ring
primitive, unless it's needed by several parts, it's probably better to have
it in-line in the part(s). The solution of using the existing ring
primitives is an option, to avoid having to calculate the ring co-ordinates,
but is probably not the preferred option.

ROSCO



Message has 1 Reply:
  Re: ring 3 to 5
 
(...) Actually, for rounded elements, it's almost always[1] preferable to use primitives. That way, programs that do primitives substitution can replace the polygonal primitive with a true round object. -- Steve 1) 'almost always' meaning, 'I can't (...) (23 years ago, 3-May-02, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: ring 3 to 5
 
(...) I think it is an extremely small advantage. What programs actually read any file more than once? I mean, Are there programs that actaully open the file and read the part in every time it's referenced? Or are there programs that even if they (...) (23 years ago, 3-May-02, to lugnet.cad.dat.parts.primitives)

28 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