Re: vrml file compression

James Waldrop ([email protected])
Mon, 12 Jun 1995 12:05:30 PDT


Chris Schoeneman wrote:
>> * The theater was done with LVS and could not have its normals removed
>
>Does LVS mean Lightscape's software? If so, then I'm confused about
>the normals thing. Lightscape precomputes all lighting so there aren't
>any light sources so you don't need _any_ normals. Early versions of
>ls2iv and ls2vrml put them in unnecessarily (cos my brain went on
>sabbatical).

Normals that are generated on the fly are only correct if polygon
vertices are oriented properly. Some programs do not consistently
order these vertices -- I know that Lightscape and Autocad have this
problem, for instance. You can use the ShapeHints node to tell the
browser about the vertex ordering, but for large files this may not
be feasible.

So, yes, the lighting is off, but normals affect more than this. The
result of removing normals from a file that is oriented incorrectly
is to have half the face essentially dissapear.

James