Material/texture nodes cause rendering bug #24027

Closed
opened 2010-09-27 14:38:04 +02:00 by Johann M · 8 comments

%%%OS: Win XP pro 32
g-force 7950gtx

bug confirmed on
r31865 win xp 32
r32060 win xp 32
r32037 OSX 10.6.2

A complex Material node setup seems to cause rendering bugs.
The first few parts of the render render the geometry without the applied textures. This applies to normal and color influences, sometimes both are missing, sometimes only one.

Steps to reproduce:
download this file:
http://www.mediafire.com/download.php?lme6y3kaeeksgu6
open
render straight away without any modifacation to the file.

The first render should show the bug, default colors on objects on the first parts rendered.
The second render however should render fine.
Whith increasing file complexity the second render will be flawed aswell.

My guess is that there is a problem mapping textures to the mesh, the rendering seems to start before the mapping is complete.

This is backed up by the following effect:
The console puts out many mapalloc errors when the following steps are taken:
open the file mentioned above
close the open node editor
save the file
reopen
then render

The console should be flooded with errors and blender crashes shortly after.

BA thread with renders here:
http://blenderartists.org/forum/showthread.php?t=198090 %%%

%%%OS: Win XP pro 32 g-force 7950gtx bug confirmed on r31865 win xp 32 r32060 win xp 32 r32037 OSX 10.6.2 A complex Material node setup seems to cause rendering bugs. The first few parts of the render render the geometry without the applied textures. This applies to normal and color influences, sometimes both are missing, sometimes only one. Steps to reproduce: download this file: http://www.mediafire.com/download.php?lme6y3kaeeksgu6 open render straight away without any modifacation to the file. The first render should show the bug, default colors on objects on the first parts rendered. The second render however should render fine. Whith increasing file complexity the second render will be flawed aswell. My guess is that there is a problem mapping textures to the mesh, the rendering seems to start before the mapping is complete. This is backed up by the following effect: The console puts out many mapalloc errors when the following steps are taken: open the file mentioned above close the open node editor save the file reopen then render The console should be flooded with errors and blender crashes shortly after. BA thread with renders here: http://blenderartists.org/forum/showthread.php?t=198090 %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%You have a rotation around Y of 4225°. Set it to 265° and you're fine.

Obviously Blender could do this automagically too.%%%

%%%You have a rotation around Y of 4225°. Set it to 265° and you're fine. Obviously Blender could do this automagically too.%%%
Author

%%%Oh, didn't see that you've posted here aswell.

reducing the values to 0 does get rid of the error on the cubes but they still occur on the plane.
Its important to save and reopen the file after changing the values, the second render usually doesnt produce the error.
Also it seems that letting blender calculate the shader preview for every node material cuases it to render fine.

In my actual project file im using a much simpler node setup and only one node material.
It used to be similar to what the setup in the example file is like but now its really siplified but still produces the error occasionally. %%%

%%%Oh, didn't see that you've posted here aswell. reducing the values to 0 does get rid of the error on the cubes but they still occur on the plane. Its important to save and reopen the file after changing the values, the second render usually doesnt produce the error. Also it seems that letting blender calculate the shader preview for every node material cuases it to render fine. In my actual project file im using a much simpler node setup and only one node material. It used to be similar to what the setup in the example file is like but now its really siplified but still produces the error occasionally. %%%
Member

%%%The crash you see is most likely because you're exhausting your system memory, and going over the limits one process can have. On windows 32bit it's somewhere around 1.3GB, and your scene takes 1717MB to render ( bpy.wm.memory_statistics() gives you a somewhat low-level overview of memory allocation. )%%%

%%%The crash you see is most likely because you're exhausting your system memory, and going over the limits one process can have. On windows 32bit it's somewhere around 1.3GB, and your scene takes 1717MB to render ( bpy.wm.memory_statistics() gives you a somewhat low-level overview of memory allocation. )%%%
Member

%%%sorry, typo: bpy.ops.wm.memory_statistics()%%%

%%%sorry, typo: bpy.ops.wm.memory_statistics()%%%
Member

%%%And yet more adjustments: memory is that in use after rendering and saving blend first time over.%%%

%%%And yet more adjustments: memory is that in use after rendering and saving blend first time over.%%%
Member

%%%I think the problem here is that the node trees in use here hog awful large amounts of memory, which is problematic on at least 32bit systems. Anyway, the current best workaround is to just click in one field of mapping in material node and press enter (so no change, just trigger tree execution).

I further move this report to our todo, since it's not a trivial bug fix :/

http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Node_Materials

%%%

%%%I think the problem here is that the node trees in use here hog awful large amounts of memory, which is problematic on at least 32bit systems. Anyway, the current best workaround is to just click in one field of mapping in material node and press enter (so no change, just trigger tree execution). I further move this report to our todo, since it's not a trivial bug fix :/ http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Node_Materials %%%
Member

Changed status from 'Open' to: 'Archived'

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