Re: VRML 1.0

Michael Pichler ([email protected])
Wed, 4 Oct 1995 14:17:55 +0100


>>>>> "C" == Colin Dooley <[email protected]> writes:
C> At 15:05 3/10/95 E, you wrote:
>>>> 1) How do I enable backface culling? Surely this is a basic facility
>>>> for a 3D renderer, but my viewer doesn't do it...

>> ShapeHints ShapeType SOLID should turn on backface culling. Spec sez so.

C> I tried this, and it works. Just not obvious from the spec. I still don't
C> understand why it is only a "hint to the viewer" though. This is pretty
C> fundamental stuff if you ask me...
C> Colin

You should also set vertexOrdering to COUNTERCLOCKWISE to ensure that
backface culling is done right.

Spec: "if an object is solid and has ordered vertices, an
implementation may turn on backface culling and turn off two-sided
lighting". You can esad gmay" as "should".

bye,
Michael


  • Next message: Claude L. Bullard: "Re: Interactive Agents and the Web"
  • Previous message: Chris Bloom: "Re: Interactive Agents and the Web"
  • In reply to: Colin Dooley: "Re: VRML 1.0"
  • Next in thesad: Colin Dooley: "Re: VRML 1.0"