CodeFHD / OptiCore

Optical Elements Addon for Blender
GNU General Public License v3.0
91 stars 8 forks source link

Different Image behavior using blender 2.92 #8

Closed chifenggengmengyue closed 3 years ago

chifenggengmengyue commented 3 years ago

Hi, sorry to bother again, I followed exactly the YouTube tutorial video ( OptiCore + LuxCore Lens System Tutorial ) to build the lens, but when I press F12 to render the image I got much noise around the center light spot (also the light spot is not as smooth as it was in the video, I uploaded the result image below). I am using blender 2.92+luxcore v2.5, Is this a render engine issue? Can you share the version of blender and luxcore you were using for the video? Thanks!

spot result

CodeFHD commented 3 years ago

The noise around the center are "fireflies", which usually result from glass reflections. Have you set the "Reflection color" of the LuxCore glass material to perfect black? You also might want to adjust the camera toinemapper settings, especially disable auto-brightness. I judge this from the central spot looking overexposed.

For the shape of the spot, I had similar observations with somewhat low settings of "N1" and "N2" in the OptiCore lens settings, though I have no explanation yet. Try to recreate the lenses with setting N1 and N2 to 64 each.

I am not sure which version exactly I used to make the video, probably v2.4 release, or an early stage daily build of 2.5. Certainly it was Blender 2.8x, not 2.9x.

I won't be able to do detailed testing in the next few days, but it would help if you can share a .blend-file that shows this issue for you. (For any bug, be it Blender, LuxCore, or an addon, sharing a .blend-file is always helpful. Ideally, the .blend-file has the simplest scene that replicates the problem.)

chifenggengmengyue commented 3 years ago

Appreciate for the detailed respond! I am attaching my blend file (I renamed to tutorial.gif so that github allows me to upload), I followed your video step by step but a few mistakes might exists.. Also I got a mistake in rendder view saying optixdenoise plug in is missing, I am trying to figure out if this is also a reason. tutorial

Update: I followed your advice, set all reflect to black, disable the auto-brightness, and installed the OptixDenoiserPlugin of Nvidia, this time the render view does not contain noise anymore, but the F12 final render still looks the same as the above picture, still trying...

Update2: I think its not a firfly, it might be caused by some particular settings, cause the 'noise' around the central spot eventually covers the whole laser square..

Update3: I finally found the reason: The hidden dummy cube is the root of the cause, after move it away from the light path, everything works fine :)

1 render_view_is_normal

CodeFHD commented 3 years ago

Thanks for posting the updates. I finally got round to looking at the issue, but now I don't have to :D