Holes in normal map #55430

Closed
opened 2018-06-10 17:46:05 +02:00 by Tyler · 14 comments

System Information
Windows 10 Professional x64
Nvidia GeForce GTX 650 Ti Boost

Blender Version
Broken: 2.79b
Worked: n/a

Baking produces holes in the normal map.

  1. Open .blend file
  2. Bake at any ray distance
  3. Normal map has holes in it

.blend file: https://www.dropbox.com/s/dhoz618knqw0yp7/anvil.zip?dl=0

**System Information** Windows 10 Professional x64 Nvidia GeForce GTX 650 Ti Boost **Blender Version** Broken: 2.79b Worked: n/a Baking produces holes in the normal map. 1) Open .blend file 2) Bake at any ray distance 3) Normal map has holes in it .blend file: https://www.dropbox.com/s/dhoz618knqw0yp7/anvil.zip?dl=0
Author

Added subscriber: @dizziless

Added subscriber: @dizziless
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Cant confirm here, using a Ray Distance of e.g. 0.08 gives following result here

#55430.png

[also using a slightly fattened copy of the lowres as a cage also works fine here]

  • Could you confirm this is working for you, or
  • could you show us what the holes look like [when using Ray Distance of 0.08]?

Marking as incomplete for the time being...

Cant confirm here, using a `Ray Distance` of e.g. 0.08 gives following result here ![#55430.png](https://archive.blender.org/developer/F3661979/T55430.png) [also using a slightly fattened copy of the lowres as a [cage ](https://docs.blender.org/manual/en/dev/render/cycles/baking.html#additional-options) also works fine here] - Could you confirm this is working for you, or - could you show us what the holes look like [when using Ray Distance of 0.08]? Marking as incomplete for the time being...
Author

Here's what it looks like at 0.08.

0080.png

Trying to use a cage gives me an error message: "Invalid cage mesh the cage mesh must have the same number of faces as the active object".

edit: Here's with cage selected and a distance of 0.08. extrusion.png

Here's what it looks like at 0.08. ![0080.png](https://archive.blender.org/developer/F3662972/0080.png) Trying to use a cage gives me an error message: "Invalid cage mesh the cage mesh must have the same number of faces as the active object". edit: Here's with cage selected and a distance of 0.08. ![extrusion.png](https://archive.blender.org/developer/F3663034/extrusion.png)
Member

Hm, still cannot reproduce, maybe someone else can?

Hm, still cannot reproduce, maybe someone else can?
Author

Is it possible the bake is not completing for some reason? I never see the status percentage go from 0 to 100. It usually stops at 1% - 7%, "completed", and then saves the normal map.

Is it possible the bake is not completing for some reason? I never see the status percentage go from 0 to 100. It usually stops at 1% - 7%, "completed", and then saves the normal map.
Member

Not completing would make sense (output with holes expected then).

  • does this happen on both GPU and CPU?
  • could you launch blender from the commandline with --debug-cycles option and post the output as a .txt file here? [maybe there is something we can learn from that...]

Marking as incomplete again until we have an answer...

Not completing would make sense (output with holes expected then). - does this happen on both GPU and CPU? - could you launch blender from the commandline with `--debug-cycles` option and post the output as a .txt file here? [maybe there is something we can learn from that...] Marking as incomplete again until we have an answer...
Author

CPU Compute
cpu compute.png

GPU Compute
gpu compute.png

could you launch blender from the commandline with --debug-cycles option and post the output as a .txt file here? [maybe there is something we can learn from that...]

Not sure how to do this, could you give me further instructions?

CPU Compute ![cpu compute.png](https://archive.blender.org/developer/F3677673/cpu_compute.png) GPU Compute ![gpu compute.png](https://archive.blender.org/developer/F3677704/gpu_compute.png) > could you launch blender from the commandline with --debug-cycles option and post the output as a .txt file here? [maybe there is something we can learn from that...] Not sure how to do this, could you give me further instructions?
Member

Seems like GPU only then.
Could it be that you are running out of GPU memory?
(if I look at my NVIDIA Server Settings I have it peaking at a little less than 2 GIGs -- which might be a little too much for the GTX 650 Ti...)

reg. the --debug-cycles option: open a command prompt in windows and run blender.exe --debug-cycles (instead of just blender.exe)

btw: There was a change in GPU rendering since 2.79b [so only included in current master] that allows for rendering larger scenes, so you could try a recent build from https://builder.blender.org and try your luck...

CUDA rendering now supports rendering scenes that don't fit in GPU memory, but can be kept in CPU memory.
This feature is automatic but comes at a performance cost that depends on the scene and hardware.
When image textures do not fit in GPU memory, we have measured slowdowns of 20-30% in our benchmark scenes.
When other scene data does not fit on the GPU either, rendering can be a lot slower, to the point that it is better to render on the CPU. (c621832)

Seems like GPU only then. Could it be that you are running out of GPU memory? (if I look at my NVIDIA Server Settings I have it peaking at a little less than 2 GIGs -- which might be a little too much for the GTX 650 Ti...) reg. the --debug-cycles option: open a command prompt in windows and run `blender.exe --debug-cycles` (instead of just blender.exe) btw: There was a change in GPU rendering since 2.79b [so only included in current master] that allows for rendering larger scenes, so you could try a recent build from https://builder.blender.org and try your luck... > CUDA rendering now supports rendering scenes that don't fit in GPU memory, but can be kept in CPU memory. > This feature is automatic but comes at a performance cost that depends on the scene and hardware. > When image textures do not fit in GPU memory, we have measured slowdowns of 20-30% in our benchmark scenes. > When other scene data does not fit on the GPU either, rendering can be a lot slower, to the point that it is better to render on the CPU. (c621832)
Author

My GPU does only have 1 Gb of VRAM, so that could be the case.

reg. the --debug-cycles option: open a command prompt in windows and run blender.exe --debug-cycles (instead of just blender.exe)

I tried doing this now, but my command prompt can't find blender.exe. I tried reading the wikihow article on how to add a program to the command line, but it reads like the person who wrote it has never spoken English or used a computer before. Maybe you can tell me how to add it and then I can debug cycles for you. In the meantime, it looks like I'll just have to render different things on my CPU and GPU as required.

My GPU does only have 1 Gb of VRAM, so that could be the case. > reg. the --debug-cycles option: open a command prompt in windows and run blender.exe --debug-cycles (instead of just blender.exe) I tried doing this now, but my command prompt can't find blender.exe. I tried reading the wikihow article on how to add a program to the command line, but it reads like the person who wrote it has never spoken English or used a computer before. Maybe you can tell me how to add it and then I can debug cycles for you. In the meantime, it looks like I'll just have to render different things on my CPU and GPU as required.
Member

You could just drag and drop the blender.exe into the command promt and add --debug-cycles to the end

Also: did you check if you can render on GPU with a new build from https://builder.blender.org?

Other than that, I think you are left with your CPU...

You could just drag and drop the blender.exe into the command promt and add `--debug-cycles` to the end Also: did you check if you can render on GPU with a new build from https://builder.blender.org? Other than that, I think you are left with your CPU...
Author

I disabled sandbox mode on Comodo and gave it a bake in the June 15 version of blender using my GPU and it worked as it should. Problem solved. Thank you for all the assistance.
gpu bake updated version.png

I disabled sandbox mode on Comodo and gave it a bake in the June 15 version of blender using my GPU and it worked as it should. Problem solved. Thank you for all the assistance. ![gpu bake updated version.png](https://archive.blender.org/developer/F3700569/gpu_bake_updated_version.png)
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2018-06-15 10:51:47 +02:00
Member

Glad to hear! Closing then...

Glad to hear! Closing then...
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#55430
No description provided.