Just weighing in on this badboy (awesome thread, gutted I didn't find it sooner).
One major improvement I'd like to see to lightmass is an improvement to the map processing. Currently it's not possible to divide a single texture up across multiple threads, so build times are always capped at the largest lightmap resolution you have in the scene (usually anyway), and only one thread can do that work while the rest are doing nothing. Something similar to xNormals method where lightmaps are processed one-by-one and split accross all the threads might make lightmass significantly faster. I would have a pop at it myself if I had the first clue where to start, but this is probably one for the rendering team anyway.
Announcement
Collapse
No announcement yet.
Lets make Lightmass EPIC (and understandable)
Collapse
X
-
MSL repliedOriginally posted by on3studio View PostJust a quick question: Where can I see how long my build time is? Are you guys sitting next to your computer for 4 hours or is there a timestamp somewhere? Thank you!
Leave a comment:
-
on3studio repliedJust a quick question: Where can I see how long my build time is? Are you guys sitting next to your computer for 4 hours or is there a timestamp somewhere? Thank you!
Leave a comment:
-
Enter Reality repliedThanks for the tips
I was about to build the scene with NumHemisphereSamplesScale > 400 at Medium quality, but I notice that the build time was incredibly slow, so I guess I'll try a lower value for that.
@heartlessphil: based on Rafareis reply and by some tests the scale is what gives you the soft shadow details from large/small objects and it makes quite the difference, and of course it increase the build time, not entirely sure how much since I mixed the values between tests.
With 0.15/0.25 the shadows quality is really good, but the value also depends on the scene itself and the degree of detail you want.
@DanielW: Are portals going to be included in a release soon?
Leave a comment:
-
MSL repliedOriginally posted by Nicolas3D View PostHere are some tests, settings are from MSL message but:
Added a sunlight ( intensity 6, indirect lighting 3 )
Skylight ( intensity 0.5, indirect lighting 3 )
Post process tweaks: enable GI with a value of 3
Render time: 2:03 hours on Production
[ATTACH=CONFIG]64131[/ATTACH]
[ATTACH=CONFIG]64132[/ATTACH]
[ATTACH=CONFIG]64133[/ATTACH]
[ATTACH=CONFIG]64134[/ATTACH]
@DanielW : Please correct me if I am wrong.
In your scene, you can get the same quality with the following settings with reduction of build time by around 60%:
Use default BaseLightMass.ini with only NumHemisphereSamplesScale > 64
Static Lighting Level Scale: 1
Num Indirect Lighting Bounces: 100
Indirect Lighting Quality: 10
Indirect Lighting Smoothness: 1
You can play with Indirect Light Intensity of SkyLight and Directional Light to get this quality with much faster Build time.
@heartlessphil: It took around 40 mins for light build. Also I have observed that these values differ substantially depending on scene. If scene has lot of closed space, as in case of Interiors, it is very difficult to get good lighting with only Skylight even with lot of changes in BaseLightMass.ini.
Leave a comment:
-
heartlessphil repliedI've just built my whole 2000+ meshes scene in 59 mins by reducing the scale to .4 (lightmaps res 1024) and leave indirect lighting quality to 1. Previous attempt with quality 6 and scale .15 took 16 hours. (with lightmaps of 256). Stunning. It looks way better now and took 1/16th of the time!Last edited by heartlessphil; 11-01-2015, 11:56 PM.
Leave a comment:
-
serriffe repliedOh nice! Portal Lights- sweet, can't wait for the public implementation. great work Daniel-
Originally posted by DanielW View PostEarly Portal results
Original (StaticLightingScale .1, Production, IndirectLightingQuality 1). Took 30s to build.
[ATTACH=CONFIG]63883[/ATTACH]
Portal setup
[ATTACH=CONFIG]63882[/ATTACH]
With portals, IndirectLightingQuality still set to 1! Took 90s.
[ATTACH=CONFIG]63884[/ATTACH]
The portals don't change the brightness, they just tell Lightmass where to look closely for lighting. In this case with all the skylight coming in small holes they make a big difference. In a more open scene they wouldn't be any good because the openings to the sky are large.
Leave a comment:
-
EoinOBroin repliedAwesome thread, lots of interesting stuff! I would also love to see those .ini settings exposed to the editor- perhaps under "advanced lighting" options to not confuse those who are just looking for the basic parameters! It's fine tweaking the .ini file manually, but it does get quite tedious and it would make the in editor settings feel much more complete if they were added!
Leave a comment:
-
Enter Reality replied -
meijervis repliedI personally really like working with a directional sunlight combined with spotlight reflectors.
My current project is a apartment with multiple rooms, and by placing a spotlight reflector at each window it allows me to control the lighting per room which for me is a huge plus.
Of course it would be easier if placing one skylight would just correctly light a whole apartment, but at the moment it doesnt work like that.
Leave a comment:
-
RI3DVIZ repliedThis thread is getting muddier and muddier.
Daniel when you have a chance can you clear up some of these parameters that are being tweaked - it's a whole lot of stabbing in the dark from what I see.
Leave a comment:
-
heartlessphil repliedI'm doing a bunch of test with the default ini.
I'm getting much better results with a low static lighting level scale (From .8 to .1) than any other settings. I'm even leaving lighting quality to 1, smoothness to 1, bounces to 10-20. I set my lightmaps res higher/uncompressed and I'm getting better results and faster!
Time to reconsider my old workflow I think. (for skylight-lit only scenes, at least).
Quick test for the indirect lighting quality alone. Lightmaps res are 1024, scale set to .4
Quality = 6 (4mins30sec build time)
Quality = 1 (1min32s build time)
Not a huge difference imo. build time is a lot higher with 6 tho.
Static lighting level scale alone now (with indirect lighting quality set to 1)
Scale = 1 (1min13s build time)
Scale .4 (1min 32s build time)
Scale .1 noticed the extruded lines on the walls receive some shadowing :-) 3mins19s build time tho.
In this scene, it's clear that the best setting is the scale.Last edited by heartlessphil; 11-01-2015, 10:45 AM.
- 1 like
Leave a comment:
Leave a comment: