Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Spot light not working on some machines

Author
Message
Qweeg
20
Years of Service
User Offline
Joined: 23rd Sep 2004
Location: Kent
Posted: 17th Mar 2005 06:49 Edited at: 17th Mar 2005 18:20
I have a problem using spot lights. On my laptop the code below works fine - if you left mouse click the spot light comes on and if you right click it goes out. However on my desktop there is no spot light at all. I have tried this on several machines (some of them brand new) but none of them work - except the laptop.

I would say this is maybe to do with the graphics card except that if I use a primitive instead of the .x model then it works fine. I have tried this with models from Dark Matter (as attached), and models exported from treemagik and the result is the same.

Does anyone know why this is? Presumably something in the .x models means that the spot light only works on a graphics card with certain features?



[EDIT]
I have now got this working for all objects other than those from treemagik. Strangely the spotlight settings seems to make a difference. On machines with an nvidia 5200 card the above code works for all objects - treemagik trees included. On a machine with a Radeon x300, it works if I change the spot light angle settings to 90,180 - but it still doesn't work for treemagik trees.

I am going to see if there is some configuration setting for the radeon card causing this, alternatively maybe it's just not as good a graphics card.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-13 20:06:01
Your offset time is: 2024-11-13 20:06:01