When do objects cast shadows?
flare_dbd185b4ba
Posts: 64
Hello,
When I import an object created in blender into DazStudio, a shadow may appear as shown in the attached figure.
I tested the shadowed condition.
As a result, shadows appear when the object is processed.
For example, create a cylinder in Blender.
Even if you import it into Daz, the shadow will not appear, but if you extend the top of the cylinder as shown in the figure, the shadow will appear.
There is no problem with the shape, just a shadow on the object.
There is no problem with the texture as it is, but I would like to know the cause of the shadow.
<Contents tested>
-Aligned normals.
-change faces to triangles
-Re-textured
thank you.
cast a shadow.png
1824 x 1876 - 269K
Comments
Have you just scaled the lower vertices?
In my experience it comes from face smotthness and how it is shown.
Might also be flipped normals.
yes i just scaled the bottom vertex
I forgot to write, but smooth is turned on on the BLENDER side.
Whether smooth is ON or OFF does not change the result.
I tried flipping the normals, but the result was the same.
How does it look if you in DS add subD?
DS has more than one rendering engine, just saying..
It may also be about presicion or lack of it.
Years back, I found out about the problems with floating point calculations when I was designing 3D ventilation ducts to one of the love boats in AutoCad.
I couldn't figure out, why I was seeing lines and shadows between parts that I had merged together when they had exactly the same vertex cordinates.
I asked about it in one of the AutoCad forums and someone told me that as AutoCad used floating point calculations in some operations, the coordinates will not retain their accuracy and it changed the way I was building the objects. No longer was I telling AutoCad to draw 100mm line from the starting point to 180 degrees, but instead I told it to draw a line -100mm along the X-axis. The first command got me close but not exactly, if one zoomed enough, eventually one could see a difference of 0.0000000000000001 millimeters and that was the reason for the shadows and unwanted lines.
If the coordinates are not exactly on the same circle, that can create shadows that one can see, even when one can't see the discrepancy when looking at the coordinates of the vertices.
That is the N-Gon problem on the cap fill, pls try to use Triangle Fan or Nothing as Cap Fill Type ...
I solved.
I forgot that DazStudio does not support N-GON.
thank you.