2.60 RC2 - ObjectColor Problem when animate material alpha #28929

Closed
opened 2011-10-15 13:10:25 +02:00 by Tobias Lijsen · 15 comments

Category: Conversion

%%%hy,
alpha-textured object with ObjectColor=checked
turns black when insert animation key in material
i uploaded a blendfile - instructions are inside.
%%%

**Category**: Conversion %%%hy, alpha-textured object with ObjectColor=checked turns black when insert animation key in material i uploaded a blendfile - instructions are inside. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Follow the instructions and the material doesnt turn black for me.
64bit linux - GeForce 450 GTS%%%

%%%Follow the instructions and the material doesnt turn black for me. 64bit linux - GeForce 450 GTS%%%

%%%Follow the instructions and the material turn black for me.
64bit linux - GeForce GT 240%%%

%%%Follow the instructions and the material turn black for me. 64bit linux - GeForce GT 240%%%

%%%I can confirm the problem, you have to start the game engine to see it. Same issue existed in 2.59, so it doesn't seem to be caused by the texture face changes.%%%

%%%I can confirm the problem, you have to start the game engine to see it. Same issue existed in 2.59, so it doesn't seem to be caused by the texture face changes.%%%
Author

%%%i have the problem on win64 - gtx 560 ti
have done hours of testing, it doesnt work under any circumstances

maybe theres another way to animate the alpha-value in bge - but i think what i tryed is the usual way - if you want to make paticles and such things%%%

%%%i have the problem on win64 - gtx 560 ti have done hours of testing, it doesnt work under any circumstances maybe theres another way to animate the alpha-value in bge - but i think what i tryed is the usual way - if you want to make paticles and such things%%%
Author

%%%i reviewed the yofranky effects/lava file (once again) and there is alpha animation - but no logic brick triggers it - but there is a script (vertex/fragment-shader)

do this shader trigger the anim ? is this the magic point or a workaround to the bug ?%%%

%%%i reviewed the yofranky effects/lava file (once again) and there is alpha animation - but no logic brick triggers it - but there is a script (vertex/fragment-shader) do this shader trigger the anim ? is this the magic point or a workaround to the bug ?%%%

%%%Moved from Blender 2.5 Bug Tracker to Game Engine%%%

%%%Moved from Blender 2.5 Bug Tracker to Game Engine%%%

%%%This is a very strange bug.

  1. do entirely undo the keyframe effect you can do: bpy.data.materials['Material'].animation_data_clear()
  2. I reproduced part of the problem (the object invisible) without alpha and all that - see alpha_ipo.blend. In fact it happens if you create an ipo for any property of the material
  • or do bpy.data.materials['Material'].animation_data_create().
  1. a workaround for either problems is to create a new material slot in the material, even when there is no material assigned to it, it fixes the problem.

So the problem is related with what the BGE is doing when adt is found.%%%

%%%This is a very strange bug. 1) do entirely undo the keyframe effect you can do: bpy.data.materials['Material'].animation_data_clear() 2) I reproduced part of the problem (the object invisible) without alpha and all that - see alpha_ipo.blend. In fact it happens if you create an ipo for any property of the material - or do bpy.data.materials['Material'].animation_data_create(). 3) a workaround for either problems is to create a new material slot in the material, even when there is no material assigned to it, it fixes the problem. So the problem is related with what the BGE is doing when adt is found.%%%

%%%The alpha_ipo.blend file is no longer breaking, but alpha still doesn't seem to animate properly, even in Multitexture (Material ipos aren't really supported in GLSL mode).%%%

%%%The alpha_ipo.blend file is no longer breaking, but alpha still doesn't seem to animate properly, even in Multitexture (Material ipos aren't really supported in GLSL mode).%%%

Dalai, could you reassess this bug? The instructions in the file do not cause a problem. I can also get the material alpha to animate. Now, Blender's viewport doesn't properly update, which can cause some problems in the BGE, but that sounds like a different problem.

Dalai, could you reassess this bug? The instructions in the file do not cause a problem. I can also get the material alpha to animate. Now, Blender's viewport doesn't properly update, which can cause some problems in the BGE, but that sounds like a different problem.
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

With new commit about GLSL material IPOs (including alpha) I think that this commit can be closed.
Are you all agreed?

With new commit about GLSL material IPOs (including alpha) I think that this commit can be closed. Are you all agreed?

Yeah, I think this can be closed.

Yeah, I think this can be closed.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closing report.

Thanks you all for your time.

Closing report. Thanks you all for your time.
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
7 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#28929
No description provided.