Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#32537] Inconsistent behaviour of Texture Baker

Date:
2012-09-11 18:39
Priority:
3
State:
Open
Submitted by:
Gaia Clary (gaiaclary)
Assigned to:
Ton Roosendaal (ton)
Category:
Rendering
Status:
Reopened
Relates to:
Duplicates:
Patches:
 
Summary:
Inconsistent behaviour of Texture Baker
Detailed description
The attached .blend file contains a simple cube with a material based on a magic texture and an image texture.
the image texture is also assigned to the cube as UV texture. This example uses GLSL mode.

The attached .blend file also contains a step by step description how to reproduce the (inconsistent?) behaviour.

The system actually behaves as i expect it to behave as long as i do NOT store it as .blend file.
When i store it as .blend file and reopen the stored .blend file, then the behaviour of the bake tool changes.

I also recorded a video to demonstrate what I see in my computer as i am unsrure if maybe i just see
some error due to a wrong build:

http://www.youtube.com/watch?v=yNxjz67Q4sE&feature=youtu.be

If anything is unclear, please ask me back. I tried hard to explain the issue in the nlender irc this afternoon.
And it looks like i am confusing myself with that issue. Please if its not a bug, can you give me a short
explanation what is going wrong here ?

thanks!
-Gaia-

Followup

Message
  • Date: 2012-09-12 05:14
  • Sender: Campbell Barton
  • The issue is that using a texture for rendering and baking causes a feedback loop (baking to same image thats being rendered).

    This wasn't being detected, it still fails but it reports there is a feedback loop now.

    fixed r50541.

    closing.
  • Date: 2012-09-13 19:21
  • Sender: Gaia Clary
  • There is still something wrong:

    - open the attached file "cube_feedback_loop.blend"
    the cube displays black (expected)
    - Hover the mouse over the Bake button.
    - Click the Bake button but do NOT(!) move the mouse.
    The texture renders black, no error reported.
    - Wait for some time (seconds, minutes, whatever ...) without moving the mouse.
    - Move the mouse a tiny bit.
    An Error message appears in the info bar: "Feedback loop detected"

    I expect to see the error message right after i clicked on the Bake-Button,
    and independent from mouse moves.

    My environment is:

    - Windows 7 64 bit (32 bit blender release build with cmake and visual c++ express)
    - blender 50577
    - nvidia gtx480
  • Date: 2012-09-14 08:38
  • Sender: Campbell Barton
  • This sounds like a UI glitch - rather than an issue with baking, keeping open since its still a bug.
  • Date: 2013-05-17 18:32
  • Sender: Ton Roosendaal
  • I will revert this, and assign to self for investigation. The 'add mousemove' in a thread job is not the solution, it is causing modal tools to go bezerk.

    (for example grab gets 20+ mousemoves per second now when a preview render job runs).
 

Attached Files:

Name Date Download
cube.blend 2012-09-11 18:39 Download
cube_feedback_loop.blend 2012-09-13 19:21 Download

Changes:

Field Old Value Date By
status_idClosed2013-05-17 18:32ton
close_date2012-09-28 06:002013-05-17 18:32ton
assigned_tocampbellbarton2013-05-17 18:32ton
StatusFixed / Closed2013-05-17 18:32ton
close_dateNone2012-09-28 06:00campbellbarton
StatusReopened2012-09-28 06:00campbellbarton
status_idOpen2012-09-28 06:00campbellbarton
status_idClosed2012-09-13 19:21gaiaclary
close_date2012-09-12 05:142012-09-13 19:21gaiaclary
StatusFixed / Closed2012-09-13 19:21gaiaclary
File Added22030: cube_feedback_loop.blend2012-09-13 19:21gaiaclary
close_dateNone2012-09-12 05:14campbellbarton
assigned_tonone2012-09-12 05:14campbellbarton
StatusNew2012-09-12 05:14campbellbarton
status_idOpen2012-09-12 05:14campbellbarton
File Added22014: cube.blend2012-09-11 18:39gaiaclary