Texture faces display white in 3D view, when used as a Particle Object #35810

Closed
opened 2013-06-20 19:16:27 +02:00 by Wayne Campbell · 16 comments

%%%Windows 7, Nvidia GTX580
Blender Version 2.67b

This is a minor display problem in the 3D view. A textured plane appears properly textured in the 3D view. But if the plane is used as a particle object its textures disappear in the 3D view and it is displayed pure white. This occurs only after saving and reloading the file.

I've attached screenshots and a sample Blend file. Set the particle object to 'none', reload the file, and the textures reappear.

Wayne%%%

%%%Windows 7, Nvidia GTX580 Blender Version 2.67b This is a minor display problem in the 3D view. A textured plane appears properly textured in the 3D view. But if the plane is used as a particle object its textures disappear in the 3D view and it is displayed pure white. This occurs only after saving and reloading the file. I've attached screenshots and a sample Blend file. Set the particle object to 'none', reload the file, and the textures reappear. Wayne%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%I had the same problem (both BI and cycles), is happening to the emitter object but also to the "dupli object" you use for particles (or hairs).%%%

%%%I had the same problem (both BI and cycles), is happening to the emitter object but also to the "dupli object" you use for particles (or hairs).%%%

%%%This happens also when the object is used duplicated with 'dupliverts'. I attached a similar sample file (BugDemo2.blend).
To see the bug alternate between 'None' and 'Verts' and save, reopen the file.%%%

%%%This happens also when the object is used duplicated with 'dupliverts'. I attached a similar sample file (BugDemo2.blend). To see the bug alternate between 'None' and 'Verts' and save, reopen the file.%%%

Added subscriber: @Sergey

Added subscriber: @Sergey

I couldn't reproduce the issue using 2.69 release and current development builds. Do you mind checking with recent blender version and updating instructions ifneeded?

I couldn't reproduce the issue using 2.69 release and current development builds. Do you mind checking with recent blender version and updating instructions ifneeded?
Author

I am still seeing the problem at 2.69 r60995 ( the current release build I think ).

If a textured mesh is used as a particle object, its textures won't appear in the 3D view after the file has been saved and reloaded.

The attached file, BugDemo.Blend, has a textured mesh 'Plane' ( face textures applied using a UV map ) . Such texturing would normally appear in the 3D view. However as soon as I assign Plane as a particle object on the larger EmissionPlane mesh, then save and reload the file, the texturing on 'Plane' disappears. This 'invisible texturing' occurs fairly universally for me, whenever a textured mesh is used as a particle object. And oddly, the issue doesn't occur until the file is saved and reloaded.

To demonstrate the problem:

  1. Open the attached file you will see that the object Plane appears not textured ( but it is. )
  2. Select object EmissionPlane and change its ParticleSettings.render_type to None
  3. Save the blend file and reload it.
  4. Now Plane appears properly textured.

To reverse the problem:

  1. change EmissionPlane's ParticleSettings.render_type back to Object
  2. The Plane still appears properly textured.
  3. Save and reload the file.
  4. Now texturing has disappeared from Plane.

It might be just me - my PC setup etc ( Windows 7, Nvidia GTX580 ). Anyway its a minor enough problem, affecting appearance in the 3D view only.

Thanks for looking at it.

Wayne

I am still seeing the problem at 2.69 r60995 ( the current release build I think ). If a textured mesh is used as a particle object, its textures won't appear in the 3D view after the file has been saved and reloaded. The attached file, BugDemo.Blend, has a textured mesh 'Plane' ( face textures applied using a UV map ) . Such texturing would normally appear in the 3D view. However as soon as I assign Plane as a particle object on the larger EmissionPlane mesh, then save and reload the file, the texturing on 'Plane' disappears. This 'invisible texturing' occurs fairly universally for me, whenever a textured mesh is used as a particle object. And oddly, the issue doesn't occur until the file is saved and reloaded. To demonstrate the problem: 1. Open the attached file you will see that the object Plane appears not textured ( but it is. ) 2. Select object EmissionPlane and change its ParticleSettings.render_type to None 3. Save the blend file and reload it. 4. Now Plane appears properly textured. To reverse the problem: 5. change EmissionPlane's ParticleSettings.render_type back to Object 6. The Plane still appears properly textured. 7. Save and reload the file. 8. Now texturing has disappeared from Plane. It might be just me - my PC setup etc ( Windows 7, Nvidia GTX580 ). Anyway its a minor enough problem, affecting appearance in the 3D view only. Thanks for looking at it. Wayne
Sergey Sharybin self-assigned this 2014-02-04 19:33:29 +01:00

Really weird. Could totally see the issue on linux now, but everything worked fine when i've been testing the file in my windows box. Hrrrm...

Will look into it.

Really weird. Could totally see the issue on linux now, but everything worked fine when i've been testing the file in my windows box. Hrrrm... Will look into it.

Develoepr note:
Doublechecked on windows and textures indeed seems correct. Do have some suspecions about textures not working in GL display lists. Will look further.

Develoepr note: Doublechecked on windows and textures indeed seems correct. Do have some suspecions about textures not working in GL display lists. Will look further.

Added subscriber: @brecht

Added subscriber: @brecht

Here's the patch which solves the issue: http://www.pasteall.org/49303/diff

However not sure why exactly this doesn't work. As in is it expected that OGL will texture objects nicely when calling displists?

@brecht, can you please have a look as well?

Here's the patch which solves the issue: http://www.pasteall.org/49303/diff However not sure why exactly this doesn't work. As in is it expected that OGL will texture objects nicely when calling displists? @brecht, can you please have a look as well?

My best guess that this is a bug in the graphics driver or some invalid OpenGL state that we are using, but it's not clear which one. In principle textures should work with display lists, but I wouldn't be surprised if the particular way we used them has issues.

I'd consider this a workaround but I think it's reasonable until we do bigger OpenGL drawing changes, display lists are deprecated in new OpenGL versions anyway.

My best guess that this is a bug in the graphics driver or some invalid OpenGL state that we are using, but it's not clear which one. In principle textures should work with display lists, but I wouldn't be surprised if the particular way we used them has issues. I'd consider this a workaround but I think it's reasonable until we do bigger OpenGL drawing changes, display lists are deprecated in new OpenGL versions anyway.

This issue was referenced by blender/blender-addons-contrib@6a4f2fd552

This issue was referenced by blender/blender-addons-contrib@6a4f2fd552f48db76d19f94b3d4262712b7f3e7b

This issue was referenced by 6a4f2fd552

This issue was referenced by 6a4f2fd552f48db76d19f94b3d4262712b7f3e7b

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 6a4f2fd552.

Closed by commit 6a4f2fd552.
Author

I can confirm the fix. I downloaded this morning's daily build:

blender-2.69-39ad2cd-win64.zip 76M Thu Feb 6 02:28:43 2014

and found the problem to be resolved.

Thanks!

I can confirm the fix. I downloaded this morning's daily build: blender-2.69-39ad2cd-win64.zip 76M Thu Feb 6 02:28:43 2014 and found the problem to be resolved. Thanks!
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
6 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#35810
No description provided.