Projected Texture spotlights and regular lights

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Wed, 23 Oct 1996 18:27:51 -0400 (EDT)


I am currently working on an iR/OpenGL/Performer 2.2 beta. I don't think it
is a beta problem, so I will ask here first.

I have a scene that is lit by a pfLight. When I add a spotlight via
projected textures (following the sample code in shadows.C not including the
shadow stuff), the spotlight appears, but the original effects of the pfLight
disappear. Is it possible to have both?

Also, with the spotlight, I get a regular pattern of "speckles" on the
polygons that are being projected onto anywhere the projected texture is not
completely white (i.e, r*g*b != 1). Note that this pixel pattern is constant
with respect to the viewport but the color is equal to any geometry is there.
Anybody ever seen anything like this and know how to fix it?

Thanks in advance,
scott

-- 
  Scott McMillan  |       HT Medical, Inc.      | Developing virtual environ-
   scott++at++ht.com   |      http://www.ht.com      | ment medical and surgical
 Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery
Fax: 301-984-2104 |     Rockville, MD 20852     | simulation creation tools.

======================================================================= 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:48 PDT

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