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 / 3471
Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 14 Dec 1999 17:14:55 GMT
Viewed: 
2805 times
  
In lugnet.cad.dev, Lars C. Hassing wrote:

  If IsTransparent(Color) Then AccumClip = FALSE
takes care of solid non-16 colors (decorations) in parts used transparently.
And a similar check added to BFC() can take care of transparent non-16
colors in parts used as solids.
So the logic is OK again.

Yes, it would render correctly, but it would also disable clipping more often
than is required, in the case of mixed solid and transparent sections.  Think of
a submodel where the author used color 16, and the person using the submodel
renders it as transparent.  If clipping is turned off at the start of the
submodel, then no part in that submodel could be BFC-ed, even if they were
solid-colored.

On second thoughts I don't think we need double-sided sections for decorations.
If a rendering program wishes to use BFC together with dither-transparency, it
can easily investigate whether there are non-16 colors in a transparent part.

We should not put an unnecessary rule on the part author.

I agree with not putting unnecessary rules on authors.  I don't agree on
renderers being required to find the solid colors in a transparent part.

I mean the inner surface. Like the "internal surface" of a sweater or a stocking.
If you don't have a similar noun/substantive/notion in English I can understand
why the subject is difficult to discuss, because we think/conceive differently
(as our spoken languages reflect) about the "inside surface".

"inner surface" is as good as it gets.  Or "inside" or "interior".  But those
two also refer to the contained volume, not the actual surface.

Steve


Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 20 Dec 1999 22:35:04 GMT
Viewed: 
2867 times
  
Steve Bliss wrote...
In lugnet.cad.dev, Lars C. Hassing wrote:

  If IsTransparent(Color) Then AccumClip = FALSE
takes care of solid non-16 colors (decorations) in parts used transparently.
And a similar check added to BFC() can take care of transparent non-16
colors in parts used as solids.
So the logic is OK again.

Yes, it would render correctly, but it would also disable clipping more often
than is required, in the case of mixed solid and transparent sections.  Think of
a submodel where the author used color 16, and the person using the submodel
renders it as transparent.  If clipping is turned off at the start of the
submodel, then no part in that submodel could be BFC-ed, even if they were
solid-colored.

I think this is a possible, but rare case. It can, however, be circumvented by
regarding DAT files from PARTS as special.

On second thoughts I don't think we need double-sided sections for decorations.
If a rendering program wishes to use BFC together with dither-transparency, it
can easily investigate whether there are non-16 colors in a transparent part.

We should not put an unnecessary rule on the part author.

I agree with not putting unnecessary rules on authors.  I don't agree on
renderers being required to find the solid colors in a transparent part.

Why not? Any information you can gather by simply analysing a DAT file
should not be required to be stated by the part author.
/Lars


Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 21 Dec 1999 15:52:09 GMT
Viewed: 
3010 times
  
In lugnet.cad.dev, Lars C. Hassing wrote:

Why not? Any information you can gather by simply analysing a DAT file
should not be required to be stated by the part author.

In that case, why are we wiggling about with this BFC extension stuff?
Rendering programs can figure out what order vertices should be put in, and they
can figure out which way a polygon is facing.  They don't need all this extra
effort from us and parts authors.

Steve


Subject: 
Re: Line in the Sand
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 21 Dec 1999 17:31:34 GMT
Viewed: 
3293 times
  
Steve Bliss wrote...
In lugnet.cad.dev, Lars C. Hassing wrote:

Why not? Any information you can gather by simply analysing a DAT file
should not be required to be stated by the part author.

In that case, why are we wiggling about with this BFC extension stuff?
Rendering programs can figure out what order vertices should be put in, and they
can figure out which way a polygon is facing.  They don't need all this extra
effort from us and parts authors.

:-)
Jean-Pierre's analyzer is not a "simple analysis" and may not work 100% correctly
without human intervention.
/Lars


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