Announcement

Collapse
No announcement yet.

Advanced Daylight System with Colour Grading.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Woot!

    /10char

    Leave a comment:


  • replied
    Originally posted by Zooch View Post
    Is this submitted for marketplace review yet? I'd like to buy this and break it open

    Well I already signed the distribution agreement 10 days ago, so I guess , you will see it very soon.

    Leave a comment:


  • replied
    Is this submitted for marketplace review yet? I'd like to buy this and break it open

    Leave a comment:


  • replied
    Few More Screenshots -

    Click image for larger version

Name:	Image1.jpg
Views:	1
Size:	424.4 KB
ID:	1076444

    Click image for larger version

Name:	Image2.jpg
Views:	1
Size:	651.3 KB
ID:	1076445

    Click image for larger version

Name:	MainLUTs.jpg
Views:	1
Size:	257.3 KB
ID:	1076450

    Click image for larger version

Name:	Image3.jpg
Views:	1
Size:	446.6 KB
ID:	1076446

    Click image for larger version

Name:	SampleBlendLUTs.jpg
Views:	1
Size:	893.4 KB
ID:	1076448
    Attached Files

    Leave a comment:


  • replied
    Hi ,

    Finally I have managed to complete the day night cycle. Please watch a simple video demonstration. Kindly pardon my accent


    Leave a comment:


  • replied
    Originally posted by islipaway View Post
    Have you tried using timelines to blend between them? I set up a blend in/out of a LUT with a timeline like this to test:

    [ATTACH=CONFIG]37607[/ATTACH]

    https://youtu.be/iYD_y9lUEM4

    If you defined the LUT with a variable and set the variable based on the time and made an event that played the timeline after redefining the LUT maybe that would work? It's late and I don't really know that much about this stuff but seems like it would work.
    Thanks for the response , but I was also doing a calculation to blend the LUT based on sun's elevation angle , it was working fine , what wasn't was that the adjacent post process element , when set enabled, is not taking effect as long as the current post process element is active. So instead I created a .net application that takes two texture as inputs and use Lerp to blend them based on alpha parameter and save the new texture on hard disc. This way I can have 1000s of LUTs in minutes. (I tried creating blended textures dynamically in unreal engine C++ but that is giving very weird result , maybe because there is no easy way to create Pixelformat as DXT1(maybe there is , I just couldn't find out)).

    Leave a comment:


  • replied
    Have you tried using timelines to blend between them? I set up a blend in/out of a LUT with a timeline like this to test:

    Click image for larger version

Name:	lutblend.png
Views:	1
Size:	162.3 KB
ID:	1075576

    https://youtu.be/iYD_y9lUEM4

    If you defined the LUT with a variable and set the variable based on the time and made an event that played the timeline after redefining the LUT maybe that would work? It's late and I don't really know that much about this stuff but seems like it would work.
    Last edited by raisedbywoes; 05-02-2015, 08:27 PM.

    Leave a comment:


  • replied
    Originally posted by joshezzell View Post
    Can't you just blend different post process volumes over top each other? I don't see the need for all the in between LUTs.
    I was unable to do so , as two post process blends are not showing simultaneous effects when enabled simultaneously. Unless I get a better solution , I will create the blend textures. But the good news is , I don't have to create them one by one. I have created an application in C# using OpenCV that does the linear blend for me. So literally I can create 1000s of LUT blends(20+ might be enough per hour to prevent human eye from noticing the change) in few clicks!!!
    Last edited by sameek4; 05-02-2015, 06:00 PM.

    Leave a comment:


  • replied
    Can't you just blend different post process volumes over top each other? I don't see the need for all the in between LUTs.

    Leave a comment:


  • replied
    Originally posted by Mortusnyte View Post
    Systems like this for me are almost a must. I am not color blind but I might as well be as I seem to have no attention depth regarding colors. So for me, having pre-made color based systems is really important.
    But what I am wondering, is if I could use this system for a 2D project that runs on emissive lighting? I do not have much experience in the lighting department or texturing so forgive me if this is unrelated.

    Otherwise, great work, looks good, and useful!
    I can see what you meant based on your other post. I cannot be sure , but you can very easily try this out. Just drop one post process element in your scene and scale it to fill entire scene area , add any texture you have as colour grading texture , and increase the grading intensity. If you notice any difference , you can very easily use this system for your project as well.

    Leave a comment:


  • replied
    Originally posted by StrokeMeGoat View Post
    By the way sameek4, how exactly are you going about this? ... if you don't mind my asking. I imagined doing it with simple matinee and blueprint and making the individual "steps" manually in photoshop, starting off with several major "steps" and then just blending the resulting color tables a set number of "steps" between each major step, maybe making them total a new LUT each hour or every 2 hours or something. If you have any ideas you'd be willing to share, I'd love to hear them. I don't have much experience programming so my approach is fairly limited. Definitely going to follow this thread, very interested in seeing your results!
    Well, that is exactly what I did minus the matinee thing. These are the three ways I can think of -

    1>Creating approx 300 LUTs , the one you suggested, with 15 main LUTs and 10-20 different LUTs between each two main adjacent LUTs. Now how will I create those blend LUT textures? Simple - Create a material with two adjacent LUTs , create a Lerp with the Alpha as a scalar param and connect to basecolor. Create a material instance and increase the parameter by ,say .1 if you want to have 10 blend LUTs between every two main ones , and .05 if you want to have 20. See the instance preview in plane form , crop the picture of the plane using snipping tool, go to photoshop and resize the pic by 256 x 16, import the pic in LUT. Repeat this by increasing the parameter by .1 or .05, until you get all LUts you want. Considering the step as 1 min per LUT , you can pretty well create 10 LUTs in a bit over 10 minutes.

    2>Create the material as mentioned above , only the textures are parameters this time. Create instances dynamically and pass the material in C++ code , from there you can take the material basecolor value, convert it into array of FColors(if only you know how to split a material basecolor into pixels and read those pixel values in RGB format. I couldn't do this), and create a new texture using the below code -
    Code:
    UTexture2D* FinalTexture = FImageUtils::CreateTexture2D(256, 16, Colors, this, "ResultTexture", EObjectFlags::RF_Public | EObjectFlags::RF_Transient, FCreateTexture2DParameters())
    Return this texture and connect the texture with the post process element's color grading factor. Do this at every tick, adjust the scalar param value according to your game time, and you might get pretty decent blends.

    3>What I think a more feasible option and inspired from max.pareschi's suggestion above, but am yet to try out - Create the post process elements dynamically as unbound , in begin play. Store them in an array. And then in tick event, based on the current time , bind the current post process element, and in the next tick , you can bind the next post process element, and increase the blend weight slightly above 0 and decrease the bend weight of the previous post process element slightly below 1. Repeat this every tick , and at one point the previous post process element will have 0 weight and current element will have 1 weight. This is the time when you unbind the previous element and bind the next element in the same way. This should create nice realistic blend , but I am yet to try it out , so can't be sure of the results.
    Last edited by sameek4; 04-29-2015, 01:00 PM.

    Leave a comment:


  • replied
    By the way sameek4, how exactly are you going about this? ... if you don't mind my asking. I imagined doing it with simple matinee and blueprint and making the individual "steps" manually in photoshop, starting off with several major "steps" and then just blending the resulting color tables a set number of "steps" between each major step, maybe making them total a new LUT each hour or every 2 hours or something. If you have any ideas you'd be willing to share, I'd love to hear them. I don't have much experience programming so my approach is fairly limited. Definitely going to follow this thread, very interested in seeing your results!

    Leave a comment:


  • replied
    This is cool looking forward to seeing video in action.

    Leave a comment:


  • replied
    Systems like this for me are almost a must. I am not color blind but I might as well be as I seem to have no attention depth regarding colors. So for me, having pre-made color based systems is really important.
    But what I am wondering, is if I could use this system for a 2D project that runs on emissive lighting? I do not have much experience in the lighting department or texturing so forgive me if this is unrelated.

    Otherwise, great work, looks good, and useful!

    Leave a comment:


  • replied
    Originally posted by Tom Looman View Post
    I like Early Night and One Hour After sunrise the most. Some of them feel a bit too strongly tinted to me (like Early Sunset) Interested to see your system motion!
    Thanks Tom for your feedback. I will merge this with location based daylight system so that clouds and sunlight are in pace with the LUTs , and then will make a video of this.

    Leave a comment:

Working...
X