Hair Primitive as Triangles + Hair shader with a texture = crash
Open, ConfirmedPublic

Description

System Information
ubuntu 16.04 64bits and Nvidia Titan Black

Blender Version
Broken: 2.78a and master hash d2f4900
Worked: (optional)

Short description of error
When a texture is used in a Cycles material for Hair; trying Triangles primitive for strands will crash Blender.

With "cull back-faces" option disabled, Triangles primitive helps to have renders using a hair transmission shader without fireflies compared to other primitive types.
But we can not use it at all if it can not support materials with textures.

Exact steps for others to reproduce the error

In attached blend, switch 3DView to rendered view.
You can see hair strands colored by texture.
Switch hair primitive to Triangles. --> Blender crashes.

You can reopen the file, delete the texture in material and change primitive to Triangles.
If you try to render at that moment. Blender does not crash.

Problem also occurs with procedural textures.

hair_prim_texture.blend

Details

Type
Bug
Joey Ferwerda (TheOnlyJoey) triaged this task as "Confirmed" priority.Thu, Feb 9, 8:05 PM

Can confirm, tested on Ubuntu 16.10 rendering on CPU.

Confirmed on Windoze 7 64 bit too - rendering on GPU (AMD R7 360)

Memoryblock MORE THAN 1 MEMORYBLOCK CORRUPT: error in header
Error: EXCEPTION_ACCESS_VIOLATION

Add Comment