Hair Not Rendering in Cycles in 2.81 #71799

Closed
opened 2019-11-23 01:56:36 +01:00 by Joe Williamsen · 8 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: 26bd5ebd42
Worked: (2.80 and earlier versions of 2.81)

In 2.80
Hair 2.80.JPG

In 2.81
Hair 2.81.JPG

Other examples:

Cycles 2.80
Cycles 2.80.JPG

Workbench 2.81
Workbench 2.81.JPG

Cycles 2.81
Cycles 2.81.JPG

Short description of error
When opening a scene with hair created in 2.80 in 2.81, the hair is rendering strangely or not at all (note: this is not happening in every scene - but this is one it is happening in)

Exact steps for others to reproduce the error
Open the attached file in Blender 2.81 (official)
Go to Camera view
Render in Cycles

Hair Render Bug.zip

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: `26bd5ebd42` Worked: (2.80 and earlier versions of 2.81) In 2.80 ![Hair 2.80.JPG](https://archive.blender.org/developer/F8157088/Hair_2.80.JPG) In 2.81 ![Hair 2.81.JPG](https://archive.blender.org/developer/F8157092/Hair_2.81.JPG) Other examples: Cycles 2.80 ![Cycles 2.80.JPG](https://archive.blender.org/developer/F8157095/Cycles_2.80.JPG) Workbench 2.81 ![Workbench 2.81.JPG](https://archive.blender.org/developer/F8157098/Workbench_2.81.JPG) Cycles 2.81 ![Cycles 2.81.JPG](https://archive.blender.org/developer/F8157101/Cycles_2.81.JPG) **Short description of error** When opening a scene with hair created in 2.80 in 2.81, the hair is rendering strangely or not at all (note: this is not happening in every scene - but this is one it is happening in) **Exact steps for others to reproduce the error** Open the attached file in Blender 2.81 (official) Go to Camera view Render in Cycles [Hair Render Bug.zip](https://archive.blender.org/developer/F8157105/Hair_Render_Bug.zip)
Author

Added subscriber: @Joe_W

Added subscriber: @Joe_W

Added subscriber: @grosgood

Added subscriber: @grosgood

@Joe_W
Not Reproducing It. Tested initially as-is, then moved the camera to get more detailed test images of the eye brows and eye lashes.
This machine
dell_lat_E6430_system-info.txt

I could emulate the effects of your bug by unchecking the hair tick-box on the Properties panel on the Render tab; originally, on file open, it was already set; I trust you made your observations with it set and uploaded the blend file with it still set, but I am noting that the effect of the bug was as if the hair check box was unset.
checked
hair_checked.png

unchecked
hair_unchecked.png
I'm using a stock Dell laptop with its off-the-shelf graphics stack - nothing like your GeForce RTX 2070 NVIDIA. I noticed while looking over your settings on the Properties panel that you were using the Experimental feature set and the GPU Compute device - your NVIDIA card, of course. Since there is nothing like your card on this laptop, my rendering necessarily fell back to conventional CPU rendering - and that may be the basis of my successful render.

So: does this bug happen to you always - even when restricting yourself to the Supported feature set and CPU rendering, or does it occur specifically when GPU rendering? Since you have an RTX card, were you experimenting with [Optix ]] or using CUDA? Have you tried running Blender from a https:*docs.blender.org/manual/en/latest/advanced/command_line/launch/windows.html If you do, do you see any unusual error messages printed in the shell, such as compilation failures in generating GPU-specific rendering code? If you use the ##--debug-gpu## and/or ##--debug-cycles## [ https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html|Blender debug options is anything interesting printed on the console?

Appreciate it if you could post these or any other clarifications on setting up your render. Thank you!

