Hello everyone, I have a problem with displacement.
I created displacement map in ZBrush 32 bit exr. Often this map have a bugs in Corona render, but after a couple of minutes the bug may disappear just like that. Help me please.
Hi,
Can you tell how you import the map and what are displacement settings in your material? It is very important to import 32 bit displacement maps with gamma 1.0 and Corona material’s displacement settings should be left at default: min - 0.0, max - 1.0
Yes, I did so. I solved this problem in CoronaDisplacementMod by putting the world (units). Not the screen (px). But maybe there is another solution to this problem.
This problem sometimes disappears, but if I remove tubosmooth and put it on again, the problem will return.
Are you using interactive rendering? If so, then displacement is not re-calculated in interactive rendering each time you move your camera (that would be too slow). If you refresh your rendering (i.e. stop and start again), then you should always see the correctly displaced mesh.
Can you help me? This bug everywhere. This bug is not in V-ray. But any map in the displacement section has this bug in corona render. This is in jpeg, and exr, and 16 bit, and 32 bit on any geometry. I reinstalled 3ds max and Corona Render. Install and past versions of 3ds max. No way helped.
Sorry for the late reply, and thanks for providing some image material. Can you please upload 1-2 scenes with which you experience the issue? (please include some of your displacement maps).
Use our private uploader and preferably use archive. Chaos
What image loader are you using? Did you tried standard bitmap loader? Displacement work differently on standard loader and may fix your problem, i wrote about it but nobody answer if this is normal behavior.
Hmm strange, this is how it renders on my end from your scene, I did check most of your settings everything seems in order, I will try to recreate it somehow.
Can you please share with me what version of Corona you are using and what of 3ds max. Are you using any plugins to import the maps?
The strange thing is that the bug was only with new maps, and then it began to appear with everyone. I’ve been working in the corona for 5 years and everything was fine.
I use version 4 and 3ds max 2020. I experimented with older versions and it did not help.
I did not use any imports.
I did a lot of tests, took any displacement maps from zbrush, mudbox, and quixel. The only maps that work are standard 3ds max maps like checker or noise.
Can you please try and see how it’s going to render with Corona v5 (also please try with latest 3ds max 2020.03 patch)?
You might have to do a complete uninstall of Corona and everything related to it the issue persists. Some quick questions, what’s your OS and what CPU do you have?
I’m asking because one render shows something similar to what you get when you import meshes generated in Maya via FBX.
Maya’s y-axis is Max z-axis and FBX correctly converts the general geometry but NOT explicit normals. They look correctly in Max until you do a Reset XForm, that’s where it gets visible, and it looks similar to your first render, the normals look off.
If these come from Maya, try to:
apply Edit Normal modifier
in subobject mode select all normals (CTRL + A), press ‘Reset’
See if this helps. If not, you may have to do a ResetXForm on the mesh first. Make sure to detach it from any hierarchy first or the object may be offset.
The more I look at the screenshot, the more I’me convinced this is the problem here.
3D Displacement usually displaces along the face local z-axis, upwards. In your screenshot it looks like it does it sideways, which is exactly what happens if you would swap the z axis with either x or y. This is why you get strange shading in general, as if the lighting would change, plus small artifacts from overlapping faces.
2D displacement probably uses a different method to figure out surface normals and that’s why it doesn’t show these artifacts.