Home › Forums › Programming › Tone Mapping!?
- This topic has 7 replies, 4 voices, and was last updated 3 years, 4 months ago by web.
-
AuthorPosts
-
2020-05-24 at 5:31 pm #27953Daniel BrokCustomer
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.htmli 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 Brok2020-05-25 at 7:52 am #27963Ivan LyubovnikovStaffHi,
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 affectACESFilmicToneMapping
, so the only relevant parameter here is exposure.Co-founder and lead developer at Soft8Soft.
2020-05-25 at 11:29 am #27976Daniel BrokCustomer
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 Blurbut 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!2020-05-26 at 8:49 am #28010Ivan LyubovnikovStaffThanks, Daniel!
i tried to make this here to work:
-Enhanced Subpixel Morphological Anti-Aliasing (SMAA)
-Motion BlurUnfortunately, 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.
2020-05-26 at 11:24 am #28018Daniel BrokCustomerHi Ivan,
Thanks for Your Time and effort!
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!2020-05-26 at 1:06 pm #28029Ivan LyubovnikovStaffso 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.
2021-08-06 at 11:19 am #43481jdhutchinsonCustomerHi 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.
2021-08-06 at 12:04 pm #43482webCustomerInteresting topic. I would also be quite interested into using the advanced tone mapping, or stuff like lut profiles.
-
AuthorPosts
- You must be logged in to reply to this topic.