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 / 3203
     
   
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 9 Nov 1999 11:17:47 GMT
Viewed: 
2746 times
  

[ Still discussing http://www.geocities.com/partsref/bfcspec.txt ]

Rui:

Allows a mix of extended and unextended files in one rendering, but
to allow clipping, all files, have to be certified !?!?

All the files in the relevant _branch_ of the rendering
tree.

  of course, but all files start on one root, if that is no BFC certified,
  then no acceleration.

Yes, but generally it is no big deal to certify a model file
- and there is the suggested option for the renderers
mentioned further down for the lazy.

If you certify your model, then every certified primitive
will be drawn with back-face-culling when it is used for a
certified part.

  but a certified part can have sub parts not certified ! hence another
no-go.

Yes, but we aren't all that stupid. We will of cause start
certifying the primitives and critical sub-parts.

As soon as all the primitives are certified and people start
to insert certification flags in their models, all certified
parts will be drawn with back-face-culling.

  That will take a lot of time. we should see progress (acceleration)
  as soon as we start implementing it.

You can't eat a cake before you've baked it!

[...]
The renderers are allowed to give the user the _option_ of
bending the rules slightly.

  These things makes me remember the word 'hacking', until you get your
code running.

It is an indirect way of accepting the files in the PARTS
directory as something special. Some of us feel that it is
important that all DAT files are equal (even though it, at
the moment, is practical that some are more equal than
others).

In my opinion the language extensions should be written with curly
braces '{' '}' instead of '[' ']', because the later means optional
parameter and the previous means compulsory parameter with possible
options if the pipe '|' is used.

I got it wrong first time.

I remember to have learnt that

  ( ... ) - means one copy of "...". This is just used to
            group alternatives.
  [ ... ] - means zero or one copy of "...".
  { ... } - means zero or more copies of "...".

According to that grammar, the production rules should be
written:

certification = "0" "CERTIFY" ( "BFC" | "NOBFC" ) { certification_flag }
winding       = "0" "WINDING" ( "CW" | "CCW" | "UNKNOWN" )
clipping      = "0" "CLIPPING" ( "ON" | "OFF" )
invert        = "0" "INVERT"

This sounds correct, but do we want to eliminate this
syntactic sugar?

  why not ?

I like it.

Play well,

Jacob

      ------------------------------------------------
      --  E-mail:        sparre@cats.nbi.dk         --
      --  Web...:  <URL:http://www.ldraw.org/FAQ/>  --
      ------------------------------------------------

   
         
     
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 9 Nov 1999 17:38:06 GMT
Viewed: 
2585 times
  

On Tue, 9 Nov 1999 11:17:47 GMT, sparre@sys-323.risoe.dk (Jacob Sparre Andersen)
wrote:

[ Still discussing http://www.geocities.com/partsref/bfcspec.txt ]
certification = "0" "CERTIFY" ( "BFC" | "NOBFC" ) { certification_flag }
winding       = "0" "WINDING" ( "CW" | "CCW" | "UNKNOWN" )
clipping      = "0" "CLIPPING" ( "ON" | "OFF" )
invert        = "0" "INVERT"

You'll pardon me if I use an abbreviated notation, and skip the " characters.

This sounds correct, but do we want to eliminate this
syntactic sugar?

  why not ?

I like it.

It's hard to argue with that.

Steve

    
          
     
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 10 Nov 1999 10:40:33 GMT
Viewed: 
2802 times
  

Steve:

[ Still discussing http://www.geocities.com/partsref/bfcspec.txt ]
certification = "0" "CERTIFY" ( "BFC" | "NOBFC" ) { certification_flag }
winding       = "0" "WINDING" ( "CW" | "CCW" | "UNKNOWN" )
clipping      = "0" "CLIPPING" ( "ON" | "OFF" )
invert        = "0" "INVERT"

You'll pardon me if I use an abbreviated notation, and skip the "
characters.

Yes.

This sounds correct, but do we want to eliminate this
syntactic sugar?

  why not ?

I like it.

It's hard to argue with that.

The argument against should be that it complicates the
rendering significantly, but I don't think it does.

Play well,

Jacob

      ------------------------------------------------
      --  E-mail:        sparre@cats.nbi.dk         --
      --  Web...:  <URL:http://www.ldraw.org/FAQ/>  --
      ------------------------------------------------

   
         
   
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 10 Nov 1999 12:53:51 GMT
Reply-To: 
Rui.Martins@link.(ihatespam)pt
Viewed: 
2569 times
  

<SNIP> ...
  but a certified part can have sub parts not certified ! hence another
no-go.

Yes, but we aren't all that stupid. We will of cause start •            -------------------------
certifying the primitives and critical sub-parts.

  Don't take this so personally, it's not worth it.
  I am only trying to contribute to a worthy cause (LEGO).
  Everyone can have different opinions.
  I don't need to jump on the other guys traught.

  Anyway, I apologise if I have offended anyone,
  but I think I haven't.

As soon as all the primitives are certified and people start
to insert certification flags in their models, all certified
parts will be drawn with back-face-culling.

  That will take a lot of time. we should see progress (acceleration)
  as soon as we start implementing it.

You can't eat a cake before you've baked it!

  I was thinking more on the lines of, a table full of cakes (parts), but
until you fill the table you can start eating the cakes which are already
there.  8-P

-----------
Rui Martins

   
         
   
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 10 Nov 1999 14:17:16 GMT
Viewed: 
2594 times
  

On Wed, 10 Nov 1999 12:53:51 GMT, Rui Martins <Rui.Martins@link.pt> wrote:

You can't eat a cake before you've baked it!

I was thinking more on the lines of, a table full of cakes (parts), but
until you fill the table you can start eating the cakes which are already
there.  8-P

In our case, it makes sense to make a single trip to the store for ingredients
(primitives).  Once we've got the ingredients on-hand, we can start baking the
cakes.

Steve
No, this didn't really add to the discussion.  I just liked the analogy.

 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR