Product Chat / Repo: Extended dynamic light system - News!

Author
Message
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 10th Jul 2018 08:28 Edited at: 10th Jul 2018 08:30
Im so busy today, and we needed to get this finish today , so i dont have time to do a proper presentation, so for now you can GUESS what this is about, and tomorrow i might have time to do a proper video,screenshot of what this is







https://github.com/TheGameCreators/GameGuruRepo/pull/290
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,

Attachments

Login to view attachments
MXS
Valued Member
15
Years of Service
User Offline
Joined: 10th Jan 2009
Location: Cybertron
Posted: 10th Jul 2018 09:16
awesome work! I like the sound of this I read github which explains in much detail. I may have to hit that donate button.
more than what meets the eye.Welcome to SciFi Summer

Windows 7 home premium 64bit gtx770 sc acx 2gb gpu boost 2.0

Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 10th Jul 2018 09:35
nice one Preben, this look excellent.... Donation time I think, pay day end of week so will make a nice contribution
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 10th Jul 2018 10:18
Quote: "but I wish broken stuff like the lightmapper would be fixed first"


Are you on the latest beta? I'm think i saw someone posted that a lot of the issues with light mapper are fixed in beta. Also, if you mean by broken the fact that pbr models aren't being light mapped, then apparently it's not a bug or broken, pbr apparently isn't supposed to be light mapped (kind of the part of the point of pbr) or so someone posted the other week, i forget who.
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Jul 2018 10:40 Edited at: 10th Jul 2018 10:42
I just posted about the lightmapper on Github…
Not working in latest beta and kills EBE models ..

Normal Model



EBE Model

The only person ever to get all his work done by "Friday" was Robinson Crusoe..

Attachments

Login to view attachments
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 10th Jul 2018 12:04 Edited at: 10th Jul 2018 12:07
Quote: "I just posted about the lightmapper on Github…
Not working in latest beta and kills EBE models .."


Ooh, that's a new one, not seen that before.

Quote: "now only the side walls get light, the back wall is totally dark"


If that's what i think it is (i might be thinking of something else though), Preben explained that a while ago, there are a couple of settings in settings.fx that you can fiddle with to change that (i forget which ones), it's not a bug, it's a preference.

Edit:

Try adjusting -

Quote: "
--- #define RealisticVsCool (0.60) ---
Allows you to control some of the PBR light and light extractions from the environment , if you want it to look more like UE try to set it around 0.90 , if you want a Unity PBR look try to set it around 0.40. I made it like this , as i expect people will have different expectations for PBR.

--- #define AmountExtractLight (0.50) ---
This allow you to control the extraction of light , this is actually the sun from your skybox that you see on your car , so what you see is light extraction. to lower the intensity of the sun you can just lower this value.

Forgot to move those to settings.fx , so currently there are inside "apbr_core.fx"."
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 10th Jul 2018 12:35
Already merged. Amazing work.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 10th Jul 2018 13:10
Outstanding work again, preben.

Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 10th Jul 2018 13:42
Quote: "Makes no difference whatsoever."


I must be thinking of something else then, shame.

[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 10th Jul 2018 14:20
I played a bit with it and think someone with some moddeling skills should create a spotlight-item.
It is a bit more user friendly to guys who not always visit the forum and the item could show the direction.

And I have a question (sorry for being off topic). Is there any way to unlock items? I clicked by mistake the light to lock and then I can not use them anymore. If I create a level and at the end I add an item and instead of deleting it, locking it, I would throw my pc out of the window
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Jul 2018 14:25
Quote: "I clicked by mistake the light to lock and then I can not use them anymore."

Drag the mouse over the locked item and press " space " whilst keeping the LMB pressed
It will then unlock
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 10th Jul 2018 15:20
If you try the merged branch using the master on GitHub you should edit the setup.ini and set:


Bod: Lee is working on the lightmapper as we speak, last version i seen had PBR support and everything , but a lightmapper is kind of "rocket science" so please be patience! Thats the good part of GitHub we can work on different stuff at the same time

Corno_1: Yes there need to be a "pointer" on the light object to make it more easy to hit your direction , but it do follow the light object in the editor , so its just a matter of making the object point in the direction. or texture it so you can see what the spot light is pointing at, thanks for testing it , but set maxtotalmeshlights=38 in the setup.ini
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 10th Jul 2018 15:23
I am 4000 miles away from my PC this is fantastic thank you so much Preben I cannot wait to try it on my Sci-fi corridor
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Jul 2018 15:35
Some lighting work at last It's really one of the last areas GG needs big improvements in.

@ Bod. Strange how people differ in how they work. I gave up with the lightmapper a long time ago, too ropey and mostly way too much memory use. I definitely prefer having real-time upgrades myself than any baking updates. For me GG has actually become of interest again since DX11 or at least more than the zero interest I had for the last 12 months on DX9. Still, I defo understand about projects breaking, don't think I have any now that haven't been broken at some point.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 10th Jul 2018 15:45
@Preben - Wow awesome stuff! Gob-smacked is the word I believe!

When is this cool stuff coming to the Public Preview?

Reliquia....
aka OldFlak
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 10th Jul 2018 16:01
Quote: "maxtotalmeshlights=38"

I missed this. Hmmm it still worked.

Is it intended that all lights are spotlights now or is it just my merge? Every light has its property "spotlight" set to "Yes"

With the new spotlight entity, you are right and I see the light, but my request with creating an entity has more to do with advertising a new feature instead of a use case If someone opens GG he should see it and instantly could try it out.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
Flatlander
GameGuru Master
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 10th Jul 2018 16:07
Preben, waaaayyyyy cool, again.

GraPhiX wrote: "I am 4000 miles away from my PC "


OMGosh. I don't think I could stand that. You must be halfway around the world from home.
Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 10th Jul 2018 16:22 Edited at: 10th Jul 2018 16:23
Corno_1: Ohh well yes thats also true , but i think it would be more easy with a mark on the light object to point in the directions that the spot is pointing , so you can see where its pointing , if you try to point it up , well it can be hard to see where you currently have it

"maxtotalmeshlights=38" well it was meant to be 38 , but ... so at some point without it you would notice why.

Quote: "Every light has its property "spotlight" set to "Yes""


Only if you create a new light it will have it ( if the last one was spot) , if you set it to point , and then create a new light it will be set to point , so it just use the last one you set. (i hope or do we have a bug) ?

reliquia: Think Lee will try to do a beta tomorrow , or ....

For lightmappers use showstaticlightinrealtime=1 to see your static light when you edit , it will try to match the lightmapper intensity so you get a idea how the light will look after you lightmap your level, also if you run a lightmapped level using real-time it will actually light all your static lights using dynamic light. Just another choice for you!
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
tdreisinger
6
Years of Service
User Offline
Joined: 23rd Jan 2018
Location: Indiana
Posted: 10th Jul 2018 17:10
Quote: "For lightmappers use showstaticlightinrealtime=1 to see your static light when you edit , it will try to match the lightmapper intensity so you get a idea how the light will look after you lightmap your level, also if you run a lightmapped level using real-time it will actually light all your static lights using dynamic light. Just another choice for you!"


Good to know and great job Preben! Thank you.
Timothy D. Reisinger
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 10th Jul 2018 18:02
awesome stuff Preben. Proper lighting at last.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth, Roland D05 Synth Module, Bluedio Victory V Headphones, AKG K141 Studio Headphones, Lenovo Ideapad, with Windows 10 64bit, 8Gb Ram and AMD A10 7th Gen Graphics.
tdreisinger
6
Years of Service
User Offline
Joined: 23rd Jan 2018
Location: Indiana
Posted: 10th Jul 2018 18:05
Quote: "For lightmappers use showstaticlightinrealtime=1 to see your static light when you edit , it will try to match the lightmapper intensity so you get a idea how the light will look after you lightmap your level, also if you run a lightmapped level using real-time it will actually light all your static lights using dynamic light. Just another choice for you!"


Good to know and great job Preben! Thank you.
Timothy D. Reisinger
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 10th Jul 2018 20:22
Quote: "I thought the priority would have been getting our existing projects working properly with DX11"

Sure it is and you got the #1 Lee working on it , so please be patience, as i say it is "Rocket Science" , to lightmap a object you need to transform the object just like a "converter" think about it how many converters are able to import/export your models with no problems?, the lightmapper need to do this no matter what kind of strange object you through at it so ... it will take some time to perfect , and we need the Intel black belt to do it

To clear this , the problem started with the DX11 upgrade , where the DX11 SDK (Microsoft) have problems with regenerating normals/tangent/binormals , that leaves the lightmapper in a mess, and that is what we now need to solve (somehow). and here we are ...

Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
Bugsy
15
Years of Service
User Offline
Joined: 24th Nov 2008
Location: Savannah
Posted: 11th Jul 2018 01:28
interesting! can this spotlighting work with static lighting and casting shadows??
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 11th Jul 2018 02:58 Edited at: 11th Jul 2018 03:05
I'm speechless here

Though really, please dont deter based on any of our feedback, on the work you are doing and how you priorities or choose what to work on. Its always such a blessing seeing what sprouts with the work you do. Its very motivating!

As for my past projects in GG, ALL of them now work in DX11 so I personally have no issues anymore. The community is very supportive in analyzing all issues and finding ways to resolve them. So you won't hear any complaints from me there. I also was going in knowing that if i were to upgrade to the DX11 version of GG id be creating maps from scratch. So by default i expected a bit of legacy issues anyways. Despite that I've been able to resolve all issues with the help of the members around here. Thanks everyone and thank you preben for your continued work!
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
devlin
10
Years of Service
User Offline
Joined: 12th Feb 2014
Location:
Posted: 11th Jul 2018 07:13
@ Preben thanks this looking great,
PM
Errant AI
Forum Support
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 11th Jul 2018 12:02
Awesome developments!

One inquiry though... Since the weapon muzzle flash dynamic light update, it looks fine in night time settings (low ambient, low surface light) but in day time settings, the dynamic light is blindingly intense on the player weapon model. It feels like the light is being added/boosted in an unrealistic manner. Will this issue be addressed? I can tweak down the RGB values of the light in gunspec down to 1/3 - 1/4 of normal value and it looks good in daylight but is, of course, quite weak at night.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K (passmark 8555), 16GB Corsair DDR3, EVGA GTX 970 SC (passmark 8637), Win10 Pro 64-bit, Primary monitor @ 1920x1080, secondary monitor @ 1280x1024
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 11th Jul 2018 12:32
This is outstanding !!
One question ..
Now we have almost unlimited dynamic lights if real time shadowing gets thrown into the mix would we need the light mapper ?
If its required for more subtle aspects that could be added when creating a standalone perhaps ?

Create Standalone ( Low Quality )
Create Standalone ( Medium Quality )
Create Standalone ( High Quality )

Kind of what classic did … But i'm theorising here and really have no idea
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 11th Jul 2018 13:52
Thanks for the kind words

Errant AI:
Weapon muzzle flash tweaked to same intensity like in old light system.

About real-time dynamic light shadows , we are "slowly" moving to a point where it will be possible to do this , last update we released shadows using less cascades , but left them there for this purpose , this update we got the spot light that are going to be used for this as this will be the fastest , remember shadows from dynamic lights will give you a FPS drop , think about it like this if i do a shadows from a point light , i would have to generate 6 renderings of the scene to get a shadow from each direction this would give you a huge FPS drop , but a single shadow camera pointing in the same direction as a spot light will not hurt your FPS that much so i think we will start with that , but that is something for another update
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 11th Jul 2018 14:10 Edited at: 11th Jul 2018 14:13
Heheheh - yes death to the light mapper mooawwhahahaha

You Preben are the man!

Really looking forward to this stuff - there have been no updates on steam my end for some time now, do you have to use the Steam beta to get this 'monster update' or do we just have to wait till it gets pushed to Steam Public Preview?

Reliquia....
aka OldFlak
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th Jul 2018 15:29
As preben says, no, the light mapper should still be faster and you would mostly just want to use the dynamic lights for lights that change (flickering, on and off by switch, swinging etc - hence the name dynamic)
but of course you may still want shadows from characters moving in lights etc, this is where the compromise will need to be.

once real time shadows get added I think GG will really be able to create great scenes - especially horror
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Bugsy
15
Years of Service
User Offline
Joined: 24th Nov 2008
Location: Savannah
Posted: 11th Jul 2018 16:35
I reiterate, can these spotlights be baked as static lights??
Flatlander
GameGuru Master
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Jul 2018 17:20
reliquia wrote: "Really looking forward to this stuff - there have been no updates on steam my end for some time now, do you have to use the Steam beta to get this 'monster update' or do we just have to wait till it gets pushed to Steam Public Preview?"


You need to be a part of the beta testers to get it now. However, the subject line in Lee's last email to all the beta testers, "Final Beta Build Before Next PP Build." So if it passes the beta testing (shouldn't be too long) a PP build will be provided.

Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory
Errant AI
Forum Support
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 11th Jul 2018 17:36
@Preben Awesome - Thanks!

