To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 9060
9059  |  9061
Subject: 
Re: Large LDraw/MPD Files?
Newsgroups: 
lugnet.cad
Date: 
Fri, 20 Dec 2002 20:05:10 GMT
Viewed: 
543 times
  
In lugnet.cad, Travis Cobbs writes:
I tried loading datville just to see how much memory would get used.  When I
came back the next morning to see a crash, I came to the conclusion that it
had reached the 2GB virtual memory limit of Win 98 (assuming 2GB really is
the max you can use in Win98).  (My swap drive had probably 15GB available,
so it shouldn't have been limited by that.)

This is clearly way too much.  On the other hand, unlike ldglite, LDView
actually makes a copy of all the geometry in an attempt to speed up
rendering.  So, each unique part in a model is loaded once for the part
cache, and one additional time for each time it is used in the model.  (I
need to do some tests to see how much this helps performance, if any).
While I doubt it, it is possible that all the geometry in datville when
treated as completely unrelated triangles does indeed add up to more than 2GB.

I'm not sure what you mean by this.  Ldglite only creates one structure
in memory per part file.  It's quite frugal with the memory when you
use the L3 Parser.  Thanks, Lars.  I think I've displayed datsville in
ldglite on a PC with as little as 64MB, perhaps less.

I suspect the problem with LDView is the large display lists.  The first
test I'd do is try rendering without them to see how much memory that
takes.  Display lists use more memory than a C structure, and I don't
think you want them to grow too large.  Making them larger than the
amount of video memory is probably really bad.  You might be better off
with a separate display list for each line in the main model file, or
abanoning them altogether when they exceed a certain number of triangles.

Don



Message has 1 Reply:
  Re: Large LDraw/MPD Files?
 
(...) I meant basically what you just said. Ldglite doesn't create a new copy of the part each time it is used; LDView does. I do this for various reasons, but I believe that when I go back and revisit those reasons now with the advantage of (...) (22 years ago, 21-Dec-02, to lugnet.cad, lugnet.cad.dev)

Message is in Reply To:
  Re: Large LDraw/MPD Files?
 
(...) One of the first things I will probably try to do with LDView after I finally get 2.0 out the door is to work on its memory consumption. But first I have to figure out where all the memory is getting used. Doing some quick calculations based (...) (22 years ago, 20-Dec-02, to lugnet.cad)

17 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