@Joe_W Not Reproducing It. Tested initially as-is, then moved the camera to get more detailed test images of the eye brows and eye lashes. **This machine** [dell_lat_E6430_system-info.txt](https://archive.blender.org/developer/F8159492/dell_lat_E6430_system-info.txt) I could emulate the effects of your bug by unchecking the **hair** tick-box on the Properties panel on the Render tab; originally, on file open, it **was already** set; I trust you made your observations with it set and uploaded the blend file with it still set, but I am noting that the effect of the bug was as if the hair check box was unset. **checked** ![hair_checked.png](https://archive.blender.org/developer/F8159496/hair_checked.png) **unchecked** ![hair_unchecked.png](https://archive.blender.org/developer/F8159528/hair_unchecked.png) I'm using a stock Dell laptop with its off-the-shelf graphics stack - nothing like your GeForce RTX 2070 NVIDIA. I noticed while looking over your settings on the Properties panel that you were using the Experimental feature set and the GPU Compute device - your NVIDIA card, of course. Since there is nothing like your card on this laptop, my rendering necessarily fell back to conventional CPU rendering - and that may be the basis of my successful render. So: does this bug happen to you *always* - even when restricting yourself to the Supported feature set and CPU rendering, or does it occur specifically when GPU rendering? Since you have an RTX card, were you experimenting with [Optix ]] or using CUDA? Have you tried running Blender from a [[ https:*docs.blender.org/manual/en/latest/advanced/command_line/launch/windows.html|Windows command shell? ]] If you do, do you see any unusual error messages printed in the shell, such as compilation failures in generating GPU-specific rendering code? If you use the ##--debug-gpu## and/or ##--debug-cycles## [[ https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html|Blender debug options ](https:*code.blender.org/2019/07/accelerating-cycles-using-nvidia-rtx/) is anything interesting printed on the console? Appreciate it if you could post these or any other clarifications on setting up your render. Thank you!
Author

Hello Garry - Thanks for further prompting me to check other settings.

It appears that this is occurring with OptiX enabled in the Preferences. If I go back to just CUDA, the hair renders as expected. I didn't realize that OptiX was enabled in the System Settings. I'm not sure how that happened as the scene was a 2.80 scene just opened in 2.81.

This might explain why in a couple of other scenes that had hair, this was NOT happening (different render/system preferences). However, when I went back and enabled OptiX in those (already working) scenes as a test, the hair still rendered correctly (?) Very weird.

I went back to the original problem scene and disabled OptiX (switched to CUDA) and the scene is rendering as expected in 2.81.

So ... OptiX and hair might not be working correctly at this time(?) I guess I can just disable it....

Hello Garry - Thanks for further prompting me to check other settings. It appears that this is occurring with OptiX enabled in the Preferences. If I go back to just CUDA, the hair renders as expected. I didn't realize that OptiX was enabled in the System Settings. I'm not sure how that happened as the scene was a 2.80 scene just opened in 2.81. This might explain why in a couple of other scenes that had hair, this was NOT happening (different render/system preferences). However, when I went back and enabled OptiX in those (already working) scenes as a test, the hair still rendered correctly (?) Very weird. I went back to the original problem scene and disabled OptiX (switched to CUDA) and the scene is rendering as expected in 2.81. So ... OptiX and hair might not be working correctly at this time(?) I guess I can just disable it....

Added subscriber: @pmoursnv

Added subscriber: @pmoursnv

So, to recap:

  1. CPU Rendering & Cycles - OK
  2. GPU Rendering & Cycles: NVIDIA/CUDA - OK
  3. GPU Rendering & Cycles: NVIDIA/OPTIX - Problems with some files (Specifically hair? Specifically with resized hair? Or are there other kinds of files (non-hair) with issues? [Edit - doubtful])

Your issue bears a strong resemblance to #71255 Particle Hair not showing as expected in Cycles viewport/rendering due to optix rendering which was recently closed by @pmoursnv, the lead developer on Blender - Optix integration. The fix lives in the alpha 2.82 Blender, available as an experimental download (daily build) , but not in the recently released 2.81 Blender.

Take a look at #71255 and check whether the blender files that are not rendering for you involve resized objects. If so, this issue of yours is probably a recurrance of that bug. You might care to download a daily build of 2.82 alpha and see if the issue goes away in the experimental build.

Optix is a Work In Progress. The tracker task is #69800; you may wish to subscribe to that task and, if time permits, help out in Optix testing, if you care to. There is a benefit to get Optix running: NVIDIA RTX hardware provides very fast, very high quality, renders.

If you confirm that you are a victim of #71255, post the results here. You can actually close this task yourself if you care to. In any case, appreciate any update. Thank you!

[EDIT]
Just checked - in the test file you submitted, eyebrows, eyelashes are all scaled at 0.019 in X, Y, and Z, putting your test file in the scope of #71255. Is that the commonality with all the other files you are having trouble with?

So, to recap: 1. CPU Rendering & Cycles - OK 2. GPU Rendering & Cycles: NVIDIA/CUDA - OK 3. GPU Rendering & Cycles: NVIDIA/OPTIX - Problems with some files (Specifically hair? Specifically with **resized** hair? ~~Or are there other kinds of files (non-hair) with issues?~~ [Edit - doubtful]) Your issue bears a strong resemblance to #71255 **Particle Hair not showing as expected in Cycles viewport/rendering due to optix rendering** which was recently closed by @pmoursnv, the lead developer on Blender - Optix integration. The fix lives in the [alpha 2.82 Blender, available as an experimental download (daily build) ](https://builder.blender.org/download/), but not in the recently released 2.81 Blender. Take a look at #71255 and check whether the blender files that are not rendering for you involve resized objects. If so, this issue of yours is probably a recurrance of that bug. You might care to download a daily build of 2.82 alpha and see if the issue goes away in the experimental build. Optix is a Work In Progress. The tracker task is #69800; you may wish to subscribe to that task and, if time permits, help out in Optix testing, if you care to. There is a benefit to get Optix running: NVIDIA RTX hardware provides very fast, very high quality, renders. If you confirm that you are a victim of #71255, post the results here. You can actually close this task yourself if you care to. In any case, appreciate any update. Thank you! **[EDIT]** Just checked - in the test file you submitted, eyebrows, eyelashes are all scaled at 0.019 in X, Y, and Z, putting your test file in the scope of #71255. Is that the commonality with all the other files you are having trouble with?
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Joe Williamsen self-assigned this 2019-11-24 17:14:06 +01:00
Author

I went ahead and tried the file in 2.82, and it renders as expected - even when scaled - so not exactly the same problem as in #71255, but probably related (I didn't resize my model after applying hair - I did forget to freeze transforms before applying hair, though).

I'm going to do as you suggest and subscribe to the OptiX tracker task and close this bug. Thanks for taking the time to look at this and help me untangle it. If this occurs again, I'll spend more time trying to figure out what's happening.

Thanks again, Garry ;)

I went ahead and tried the file in 2.82, and it renders as expected - even when scaled - so not exactly the same problem as in #71255, but probably related (I didn't resize my model after applying hair - I *did* forget to freeze transforms before applying hair, though). I'm going to do as you suggest and subscribe to the OptiX tracker task and close this bug. Thanks for taking the time to look at this and help me untangle it. If this occurs again, I'll spend more time trying to figure out what's happening. Thanks again, Garry ;)
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#71799
No description provided.