Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25229] Rendered smoke sim is missing smoke on tiles if render window is minimized *NEEDS RE-TEST*
Date:
2010-12-14 22:39
Priority:
3
State:
Closed
Submitted by:
Randy Blose (
revolt_randy
)
Assigned to:
Janne Karhu (jhk)
Category:
Rendering
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Rendered smoke sim is missing smoke on tiles if render window is minimized *NEEDS RE-TEST*
Detailed description
Windows xp, Intel processor, blender r33530.
In the attached .blend file is a smoke sim setup. To duplicate this bug, bake the sim then start rendering at frame 41, so that the smoke is in front of the camera. Now in the middle of rendering one frame, minimize the render window, check the resulting image. Appears whatever tiles were rendered before minimizing the window render fine, un-rendered tiles are missing/incorrect renders. Actually, if the render window is covered with another window (say web browser) the effect is the same.
Followup
Message
Date
: 2010-12-15 00:15
Sender
:
Nathan Letwory
Assigning to our smoke/particles guy.
Date
: 2010-12-17 14:48
Sender
:
Janne Karhu
Hmm, I could reproduce this bug a couple of days ago, but can't anymore. This could have been fixed "by accident" in some of the commits since r33530, so can you please test again with a newer revision?
Date
: 2010-12-17 17:51
Sender
:
Randy Blose
Just tested with r33733 and problem still persists. I have changed the test .blend to better display the problem, the background is purple, smoke is red, and increased density to make it more visible. I started rendering on frame 41 - smoke was not visible at all, but at frame 42 it started to render, then I minimized the render window half way thru the render, then checked the image as saved by blender. Image and changed .blend attached. Thanks for the hard work and time!!
Randy
Date
: 2010-12-23 15:16
Sender
:
Guillaume Modard
I'm actually working with smoke sys, and I confirm this bug. But not only when render window is minimized.
Date
: 2011-01-13 20:06
Sender
:
Janne Karhu
Finally solved this, but it's much deeper than just smoke and minimizing render window. Any change that causes a redraw of the 3d view will recalculate the inverse object matrices (ob->imat) to global space. These matrices are used in many places in rendering, but in order for them to work properly they have to be in render view coordinates (the conversion is done before actual rendering is started in convertblender.c). So before the 3d view is redrawn everything is ok, but as soon as the redraw happens the matrices are not correct for rendering anymore.
Minimizing a render window will cause a 3d view redraw, but so will for example just simply rotating the scene. Volume textures use the inverse matrices, but so does "Object" texture mapping too, so for example any texture with that mapping will be rendered wrong after the redraw.
There are a many possible solutions. One is to use Brecht's "copy whole database for rendering", an other could be to store the inverse matrices into the render objects (ObjectRen) and only use those matrices in render code. However currently there are much worse issues with ui interactivity while rendering, and the solution to those problems will most probably also solve this issue, so I'll close this report for now as a todo, and add this report to the todo wiki page
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Rendering
.
Date
: 2011-02-28 16:47
Sender
:
Janne Karhu
Fix committed in r35266, so removing this from todo-list!
Attached Files:
Name
Date
Download
system-info.txt
2010-12-14 22:39
Download
AlienLife.blend
2010-12-14 22:39
Download
0042.png
2010-12-17 17:52
Download
SmokeBug.blend
2010-12-17 17:52
Download
Changes:
Field
Old Value
Date
By
Status
Todo / Closed
2011-02-28 16:47
jhk
status_id
Open
2011-01-13 20:06
jhk
close_date
None
2011-01-13 20:06
jhk
Status
New
2011-01-13 20:06
jhk
File Added
14139: SmokeBug.blend
2010-12-17 17:52
revolt_randy
File Added
14140: 0042.png
2010-12-17 17:52
revolt_randy
summary
Rendered smoke sim is missing smoke on tiles if render window is minimized
2010-12-17 14:48
jhk
assigned_to
none
2010-12-15 00:15
jesterking
File Added
14101: AlienLife.blend
2010-12-14 22:39
revolt_randy
File Added
14102: system-info.txt
2010-12-14 22:39
revolt_randy