Descentforum.DE Forum Index Descentforum.DE
Search | FAQ | Memberlist | Usergroups | Newsfeed Newsfeed  Register
Profile | Log in to check your private messages | Log in 
Chat | D3-Tactics | Downloads | Map | Links | Serverlist | Teamspeak 

object lighting

 
Post new topic   Reply to topic    Descentforum.DE Forum Index -> Level-, Design und Entwicklungs - Forum
View previous topic :: View next topic  
Author Message
Coolchris
Forum-Nutzer


Joined: 24 Feb 2001
Posts: 668
Location: Germany

PostPosted: 27.03.2012, 21:47    Post subject: object lighting Reply with quote

moin moin...
unabhängig von der lichtberechnung des levels würde ich gerne vermehrt objekte als lichtquelle einsetzen um das licht variable einsetzen zu können.
momentan habe ich ein objekt erstellt mit einer licht textur ohne licht settings (r0,g0,b0). diese objekt soll nun licht erzeugen wenn verschiedene bedingungen erfüllt sind.
soweit sogut... wenn die bedingungen erfüllt sind gebe ich über ein script dem objekt a: die farbe und b: die distanz.
nun zu meinem problem:
damit das realistisch aussieht stelle ich in der gam zum objekt einen lichtkegel ein und den angle.
nun reagiert d3 nicht auf den angle und in den specs zur gam file find ich dazu nur "byte Angle -- (NOT USED ??? )".
also strahlt die lampe momentan (sehr unrealistisch Winken ) in einem 90grad winkel irgendwo anders hin... nur nicht dahin wo es soll.
also... wie könnt ich das prob lösen? Winken

_________________
Wer die Hände in den Schoß legt, muss noch lange nicht untätig sein.
tsetsefly.de
Back to top
View user's profile Send private message
Dark
Forum-Nutzer


Joined: 15 Nov 2001
Posts: 1244
Location: Berlin

PostPosted: 28.03.2012, 12:17    Post subject: Reply with quote

Das ist jetzt mal die idee die mir dazu schon seit einiger zeit im kopf herumgeht.

Schau dir mal die originalen rundumleuchten in d3 an.
Die strahlen ihr licht ja in einem schönen engen kegel ab.
Ich denke wenn du die dortigen einstellungen übernimmst wird es gehen.
Für deine zwecke änderst du die einstellungen dann halt ein bischen ab.
Welche genau musst du probieren.


Wenn du was genaueres herausbekommen hast, dann teile deine erkenntnisse doch bitte mal mit.
Ich stehe demnächst vor dem gleichen problem - hatte bisher aber noch keine zeit mich drum zu kümmern.

_________________
Dark

wo alle das selbe denken, wird nicht viel gedacht

Es kommt meistens anders wenn man denkt!


Last edited by Dark on 28.03.2012, 12:21; edited 1 time in total
Back to top
View user's profile Send private message
Atan
Moderator


Joined: 27 Jul 2001
Posts: 876

PostPosted: 28.03.2012, 17:47    Post subject: Reply with quote

Quote:
stelle ich in der gam zum objekt einen lichtkegel ein und den angle.

ich würd's mal mit Directional Field of View im Lighting Chunk probieren.....

mal n Beispiel angehängt:



Leuchte.jpg
 Description:
 Filesize:  56.46 KB
 Viewed:  538 Time(s)

Leuchte.jpg




Last edited by Atan on 28.03.2012, 17:52; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Descentforum.DE Forum Index -> Level-, Design und Entwicklungs - Forum All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
PayPal


Descent is a trademark of Interplay Productions.
Descent, Descent II are © Parallax Software Corporation.
Descent III is © Outrage Entertainment.
Descentforum.DE and Descentforum.NET is © by Martin "Do_Checkor" Timmermann.
Powered by phpBB © 2001-2008 phpBB Group