To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10484
10483  |  10485
Subject: 
Re: Maximum depth of ldraw models?
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 6 Sep 2006 20:18:23 GMT
Viewed: 
2537 times
  
In lugnet.cad.dev, Mark Tarrabain wrote:
I notice that no maximum depth is given by the standard.  How
potentially non-compliant would a renderer be if it fails because parts
in a model are too deeply nested (a maximum of as little as 16 on some
OpenGL implementations).  I notice that no existing parts are nested
more than 7 files deep, but I want to be sure.

Hmm.  I use MPD models a lot, there can be several levels of nesting within a
single .mpd file, and I have been known to refer to .mpd files from other .mpd
files.

I'm not sure how deep my nesting of model files goes, but I'd be a little
concerned about a limit of 16 levels.  I wonder if ldraw renderers tend to
flatten out the nesting in part files?

Steve



Message has 3 Replies:
  Re: Maximum depth of ldraw models?
 
(...) As far as building instructions go, LPub only provides for unique background color/backdrop for up to four levels. This is about as much as I've ever seen in LEGO building instructions. The renderers take care of nesting within individual part (...) (18 years ago, 7-Sep-06, to lugnet.cad.dev)
  Re: Maximum depth of ldraw models?
 
(...) I tested the performance of, and saw a decent gain from flattening part geometry. (Perhaps 15% in BrickDraw3D for QuickDraw3D or OpenGL.) What this means is that when a part is prepared into a drawing list, it is not a list of calls to (...) (18 years ago, 7-Sep-06, to lugnet.cad.dev)
  Re: Maximum depth of ldraw models?
 
(...) MPD files don't add that many extra levels... usually only 2, isn't it? Further, the only stacking that generally needs to occur at the mpd level is modification of the modelview matrix, which opengl guarantees a minimum of 32. It's only in (...) (18 years ago, 7-Sep-06, to lugnet.cad.dev)

Message is in Reply To:
  Maximum depth of ldraw models?
 
I notice that no maximum depth is given by the standard. How potentially non-compliant would a renderer be if it fails because parts in a model are too deeply nested (a maximum of as little as 16 on some OpenGL implementations). I notice that no (...) (18 years ago, 6-Sep-06, to lugnet.cad.dev)

11 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