To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 173
172  |  174
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: L3PLiTE?
Newsgroups: 
lugnet.cad.ray, lugnet.cad.dev
Date: 
Mon, 27 Mar 2000 13:11:13 GMT
Viewed: 
1885 times
  
"Lars C. Hassing" wrote:

Tore Eriksson suggested...
How about making a library of very simplified standard pieces and
replace only those standard bricks, plates, and tiles that are not
clear and have no studs or bottom visible?
I know there are some difficulties yet to be overcome, but I think
this could be a way to free up some resources for Datsville and
other heavy projects.

IMHO this should not be limited to POV. If the simple parts were made in
LDraw syntax, you could speed up Datsville in L3Lab (and others viewer) too!

You mean something like:

0 Brick  2 x  4
0 Name: 3001.dat

0 INTERIOR BEGIN
1 16 20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat
1 16 0 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat
1 16 -20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat
1 16 0 24 0 36 0 0 0 -20 0 0 0 16 box5.dat
4 16 40 24 20 36 24 16 -36 24 16 -40 24 20
4 16 -40 24 20 -36 24 16 -36 24 -16 -40 24 -20
4 16 -40 24 -20 -36 24 -16 36 24 -16 40 24 -20
4 16 40 24 -20 36 24 -16 36 24 16 40 24 20
0 INTERIOR END

1 16 0 24 0 40 0 0 0 -24 0 0 0 20 box5.dat

0 TOP  BEGIN
1 16 30 0 10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 10 0 10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 -10 0 10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 -30 0 10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 -10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat
1 16 -30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat
0 TOP END

Syntax may be subject for a new discussion.

So, if (camera is positioned above the lower edge of the object && !(32 < colour < 47) ), interior can be skipped.
Pardon my bad pseudo-code.
Whether studs can be skipped or not, well that's a tough one...



See also http://www.lugnet.com/cad?n=3639

Now, about finding those parts suitable for replacment, that's an interesting task...
/Lars

It sure is. What about viewing a scene where all parts of one kind, say all 3001's are red, and all the rest gray? Then
you get a list wher you can uncheck those that need to be completely drawn. And the unchecked turn green. Uhm well...
Maybe.

Despite TLC's part specialization mania and the fact that only 57 of the 1583 parts in my LDraw\Parts directory are
standard bricks/plates/tiles, those parts still dominate at least my projects. I think very much could be won by just
simplifying those 57.


/Tore



Message has 2 Replies:
  Re: L3PLiTE?
 
(...) colour < 47) ), interior can be skipped. Of course you mean above the lower edge relative to the parts current orientation. That would require taking the transformation matrix into account. -Chuck (24 years ago, 27-Mar-00, to lugnet.cad.ray, lugnet.cad.dev)  
  Re: L3PLiTE?
 
Tore Eriksson wrote... (...) Uh, maybe. However, if you have a 2x2 brick on top of the 2x4, how do you leave out only half the TOP section? Or you wouldn't? Maybe parts should be broken into subparts for analysis? I think the main problem is, that (...) (24 years ago, 30-Mar-00, to lugnet.cad.ray, lugnet.cad.dev)

Message is in Reply To:
  Re: L3PLiTE?
 
Tore Eriksson suggested... (...) IMHO this should not be limited to POV. If the simple parts were made in LDraw syntax, you could speed up Datsville in L3Lab (and others viewer) too! See also (URL) about finding those parts suitable for replacment, (...) (24 years ago, 27-Mar-00, to lugnet.cad.ray, lugnet.cad.dev)

19 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