I'm looking forward to seeing these improvements come to the the flashlight... hopefully along with the tech to attach a light to a player weapon or entity so that we can see some great night time dynamic shadow play. Nothing quite like running through the woods with a flashlight and having the beam throw creepy shadows about.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K (passmark 8555), 16GB Corsair DDR3, EVGA GTX 970 SC (passmark 8637), Win10 Pro 64-bit, Primary monitor @ 1920x1080, secondary monitor @ 1280x1024
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th Jul 2018 18:28
Quote: "I reiterate, can these spotlights be baked as static lights??"


also can they be moved around via lua like the normal lights can?
and the angle/direction changed via lua?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 11th Jul 2018 18:53 Edited at: 11th Jul 2018 18:58
I notice when you place lights … run it …. Then create a new blank map the highlights of the lighting stay on the ground .
Can anyone else confirm before I report it as a possible bug ?
Actually you don't even need to run it … Just add lights then create a new blank map

The only person ever to get all his work done by "Friday" was Robinson Crusoe..

Attachments

Login to view attachments
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 11th Jul 2018 19:51
That's been doing that with ligets since the first public preview of dx11
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 11th Jul 2018 21:47 Edited at: 11th Jul 2018 21:49
Quote: "That's been doing that with ligets since the first public preview of dx11"

