Ping pong action works wrong when GLSL mode and Sun buffer shadow are enabled in BGE. #41094

Closed
opened 2014-07-16 05:08:31 +02:00 by Satoshi Yamasaki · 15 comments

System Information
Windows 8.1 pro x64, GTX 660

Blender Version
Broken: blender-2.71.2 dbc79e7 (201-07-15 01:36), 5c4180d (2014-07-15 11:09), blender-2.71-f46223f-win64.zip (Thu Jul 17 15:47:11 2014)
Worked: Official 2.71, ecc2e29 (2014-07-01 16:25), blender-2.71-81c3fc9-win64-vc9.zip (Thu Jul 17 02:24:48 2014)

Short description of error
When you use Action actuator with GLSL drawmode and Sun Lamp with buffered shadow, Ping pong playback mode works wrong in BGE. Other playback mode looks fine.

Exact steps for others to reproduce the error
Play the attached file (FlipAnimBug.blend) and push space key. You'll see open the door animation, but when you push space key again, the animation will not be played backward (close animation).

Thanks,

**System Information** Windows 8.1 pro x64, GTX 660 **Blender Version** Broken: blender-2.71.2 dbc79e7 (201-07-15 01:36), 5c4180d (2014-07-15 11:09), blender-2.71-f46223f-win64.zip (Thu Jul 17 15:47:11 2014) Worked: Official 2.71, ecc2e29 (2014-07-01 16:25), blender-2.71-81c3fc9-win64-vc9.zip (Thu Jul 17 02:24:48 2014) **Short description of error** When you use Action actuator with GLSL drawmode and Sun Lamp with buffered shadow, Ping pong playback mode works wrong in BGE. Other playback mode looks fine. **Exact steps for others to reproduce the error** Play the attached file ([FlipAnimBug.blend](https://archive.blender.org/developer/F98053/FlipAnimBug.blend)) and push space key. You'll see open the door animation, but when you push space key again, the animation will not be played backward (close animation). Thanks,
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @SatoshiYamasaki

Added subscriber: @SatoshiYamasaki
Satoshi Yamasaki changed title from Ping pong action works wrong when GLSL mode and Sun buffer shadow are enabled. to Ping pong action works wrong when GLSL mode and Sun buffer shadow are enabled in BGE. 2014-07-16 05:11:19 +02:00

Added subscriber: @raco

Added subscriber: @raco

Very strange bug. Point, Hemi and Area work, but Sun and Spot won't. You could wonder how this is related to PingPong action mode or the Keyboard Sensor, because with an Always Sensor set to a frequency it works too.

Very strange bug. Point, Hemi and Area work, but Sun and Spot won't. You could wonder how this is related to PingPong action mode or the Keyboard Sensor, because **with an Always Sensor set to a frequency it works** too.
Author
Member

Thank you mont29 and raco.

@raco
I don't think Keyboard Sensor is related.
You can see correct behaivor of the logic in wireframe or solid draw mode.

Thank you mont29 and raco. @raco I don't think Keyboard Sensor is related. You can see correct behaivor of the logic in wireframe or solid draw mode.

@SatoshiYamasaki I'm not saying that there's a problem with the Keyboard Sensor, only that it could be related, because with an Always Sensor there's no problem at all.

@SatoshiYamasaki I'm not saying that there's a problem with the Keyboard Sensor, only that it could be related, because with an Always Sensor there's no problem at all.
Author
Member

Added two verifies with builds from Official buildbot. It works fine with VC9 compliled(blender-2.71-81c3fc9-win64-vc9.zip), but VC2013 one (blender-2.71-f46223f-win64.zip) works wrong. It might have a problem with new VC2013 if it only occurs in Windows...

@raco I see. I'm sorry if I offended you.

Added two verifies with builds from Official buildbot. It works fine with VC9 compliled(blender-2.71-81c3fc9-win64-vc9.zip), but VC2013 one (blender-2.71-f46223f-win64.zip) works wrong. It might have a problem with new VC2013 if it only occurs in Windows... @raco I see. I'm sorry if I offended you.

@SatoshiYamasaki not offended at all ;)

@SatoshiYamasaki not offended at all ;)

Added subscriber: @Moguri

Added subscriber: @Moguri

This is most likely related to 315609ec0c.

This is most likely related to 315609ec0c.
Author
Member

I'm sorry that I've never post any replies in a long time...
First, about VC2013 build, it's not related because the VC9 build in buildbot is just not updated.

@raco
Thank you. :)

@Moguri
Ok, Could you fix it?

I'm sorry that I've never post any replies in a long time... First, about VC2013 build, it's not related because the VC9 build in buildbot is just not updated. @raco Thank you. :) @Moguri Ok, Could you fix it?

Added subscriber: @pohjan

Added subscriber: @pohjan

Issue happens only when buffered shadow present. Spotlight without shadow works, sun lamp without shadow works too.

I set (continue) to off and now it work any lamp types, but fails to play animation rare times at randomly.
Sometimes I see fails without shadows too. (When press space repeatly)

Seems somekind timing problem.

Tested with daily builds.
Windows 7
Nvidia Gt560Ti

Issue happens only when buffered shadow present. Spotlight without shadow works, sun lamp without shadow works too. I set (continue) to off and now it work any lamp types, but fails to play animation rare times at randomly. Sometimes I see fails without shadows too. (When press space repeatly) Seems somekind timing problem. Tested with daily builds. Windows 7 Nvidia Gt560Ti
Author
Member

Changed status from 'Open' to: 'Resolved'

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

I Confirmed this problem is solved in 2.73a.
Thank you moguri for your great decision !

@pohjan
Thank you for verifing and Sorry for late reply....

I Confirmed this problem is solved in 2.73a. Thank you moguri for your great decision ! @pohjan Thank you for verifing and Sorry for late reply....
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
4 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#41094
No description provided.