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.

Dark GDK / how to make a torch light effect?

Author
Message
Fede
15
Years of Service
User Offline
Joined: 25th Oct 2009
Location:
Posted: 25th Oct 2009 20:58
hi everyone, i got a problem.
i can't make a "torch effect"
i would like to make a conical beam that looks like this image:

can anyone help me please?
thanks in advance
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 11th Nov 2009 17:49
i think the directional lights do that. have you tried the documentation?

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 11th Nov 2009 21:27 Edited at: 11th Nov 2009 23:02
You need a spotlight, which is created by the dbSetSpotLight function.

EDIT: I never managed to create a really spectacular effect with a spotlight, though. It didn't seem to be strong enough and if it was too close to the target, then the light just disappeared.

EDIT: If it doesn't need to be a real light, maybe you can make a transparent/ghosted cone object and make it glow by adjusting the lighting properties of the object (e.g. dbSetObjectEmissive). Just an idea, I'm not quite sure it would work but may be worth a try.

Login to post a reply

Server time is: 2024-11-20 11:21:00
Your offset time is: 2024-11-20 11:21:00