Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (Martin_HH, TipmyPip, AndrewAMD, Grant, USER0328), 5,562 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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 | 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