Packed textures not loaded (pink render) when OSL enabled #38886

Closed
opened 2014-02-28 09:13:05 +01:00 by Zsolt Stefan · 4 comments

System Information
Win7 64bit, NVidia Quadro 2000

Blender Version
Broken: 2.69 (newer versions as well)

Short description of error
Clicking on the "Open Shading Language" checkbox in the Render settings (Cycles), packed textures are not loaded any more during rendering, and the materials are shown in pink. There is no feedback or error message why this happens.

I had this with a new user, where the troubleshooting took several hours(!), until we had found that disabling OSL brings the textures back. It was probably accidentally enabled earlier during the project, didn't change anything, it was left on, until one day a material with a packed texture was added.

Exact steps for others to reproduce the error

  • Turn on cycles.
  • Add a new material, enable nodes, add an image texture to the colour input, add any mapping type.
  • Pack the textures (File -> External Data -> Pack into .blend file)
  • Render => Works
  • Enable Open Shading Language in the render settings.
  • Render => Pink render, texture is missing.
**System Information** Win7 64bit, NVidia Quadro 2000 **Blender Version** Broken: 2.69 (newer versions as well) **Short description of error** Clicking on the "Open Shading Language" checkbox in the Render settings (Cycles), packed textures are not loaded any more during rendering, and the materials are shown in pink. There is no feedback or error message why this happens. I had this with a new user, where the troubleshooting took several hours(!), until we had found that disabling OSL brings the textures back. It was probably accidentally enabled earlier during the project, didn't change anything, it was left on, until one day a material with a packed texture was added. **Exact steps for others to reproduce the error** - Turn on cycles. - Add a new material, enable nodes, add an image texture to the colour input, add any mapping type. - Pack the textures (File -> External Data -> Pack into .blend file) - Render => **Works** - Enable Open Shading Language in the render settings. - Render => **Pink render, texture is missing.**
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @ZsoltStefan

Added subscriber: @ZsoltStefan

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-02-28 10:23:31 +01:00

Packed textures are only supported for non-OSL. This is because OSL uses OIIO directly and there's no clear way to pipe memory buffer there. And even if there was a way to open image from memory using OIIO you'll need to implement own filtering functions.

This is a nice feature to support, but not considered a bug.

Packed textures are only supported for non-OSL. This is because OSL uses OIIO directly and there's no clear way to pipe memory buffer there. And even if there was a way to open image from memory using OIIO you'll need to implement own filtering functions. This is a nice feature to support, but not considered a bug.
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#38886
No description provided.