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

Blender 2.6 Bug Tracker: Browse

[#23922] Sculpting - Textured display draws incorrectly

Date:
2010-09-21 02:12
Priority:
3
State:
Closed
Submitted by:
Reuben Martin (fishb8)
Assigned to:
Nicholas Bishop (nicholasbishop)
Category:
Opengl / Gfx
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Sculpting - Textured display draws incorrectly
Detailed description
When the display is in textured mode, the shading is not updated while sculpting.

Tried attaching a screen capture video to demonstrate, but apparently 9M is too big.


Note: BOTH SpaceView3D.viewport_shade and SpaceView3D.show_textured_solid cause this problem. i.e. you don't have to enable both, just one or the other will cause similar problems.

Linux x86_64
SVN r32033

Followup

Message
  • Date: 2010-09-21 11:13
  • Sender: ronan ducluzeau
  • Ubuntu 10.04 64 bits, rev 32027

    Shading is correctly updated, here.
    When I change material properties in sculpt mode.

    When I draw on a texture in UVediting screen and come back to Default in sculpt mode.
    Textured solid only display texture and object color.

    When I move the object in sculpt mode, shadows are updated correctly.

    Try to describe what you was doing during your video capture.
  • Date: 2010-09-21 12:12
  • Sender: ronan ducluzeau
  • Sorry, I made a mistake on revision number.
    rev32037
  • Date: 2010-09-21 20:30
  • Sender: Reuben Martin
  • I captured a smaller frame size and lowered frame rate. Let's see if I can upload it now.
  • Date: 2010-09-22 07:00
  • Sender: Nathan Letwory
  • Cannot redo on Windows 7 64bit, 2x ATi HD 5550 in soft crossfire, r32035.

    What videocard and drivers do you use?

    Assigning to our sculpting guru
  • Date: 2010-09-23 01:05
  • Sender: Reuben Martin
  • Nvidia Quadro FX 580 rev. a1 (G96)

    Drivers version 260.19.06
  • Date: 2010-09-27 11:49
  • Sender: Mickaël Guédon
  • I can't reproduce it.

    SVN r.32144 Ubuntu 10.04 x86-64, GTX275 (Driver 195.36.24).
  • Date: 2010-10-21 02:16
  • Sender: Nicholas Bishop
  • I was also unable to reproduce (fglrx, ubuntu 64-bit.) Can you provide a .blend file that will demonstrate the problem?
  • Date: 2010-10-21 06:05
  • Sender: Reuben Martin
  • Ok, I've recreated the same setup I showed in the screen capture. I wasn't sure if it would work since there was a possibility that re-opening the file would reset OpenGL related things, making it hard to demonstrate the bug. But I can confirm that the file does open up in the same messed-up shading state as when I saved it. If it's something that is system/driver/hardware specific, then it probably won't open up the same way on another machine. I'm including a screen-shot to show what it looks like opened on my machine. The part where I grabbed the mesh and pulled up a spike in sculpt mode should be showing dark, since the light is on the other side, but the shading is the same for the faces as it was before grabbing it with the sculpt tool.
  • Date: 2010-10-21 06:14
  • Sender: Reuben Martin
  • attached blend. had to compress it to get it to upload...
  • Date: 2010-10-22 05:06
  • Sender: Nicholas Bishop
  • Thanks, your .blend does indeed reproduce this issue for me.
  • Date: 2010-12-14 04:31
  • Sender: Nicholas Bishop
  • Fixed in SVN. Tested with various drawing modes, let me know if you find any that still give incorrect results.
  • Date: 2010-12-15 07:22
  • Sender: Reuben Martin
  • Found another instance of the same issue.

    I do the same as in the earlier demonstration where I use the grab tool in sculpting while in textured display mode. This time after doing the sculpt-grab action, I Ctrl-Z to undo it. The sculpt action is actually undone, but the mesh is not redrawn to reflect that. Tabbing into edit mode and back fixes the mesh display.

    Only happens when in textured mode.

    Probably need to add a call to update the mesh normals after an undo is done in sculpt mode.
 

Attached Files:

Name Date Download
screen_cap.ogv 2010-09-21 20:30 Download
ShadingBugSnapshot.png 2010-10-21 06:05 Download
ShadingBug.tar.bz 2010-10-21 06:14 Download

Changes:

Field Old Value Date By
StatusReady2010-12-14 04:31nicholasbishop
status_idOpen2010-12-14 04:31nicholasbishop
close_dateNone2010-12-14 04:31nicholasbishop
details When the display is in textured mode, the shading is not updated while sculpting. Tried attaching a screen capture video to demonstrate, but apparently 9M is too big. Note: BOTH SpaceView3D.viewport_shade and SpaceView3D.show_textured_solid cause this problem. i.e. you don\'t have to enable both, just one or the other will cause similar problems. Linux x86_64 SVN r320332010-12-14 04:31nicholasbishop
ResolutionInvestigate2010-10-22 05:06nicholasbishop
File Added13205: ShadingBug.tar.bz2010-10-21 06:14fishb8
File Added13204: ShadingBugSnapshot.png2010-10-21 06:05fishb8
ResolutionNone2010-09-22 07:00jesterking
assigned_tonone2010-09-22 07:00jesterking
File Added12793: screen_cap.ogv2010-09-21 20:30fishb8