Re: Spotlights by Projected Texture Problems

New Message Reply Date view Thread view Subject view Author view

Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Thu, 30 Oct 1997 14:24:55 GMT


Hi Neil,

On Thu, 30 Oct 1997 09:12:26 +0000 (GMT), Neil Williams
<neil.f.williams++at++gecm.com> wrote:

>Hi,
>I've got two problems with a modified version of the Spotlight example source
>in the 'Creating Visuals Effects ' section of the 2.1 manual.
>
>Firstly - Instead of getting one spotlight texture on my terrain I get hundreds
>of them replicated all over the place. I can change their size by tweaking the
>frustum FoV or the LSourcePos, but I can't get a single spotlight source. Any
>ideas?

Make sure the repeat function on your projected texture is PFTEX_CLAMP
(see man page for pfTexRepeat).

>Secondly - So far I've been using an O2 for projected texture spotlights. I've
>tried the same code on our MXI graphics machine and the projected texture does
>not appear. Why not?

Are you multiprocessing on the Octane? We couldn't get projected
textures working when multiprocessing with Performer 2.1 on our iR. If
you are multiprocessing then try running your app in single process
mode to see if it works.

>Thanks in advance.

Your welcome.

Mark.

-- 
Mark Baranowski
Email: mark_baranowski++at++peragroup.com (work)
       baranowski++at++marklynn.demon.co.uk (home)
Pera, VR Division. Melton Mowbray, Leics. LE13 0PB. UK.
Tel: +44 (0)1664 501501, Fax: +44 (0)1664 501553
All opinions expressed are my own and should not be viewed
as representing my employer unless stated otherwise.
===================================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:56:09 PDT

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