Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 946 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Retrive dynamic lights placed in WED [Re: DJBMASTER] #303157
12/26/09 02:58
12/26/09 02:58
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Awesome! That's exactly what i needed laugh

THANKS! laugh

[edit] one little thing: what do i have to change so it retrives all lights that have the dynamic flag set? if i set [dynamic] together with [highres] and/or [static] in WED, they aren't retrived anymore. Not that much of a big deal, but it would be nice to have that feature laugh


Shade-C EVO Lite-C Shader Framework
Re: Retrive dynamic lights placed in WED [Re: BoH_Havoc] #303165
12/26/09 09:12
12/26/09 09:12
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ermm, you can just add some more clauses identical to the 'if(flags == 2)' bit, using the following values...

flags = 0 >>> (static light)
flags = 1 >>> (hi-res static light)
flags = 2 >>> (dynamic light)
flags = 3 >>> (hi-res dynamic light)

So all dynamic lights (hi-res or not), just change the if statement to 'if(flags == 2 || flags == 3)'.

Any more problems, don't hesitate to ask.

DJB.

Last edited by DJBMASTER; 12/26/09 09:14.
Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1