instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 08:25:07 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: headlight problem with textures  (Read 2040 times)
kellerhj
Newbie
*
Posts: 1


View Profile
« on: December 13, 2011, 05:36:56 pm »

Hi all,

I'm playing around with spot lights and I noticed that if you switch
off the headlight in NavigationInfo, a simple textured indexedFaceSet
remains illuminated even in the absence of any other lights. After commenting out the 3 lines dealing with the ImageTexture, the illumination disappears.

This behaviour is different from the Cortona viewer which shows complete
darkness with and without texture. Please have a look at the code in the attached file.

Did I miss something?

Hj. Keller








Logged
yjung
Administrator
Sr. Member
*****
Posts: 260


View Profile
« Reply #1 on: December 14, 2011, 11:13:31 am »

Hi, this lighting behavior is specified here:
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-1.2-X3D-AbstractSpecification/Part01/components/lighting.html#Lightingoff
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines