We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Tone Mapping!?

Home Forums Programming Tone Mapping!?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27953
    Daniel Brok
    Customer

    Hi to all,
    I am new here and have no clue on coding.
    I am a 3D Artist, working on this E-Car configurator for a Client:
    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:e026483cc6/applications/evum_motors_2020/index.html

    i am very satisfied with Verge3D, i did already a Boots Configurator in Sketchfab, but i cannot reach my programmer!
    i need only one function to get work:

    function runCode(app) {
    
        app.scene.renderer.toneMapping = new v3d.ACESFilmicToneMapping;
        app.scene.renderer.toneMappingWhitePoint = 1.0;
        app.scene.renderer.toneMappingExposure = 0.4;
    }
    

    if there is someone that can help!?,
    it would be awesome:-)
    Thanks!

    http://www.db3d.de
    http://www.linkedin.com/in/danielbrok/
    email: danielbrok@db3d.de
    3D Artist | Daniel Brok

    #27963

    Hi,

    It should be something like this:

    
    function runCode(app) {
        app.renderer.toneMapping = v3d.ACESFilmicToneMapping;
        app.renderer.toneMappingWhitePoint = 1.0;
        app.renderer.toneMappingExposure = 0.4;
    }
    

    Btw, toneMappingWhitePoint doesn’t affect ACESFilmicToneMapping, so the only relevant parameter here is exposure.

    Co-founder and lead developer at Soft8Soft.

    #27976
    Daniel Brok
    Customer

    :good: :yahoo: :good:
    yes perfect it works, thank you Ivan.
    You saved my Day!

    i tried to make this here to work:
    -Enhanced Subpixel Morphological Anti-Aliasing (SMAA)
    -Motion Blur

    but no chance!!
    if You Ivan, have a bit Time for this!??

    maybe, it would by great to put this Code examples to the “Verge3D User Manual”

    I think, i am not the only one Artist, whitout Coding knowledge, so to have this code examples in Manual will definitly help other users.

    again, spasibo Ivan!!!
    and have a nice Day!

    #28010

    Thanks, Daniel!

    i tried to make this here to work:
    -Enhanced Subpixel Morphological Anti-Aliasing (SMAA)
    -Motion Blur

    Unfortunately, Verge3D doesn’t support Motion Blur. And it also uses MSAA instead of SMAA. But we’ll think about adding such features.

    Co-founder and lead developer at Soft8Soft.

    #28018
    Daniel Brok
    Customer

    Hi Ivan,

    Thanks for Your Time and effort! :good: :good: :good:
    i picked this two functions, because they are in Verge3D User Manual noticed.
    ————————————————————————————————————–
    In addition, the following effects can be enabled with JavaScript:
    Adaptive Tone Mapping
    Crepuscular Rays (also known as sunbeams or god rays)
    Enhanced Subpixel Morphological Anti-Aliasing (SMAA)
    Glitch
    Image Crossfading
    Image Masking
    Motion Blur
    Pixelated Imagery
    Sobel Filter
    Temporal Anti-Aliasing (TAA)
    ———————————————————————————————————-

    so i was thinking, it would by simple to call this function , like with Tone Mapping!

    however, Thank You again!!!
    Tone Mapping is already a big help for mY! :bye:

    #28029

    so i was thinking, it would by simple to call this function , like with Tone Mapping!

    Ah, I see. There are some application examples that demonstrate those effects. These are for smaa and motion blur: https://cdn.soft8soft.com/demo/examples/index.html?q=smaa#webgl_postprocessing_smaa, https://cdn.soft8soft.com/demo/examples/index.html?q=after#webgl_postprocessing_afterimage

    But they are not integrated into the verge3d core directly. So, it requires a bit more than a couple lines of code to use them in an application.

    Co-founder and lead developer at Soft8Soft.

    #43481
    jdhutchinson
    Customer

    Hi Ivan,

    Thank you for your input on this topic.

    Could help to explain what is / is not in the core directly, in other words accessible during initialisation of an app? Related closely to my other topic also.

    #43482
    web
    Customer

    Interesting topic. I would also be quite interested into using the advanced tone mapping, or stuff like lut profiles.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.