Hadnt noticed it before .. Has it been reported already anywhere ?
Im guessing it must have been if its been there that long … I don't want to double up if it has .
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 11th Jul 2018 22:19
@Bugsy:
The new spot lights can not be baked at this time.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 12th Jul 2018 14:49
The spotlights work really well so far, just had an idea for enhancement, don't know if this is even possible as yet. Posted on Github also.

Now Preben has and is working on the lighting, which so far has given us spotlights, it would be great to have sliders in the Tab Tab panels for

Sunlight Shadow amount - which would be just the shadows we have now.

Dynamic Light Shadow amount - new shadow option for the dynamic lights.

Dynamic Shadow Fade - Distance from the player that the dynamic light shadow is visible.

Secondly do we now have more than 4 dynamic lights available?
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth, Roland D05 Synth Module, Bluedio Victory V Headphones, AKG K141 Studio Headphones, Lenovo Ideapad, with Windows 10 64bit, 8Gb Ram and AMD A10 7th Gen Graphics.
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 12th Jul 2018 15:10
Quote: "Secondly do we now have more than 4 dynamic lights available?"


Now that we have spotlights, this is the thing i'm really interested in knowing now, if we can have more than 4 the possibilities are endless
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
MXS
Valued Member
15
Years of Service
User Offline
Joined: 10th Jan 2009
Location: Cybertron
Posted: 12th Jul 2018 15:52
Quote: "Secondly do we now have more than 4 dynamic lights available?"


I'm saying yes by what I'm reading.

[quote=]A new dynamic light that run using a mesh based system, what this means is that lights is now always lit
nomatter how many dynamic lights you have, each mesh on a level can have up to 40 light calculations.

It work by ignoring lights that do not reach a mesh , so on a per pixel basic it know how many lights the pixel have and ONLY process those,
So if you have a screenshot of you level , only the pixel that are actually lit by dynamic lights will do the calculation the rest dont make any calculations,
so you can have one mesh sampling lights from 40 sources and many that have zero light sources , so overall this will be faster and everything will always be lit.

The terrain could get lights comming in from all lights placed on a level, so the terrain ligth is by default set to use a way faster vertex light, but also have a fading system running where it will fade out the lights on the terrain at a distace you can define , this is by default set to the same range as the shadows, but ALL lights within this range will always be lit on the terrain. Also added the possibelity for you to enable the old fading system on the terrain , and also a option to set the terrain to use per pixel lights if you prefer this.

Everything is real-time so all lights on a level can be moved around with no fps drops, if you have moving lights you might consider to use per pixel terrain lights terrainusevertexlights=0 for a more smooth movement.

A new spot light type has been added to the GUI so you can set a dynamic light to a spot light, use "rotate" on the light object to set where the spot points.

The system is made so you can define how you like it to work Speed vs. Visuals. with no shader changes needed.

Added: All per pixel lights now use PBR light reflections.
Added: Setup.ini - maxtotalmeshlights , allow you to define the max number og lights a single mesh can have lit at any time.
Added: Setup.ini - maxpixelmeshlights , allow you to set how many per pixel lights a single mesh can have lit at any time, when this number is exceded everything will switch to way faster per vertex light.
Added: Setup.ini - terrainoldlight , allow you to switch terrain to use the old fading light system, can be faster in some cases.
Added: Setup.ini - terrainusevertexlights , set the terrain only use the way faster per vertex light system.
Added: Setup.ini - maxterrainlights , allow you to set how many lights the terrain can have lit at the same time.
Added: Setup.ini - terrainlightfadedistance , set the fade distance for terrain lights. terrain light fade is only active if you use more then the total , if you use less then all light is always on withut fading at this distance.
Added: Setup.ini - showstaticlightinrealtime , possible to enable static light to always light unless in prebake mode, so you can see the static light while editing, range and intentity is decreased by 30% to try to match lightmapper.
Added: Spot light to all shaders.
Added: Spot light selection box to GUI.
Added: Support for "gun flash light","fireball dynamic light","explosion light". Now use the new light system.
Fixed: pbroverride=0: all those shaders also got support for the new light system.
Fixed: Allow dynamic light to remove shadows.

Default settings:
maxtotalmeshlights=40
maxpixelmeshlights=12
terrainoldlight=0
terrainusevertexlights=1
maxterrainlights=20
terrainlightfadedistance=4500
showstaticlightinrealtime=1
more than what meets the eye.Welcome to SciFi Summer

Windows 7 home premium 64bit gtx770 sc acx 2gb gpu boost 2.0

Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 13th Jul 2018 15:29
Yes you can have ANY amount of dynamic lights that are ALL lit at the same time (they can even be moved around, everything is updated real-time), but hey light do take time to process , so if you add 10.000 i think you will suffer from a low FPS , so use it wise-lee

A second light upgrade is already planned to come after this, so i will note what you write here and perhaps it will be in the next light update, so keep the suggestions ... coming
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Jul 2018 17:15 Edited at: 13th Jul 2018 17:16
Check this out and tell me if it can be incorporated into the editor. un official Spot light marker.
https://forum.game-guru.com/thread/219861

I am looking for the FPE statement that will make them spotlights from the start of picking them, and not have to set it in the properties panel.

I have also noticed that nothing new can be added to the _markers folder that shows up in the editor.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 15th Jul 2018 09:51 Edited at: 15th Jul 2018 09:53
Flickering lights without a script ? is that a possibility. Another dropdown in the properties panel? fluorescent striplights etc.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth, Roland D05 Synth Module, Bluedio Victory V Headphones, AKG K141 Studio Headphones, Lenovo Ideapad, with Windows 10 64bit, 8Gb Ram and AMD A10 7th Gen Graphics.
Ertlov
GameGuru BOTB Developer
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: Australia
Posted: 15th Jul 2018 10:23
This is really awesome, and congratulations on the hard work.
And please don't take it as criticism or negative remark when I say: "It moves into the right direction, but it's not there unless the dynamic lights placed cast shadows"
"I am a road map, I will lead and you will follow, I will teach and you will learn, when you leave my sprint planning you will be weapons, focused and full of JIRA tickets, Hot Rod rocket development gods of precision and strength, terrorizing across the repository and hunting for github submits."
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Jul 2018 18:30
Quote: "so keep the suggestions ... coming"


How about updating the flashlight as well? It's about time that worked properly. It looks very old now and in honesty did even when GG was brand new. I can't tell you the number of Let's play video's I've seen where they instantly mock the flashlight on GG games.

I also agree we need shadows to work with lights somehow. If lights move around, but cast no shadows it will look pretty nasty. I'm not sure how it could be done as I have heard the speed issues mentioned above. In the end to get good performance and decent shadows I suspect baking will have to be used at some point for certain areas. I'm not a huge fan of baking in GG, it never looks anything like the real time version, so it's guesswork until you bake and of course the biggest issue is, map size. I believe the bloated map size has been addressed now and possibly the look? Not sure, but obviously baking has many issues to fix also. When baking worked though, it always looked pretty nice
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 16th Jul 2018 08:21
Pirate Myke: Looks like Lee already added that:
"* Added new 'usespotlighting' to FPE to allow light markers defaulting to spot"

Tarkus1971: Default animations for lights are already on my list for update 2

Ertlov: baby steps , i try to not set my update goals to high so im able to finish them without spending half a year for each update and dont get disappointed when no progress is made. but i can promise you it will be added at some point , first as a spot light parameter, "Spot cast real-time shadows".

DVader: Yes there is plans to add the flash light into the new system until that are ready you can use:
#define REFLECTIVEFLASHLIGHT
Enable this in settings.fx to give your flashlight PBR reflections ( this is not on by default, as it has been a wip. ).


Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
Ertlov
GameGuru BOTB Developer
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: Australia
Posted: 16th Jul 2018 08:41
Quote: "Ertlov: baby steps , i try to not set my update goals to high so im able to finish them without spending half a year for each update and dont get disappointed when no progress is made. but i can promise you it will be added at some point , first as a spot light parameter, "Spot cast real-time shadows"."


As said, not meant negative in any way, it's impressive what you are pulling off here.
It's just that any indoor scene (or any outdoor with darker settign and artificial lights) has to be baked currently or doesn't make much sense. And as we can't bake "indoor grids only" and switch between those at realtime, we are currently quite limited overall.
"I am a road map, I will lead and you will follow, I will teach and you will learn, when you leave my sprint planning you will be weapons, focused and full of JIRA tickets, Hot Rod rocket development gods of precision and strength, terrorizing across the repository and hunting for github submits."
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 16th Jul 2018 13:32
Thanks for the info.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 16th Jul 2018 15:21
Ah, cool, I'll give that a try Thanks!
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.

Login to post a reply

Server time is: 2024-11-24 08:55:38
Your offset time is: 2024-11-24 08:55:38