Sun effect with application created surfaces

New Message Reply Date view Thread view Subject view Author view

Julia Ellery (modellers++at++intersim.co.uk)
Wed, 06 Nov 1996 00:22:26 -0100


Hello

I am creating a large downward facing textured surface in Performer and
attaching it as a DCS node to a loaded database. When I put this code
in to perfly, the database below appears nearly black for light sources
of both eye and sun. If instead, the surface is modelled as part of the
database and loaded in the usual way, no such problem occurs.
It is as if the surface I create occults the light source.

I have tried comparing the database loading code to the way I am
creating the surface myself and consequently now create normals per
vertex for the face, setup a material and explicitly turn lighting on
(in addition to the original applying a Texture and environment) but
nothing seems to have any effect. Does anyone have any ideas about what
I might be doing wrong?

Thanks

-- 

Regards,

Julia Ellery, Senior Visual Software Engineer, Intersim Limited, Units 7-8, Thorgate Road, Littlehampton. Sussex. UK Tel: +44 (0)1903 733428 Fax: +44 (0)1903 730246 email: modellers++at++intersim.co.uk

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:53 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.