Hair with a bitmap texture renders incorrect #62758

Closed
opened 2019-03-20 00:16:21 +01:00 by Yegor · 6 comments

System Information
Operating system: Mint
Graphics card: GTX1080ti + GTX780

Blender Version
Broken: 2.80 latest, 2.79 latest from buildbot
Worked: 2.79b, 02a7e875d7 (from the 10th of March 2019)

Short description of error
Alarm! Alarm! Can't render hairs with a bitmap texture anymore. Procedural textures work.
I assigned a random texture on Suzanne. It's from a dog model, but nevermind. The texture pattern on the hair must be the same as on the surface, but it's messed up.
The same behavior is with the children particles involved. I guess, there is a broken mapping for the hairs happening.
hair_texture_bug1.png

hair_texture_bug2.png

Exact steps for others to reproduce the error
Hit render in the attached file

hair_texture_bug.blend

**System Information** Operating system: Mint Graphics card: GTX1080ti + GTX780 **Blender Version** Broken: 2.80 latest, 2.79 latest from buildbot Worked: 2.79b, 02a7e875d74b (from the 10th of March 2019) **Short description of error** Alarm! Alarm! Can't render hairs with a bitmap texture anymore. Procedural textures work. I assigned a random texture on Suzanne. It's from a dog model, but nevermind. The texture pattern on the hair must be the same as on the surface, but it's messed up. The same behavior is with the children particles involved. I guess, there is a broken mapping for the hairs happening. ![hair_texture_bug1.png](https://archive.blender.org/developer/F6851993/hair_texture_bug1.png) ![hair_texture_bug2.png](https://archive.blender.org/developer/F6851995/hair_texture_bug2.png) **Exact steps for others to reproduce the error** Hit render in the attached file [hair_texture_bug.blend](https://archive.blender.org/developer/F6851999/hair_texture_bug.blend)
Author

Added subscriber: @YegorSmirnov

Added subscriber: @YegorSmirnov

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Brecht Van Lommel was assigned by Sebastian Parborg 2019-03-20 11:01:55 +01:00

Seems to work fine with eevee however with cycles I get this assert:

blender: blender/intern/cycles/render/attribute.h:75: ccl::float2* ccl::Attribute::data_float2(): Assertion `data_sizeof() == sizeof(float2)' failed.

If I ignore the assert, I get the result posed above (incorrect color mapping of the hairs)

Seems to work fine with eevee however with cycles I get this assert: ``` blender: blender/intern/cycles/render/attribute.h:75: ccl::float2* ccl::Attribute::data_float2(): Assertion `data_sizeof() == sizeof(float2)' failed. ``` If I ignore the assert, I get the result posed above (incorrect color mapping of the hairs)

This issue was referenced by blender/cycles@effc6d1ba8

This issue was referenced by blender/cycles@effc6d1ba8397460adcb145f9a89310484dab1af

This issue was referenced by c4908c8e8c

This issue was referenced by c4908c8e8c6e29c09acadf5d2eec129fdacab5db

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
4 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#62758
No description provided.