0

File to download ---->

=============

After I press F12, the rendering result is like this:

enter image description here

But in viewport it renders normally:

enter image description here

These are my settings:

enter image description here

These are my sun light settings:

enter image description here

These are my camera settings:

enter image description here

Here is the viewport, I leave only one structure to make it is more clear:

enter image description here

And this is my outliner:

enter image description here

  • 2
    There is another object in your scene (or whole collection) hidden from Viewport but still enabled for rendering. Check Outliner editor ... – vklidu Jan 19 '24 at 09:59
  • If vklidu's answer is not correct, please share your file – moonboots Jan 19 '24 at 10:11
  • @mooboots I upload the file structure, the files in Collections are all cube . I am not sure whether you meant for this? Sorry, I am new to blender. – puddlejumper26 Jan 19 '24 at 15:49
  • @vklidu, thanks, I also upload the outliner, and there should be no extra object in between. Do you mean I might put the whole structure into a hidden object, so the light won't work? – puddlejumper26 Jan 19 '24 at 15:51
  • Please [edit] your post to share your blend file with us, you can check the File Sharing Guide if you don't know how to. – L0Lock Jan 19 '24 at 16:08
  • L0Lock's suggestion is probably the fastest way ... speaking to Outliner - you dont have to share it, you can check it by your self, but yes -you have to see all objects listed ... also you can set "Filter" Outliner to show icons of "Holdout" and "Indirect" – vklidu Jan 19 '24 at 18:39
  • @vklidu thank you for the information. I have uploaded the file, and put it at the beginning of the post. Would you please take a look? – puddlejumper26 Jan 22 '24 at 19:58
  • Does this answer your question? Cause of black artifacts in render? – p2or Jan 23 '24 at 16:23

1 Answers1

1

Pure example of Z-fight (face is sharing exact the same location with another face). I have to say quite extreme example. And I can understand to your confusion ... usually it is not such black.

Each object in your scene has its duplication at the same place. You can see it simply by selecting any object and dragging away ... you can see there is another object.

enter image description here

If you separate (or delete them) render is almost fine ... there are also overlapping cuboids on the roof at corners (still visible as black cubes at corners also at bottom of building).

enter image description here

Another overlaps you can see in viewport Solid view too (see glitchy parts) ...

enter image description here

enter image description here

BTW ... hunting issues usually follows the same rules:

  • isolate issue
  • keep as minimum objects as possible to still generate the issue
  • try to append problematic part into a new file
  • if issue persists you can know it is your object issue not scene setup
  • if issue is gone you can check closer your original scene setup

In your case you could find the problem at the first step simply by moving any object into a new collection (or disable it from rendering).

vklidu
  • 36,165
  • 1
  • 61
  • 135