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 / 374
373  |  375
Subject: 
Re: Updated Part: 700.dat - Brick 10 x 20
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Tue, 18 Nov 2003 23:44:24 GMT
Viewed: 
4504 times
  
In lugnet.cad.dat.parts.primitives, John Riley wrote:

Well, that's 3 lines per instance.  It takes 3 calls of a group of 4 to get to
the same line savings as the group of 8.  And 1 x 4 and 2 x 2 groups are common
enough to get at least 7 lines saved.  In the 700.dat you posted, just using 1 x
4 groups of stud4's will save ~30 lines (40 calls to 10 calls, roughly).  Even 1
x 3 groups for stud4's would still save enough lines (all the variations of 2x4
bricks would make this worthwhile).

One other thought: every time you add a subfile, it takes time for the renderer to
render it.  So every call to your 4-stud primitive is going to process more slowly
than the equivalent 4 lines encoded directly.

So if an added subfile only produces a modest savings in file size, is it worth that
(slight) slowdown in rendering?

Also, if there are multiple stud-group files, a part is likely to reference a small
file (like a 2x2 group) only a few times, because large areas of studs will be
handled by referencing large stud-group file(s).

Steve



Message has 1 Reply:
  Re: Updated Part: 700.dat - Brick 10 x 20
 
(...) Actually this might be faster for rendering. If you use a display list (or similar construct) for each subfile you'll be using less display list memory overall, which might lead to faster rendering. If your renderering time is constrained by (...) (21 years ago, 19-Nov-03, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: Updated Part: 700.dat - Brick 10 x 20
 
(...) Well, that's 3 lines per instance. It takes 3 calls of a group of 4 to get to the same line savings as the group of 8. And 1 x 4 and 2 x 2 groups are common enough to get at least 7 lines saved. In the 700.dat you posted, just using 1 x 4 (...) (21 years ago, 18-Nov-03, to lugnet.cad.dat.parts.primitives)

27 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