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 / 223
222  |  224
Subject: 
Re: ring 3 to 5
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Fri, 3 May 2002 01:52:52 GMT
Viewed: 
2892 times
  
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. 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 only read the file on the first reference, still reread the
file on the first reference in each rendering pass?

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.

-Kyle

--
                                    _
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald                 (o o)
                                  |||||

                                  \\\//
                                  (o o)            kmcdonald@BigFoot.COM
-------------------------------ooO(_)Ooo-------------------------------



Message has 2 Replies:
  Re: ring 3 to 5
 
(...) 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. (...) Whether they do or not, there's still extra time spent identifying the (...) (23 years ago, 3-May-02, to lugnet.cad.dat.parts.primitives)
  Re: ring 3 to 5
 
(...) True. But it's more than nothing. (...) LDraw (and LEdit, I assume) don't cache any files in memory. Read it (line by line), process it, and throw it away. (...) Reducing the number of files may not be important to rendering speed, but it is (...) (23 years ago, 3-May-02, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: ring 3 to 5
 
(...) 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. (...) (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