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

Blender 2.6 Bug Tracker: Browse

[#25806] VBOs and Textured Solid and Multiple Materials don't work together

Date:
2011-01-26 04:18
Priority:
3
State:
Closed
Submitted by:
Andrew Wall (lumpycow)
Assigned to:
Lukas Steiblys (imbusy)
Category:
None
Status:
Fixed / Closed
Relates to:
[#25882]
Duplicates:
Patches:
 
Summary:
VBOs and Textured Solid and Multiple Materials don't work together
Detailed description
Turning on the VBOs option in the preferences causes the texture to get messed up on the faces with the second multiple material assigned. Once you enable VBOs you may have to tab in and out of edit mode to see the issue.

To recreate the bug:

Unwrap the object, and open an image texture for the UV.
Add the same image as a texture on the material with UV coordinates.
Add a material slot so the object has 2 (multiple) materials.
Change the material color for one of the materials so you can see the difference without textures.
Assign one face to the second material.
Then enable VBOs option in the preferences.

The texture on the second material will get all messed up when the Textured Solid display option is selected and the 3dview is Solid Shaded.

Same thing happens with VBOs enabled when you go to texture paint mode, and use Multitexture or Texture Face display setting, and have textured shading for the 3dview turned on.

2.56 r34076 Official 2.56 release
2.56.0 r34454
2.56.0 r34481
Windows 7 64bit
Nvidia GTX 460

Followup

Message
  • Date: 2011-01-26 14:22
  • Sender: Ton Roosendaal
  • Lukas, could check this?

    I do know we had reports in the past that some gfx drivers versions don't like material switches inside objects. This was always a driver glitch...
    Andrew: you could check on driver settings (disable any optimizers you don't trust) and check if newer stable drivers exist.
  • Date: 2011-01-30 10:30
  • Sender: Antony Riakiotakis
  • It occurs only for multitexture/texface viewing. GLSL is correct.
  • Date: 2011-01-30 12:57
  • Sender: Andrew Wall
  • I was using an older driver(259.22) , I updated to the latest Nvidia Drivers(266.58) today, but the error still occurs with VBO's turned on. I am not sure, but it could be buggy OpenGL drivers for the gtx460, i have read that there are other performance issues with high poly in the 3D View.
  • Date: 2011-01-31 17:31
  • Sender: dan grauer
  • i have the same problem with a GTX 275. i will test the issue on a 9800GTX later. i have the driver settings on performance so all fancy stuff should be disabled.
  • Date: 2011-02-10 23:07
  • Sender: Antony Riakiotakis
  • solved, see patch #26018 ;) , also attached here for convenience
 

Attached Files:

Name Date Download
TexturedSolid_Bug.blend 2011-01-26 04:18 Download
texture_material.patch 2011-02-10 23:07 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-08 17:59imbusy
close_dateNone2011-03-08 17:59imbusy
StatusInvestigate2011-03-08 17:59imbusy
File Added14955: texture_material.patch2011-02-10 23:07psy-fi
assigned_tonone2011-01-26 14:22ton
StatusNew2011-01-26 14:22ton
File Added14718: TexturedSolid_Bug.blend2011-01-26 04:18lumpycow

Changes:

Blender 2.x BF release: Patches
   [#26018] #25806 bugfix (Relation: Patch for)