Hair particles disappear from render and viewport with more than 7 steps #58934

Closed
opened 2018-12-07 14:11:47 +01:00 by Veronica · 19 comments

Operating system: Win 7 64bit/Win 10
Graphics card: GTX 970/GTX 1060

Tested on two computers.

Broken: 2.80 beta latest build

There are some issues when it comes to rendering hair particles in a final image. It works smoothly in viewport (doesn't even crash at all for me, at least with the steps I did), but when I hit render it appears like the hair may look incomplete (half of it missing from the head). Strand render and adaptive render both display the same result.

Also, hair converted from curves with the Hair Tools by bartoszstyperek doesn't show up at all; appearing completely invisible in final render.

Steps: Create particle hair (or convert scene from Cycles), style it/edit settings, apply material and check all is fine in viewport, then hit render and see what happens.

First blend I attached is an old file, with particle hair generated from scratch. Second blend has hair particles created from curves with the hair tools mentioned above. First case has the hair rendered only partially, second case has completely missing hair.

UPDATE: The problem is now fixed now thanks to Wo!262's suggestion. While initially it seemed mostly an odd occurance with the final rendering, it seems like the real issue was in the number of steps I added (9). The scenes were directly imported from Cycles and edited for Eevee, without changing any important value except the shape type (from strand to strip) and scaling. Apparently 7 steps are the best value for Eevee otherwise it won't work. Title changed to fit the discussion better.

hairtest_eevee.blend haifromcurves_eevee.blend

Operating system: Win 7 64bit/Win 10 Graphics card: GTX 970/GTX 1060 Tested on two computers. Broken: 2.80 beta latest build There are some issues when it comes to rendering hair particles in a final image. It works smoothly in viewport (doesn't even crash at all for me, at least with the steps I did), but when I hit render it appears like the hair may look incomplete (half of it missing from the head). Strand render and adaptive render both display the same result. Also, hair converted from curves with the Hair Tools by bartoszstyperek doesn't show up at all; appearing completely invisible in final render. Steps: Create particle hair (or convert scene from Cycles), style it/edit settings, apply material and check all is fine in viewport, then hit render and see what happens. First blend I attached is an old file, with particle hair generated from scratch. Second blend has hair particles created from curves with the hair tools mentioned above. First case has the hair rendered only partially, second case has completely missing hair. UPDATE: The problem is now fixed now thanks to Wo!262's suggestion. While initially it seemed mostly an odd occurance with the final rendering, it seems like the real issue was in the number of steps I added (9). The scenes were directly imported from Cycles and edited for Eevee, without changing any important value except the shape type (from strand to strip) and scaling. Apparently 7 steps are the best value for Eevee otherwise it won't work. Title changed to fit the discussion better. [hairtest_eevee.blend](https://archive.blender.org/developer/F5870161/hairtest_eevee.blend) [haifromcurves_eevee.blend](https://archive.blender.org/developer/F5870168/haifromcurves_eevee.blend)
Author

Added subscriber: @Nika-2

Added subscriber: @Nika-2

Added subscriber: @JoseConseco

Added subscriber: @JoseConseco

I have gtx 660, windows 10 64bit, lated daily 2.8 build. And this both scenes works ok for me.

I have gtx 660, windows 10 64bit, lated daily 2.8 build. And this both scenes works ok for me.
Author

I'm lost then. Because with both GPUs and OS on desktop and laptop (updated drivers and latest build) I get the same result: no hair in final render. I wonder if there's something in the settings that I need to tweak?

I'm lost then. Because with both GPUs and OS on desktop and laptop (updated drivers and latest build) I get the same result: no hair in final render. I wonder if there's something in the settings that I need to tweak?
Author

Just typing this for a friend who tested my scenes but didn't create an account here yet: she has the same issues with a GTX 1080ti on Windows 10. Not sure why the hair renders normaly with F12 for you Jose, but clearly this is something that causes troubles on a lot of other systems.

Just typing this for a friend who tested my scenes but didn't create an account here yet: she has the same issues with a GTX 1080ti on Windows 10. Not sure why the hair renders normaly with F12 for you Jose, but clearly this is something that causes troubles on a lot of other systems.

Added subscriber: @moisessalvador

Added subscriber: @moisessalvador

I can confirm and I have a gtx 1060 6gb as well (blender-2.80.0-git.e79bb957fc3-windows64)

However, I can also replicate it on viewport if I set the steps of the hair to be the same. Although the viewport softmax is 7, you can type 9 directly.

On the hairtest file, reducing the hair steps to 7 makes it render correctly, but also reducing the count of children, or changing the children from interpolated to simple. In the hairfromcurves file though, only reducing the steps seems to work. Which is weird because it has way less hairs overall, at first I thought it's like a memory issue, but I can't explain why in the second file reducing child count doesn't work

Anyway, since it happens also on the viewport, and it's related to hair resolution, child interpolation and/or memory I suggest changing the title. In the meantime, reduce the hair steps from 9 to 7 as a temporary workaround, 9 seems a little bit overkill

I can confirm and I have a gtx 1060 6gb as well (blender-2.80.0-git.e79bb957fc3-windows64) However, I can also replicate it on viewport if I set the steps of the hair to be the same. Although the viewport softmax is 7, you can type 9 directly. On the hairtest file, reducing the hair steps to 7 makes it render correctly, but also reducing the count of children, or changing the children from interpolated to simple. In the hairfromcurves file though, only reducing the steps seems to work. Which is weird because it has way less hairs overall, at first I thought it's like a memory issue, but I can't explain why in the second file reducing child count doesn't work Anyway, since it happens also on the viewport, and it's related to hair resolution, child interpolation and/or memory I suggest changing the title. In the meantime, reduce the hair steps from 9 to 7 as a temporary workaround, 9 seems a little bit overkill
Author

Thank you for testing it out Wo.
I have other files that give me the same issue, so I will definitely test it out as you suggested by reducing children/steps and write a report to let you guys know how that went.

Regarding the viewport, I actually have no problems with it. The hair renders nicely there for me... the partially or fully missing hair only happens if I render with F12. However, if you don't view it properly in the viewport either, then yes I guess the title needs to be changed accordingly.

I'll keep you posted!

Thank you for testing it out Wo. I have other files that give me the same issue, so I will definitely test it out as you suggested by reducing children/steps and write a report to let you guys know how that went. Regarding the viewport, I actually have no problems with it. The hair renders nicely there for me... the partially or fully missing hair only happens if I render with F12. However, if you don't view it properly in the viewport either, then yes I guess the title needs to be changed accordingly. I'll keep you posted!
Veronica changed title from Hair particles do not render properly in final image to Hair particles do not render properly 2018-12-10 14:16:56 +01:00

Even after changing the viewport steps to 9 you don't see it happening on the viewport?

Even after changing the viewport steps to 9 you don't see it happening on the viewport?
Author

Ah I see what you mean! I didn't change the steps in the viewport yet.

Yes, you are correct! Switching from 7 to 9 completely removes the hair from viewport as well, while bringing it down to 7 from 9 also renders it in final image. Tbh I don't think 9 are required at this point.... 7 seems to be more than enough to produce a good result.

Thank you so much for pointing this out! I didn't really expect the children/steps could be an issue considering Cycles always worked wonders no matter the settings. I guess it's not surprising since 2.8 is still in beta.

Should anything else pop up regarding this matter I'll add more comments.

Ah I see what you mean! I didn't change the steps in the viewport yet. Yes, you are correct! Switching from 7 to 9 completely removes the hair from viewport as well, while bringing it down to 7 from 9 also renders it in final image. Tbh I don't think 9 are required at this point.... 7 seems to be more than enough to produce a good result. Thank you so much for pointing this out! I didn't really expect the children/steps could be an issue considering Cycles always worked wonders no matter the settings. I guess it's not surprising since 2.8 is still in beta. Should anything else pop up regarding this matter I'll add more comments.

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Clément Foucault was assigned by Sebastian Parborg 2018-12-10 14:26:43 +01:00

I can reproduce this on Linux (using a AMD 290x).

I can reproduce this on Linux (using a AMD 290x).
Veronica changed title from Hair particles do not render properly to Hair particles disappear from render and viewport with more than 7 steps 2018-12-10 14:29:12 +01:00
Clément Foucault was unassigned by Veronica 2018-12-10 14:29:12 +01:00
Author

Added subscriber: @fclem

Added subscriber: @fclem

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sebastian Parborg self-assigned this 2019-01-04 16:54:30 +01:00

I guess I'll mark this as resolved then (?)

I guess I'll mark this as resolved then (?)

Added subscriber: @zutxita

Added subscriber: @zutxita

It also happens to me, I have an AMD and a NVIDIA GTX 1060 6Gb. I don't see hair in viewport, set to strip. With the strands I see it black, in eevee. With the principled hair BSDF

system-info.txt

It also happens to me, I have an AMD and a NVIDIA GTX 1060 6Gb. I don't see hair in viewport, set to strip. With the strands I see it black, in eevee. With the principled hair BSDF [system-info.txt](https://archive.blender.org/developer/F8285463/system-info.txt)

Added subscriber: @spacesheep011

Added subscriber: @spacesheep011

This comment was removed by @spacesheep011

*This comment was removed by @spacesheep011*
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
6 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#58934
No description provided.