Opened 2 years ago

Closed 2 years ago

#9892 closed defect (fixed)

lighting glitches during "fly" command

Reported by: david.haselbach@… Owned by: Tom Goddard
Priority: high Milestone:
Component: Graphics Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Session attached with named views v1, v2, v3 and soft lighting.

If I just use "view" to go gradually from one to the other, the lighting remains correct:

view v1
view v2 frames 120

However, if I use "fly" to go between these named views, the lighting is weird:

fly v1 120 v2

Attachments (1)

3views.cxs (674.1 KB ) - added by Elaine Meng 2 years ago.
session made in daily build dated 9/27/23

Download all attachments as: .zip

Change History (2)

by Elaine Meng, 2 years ago

Attachment: 3views.cxs added

session made in daily build dated 9/27/23

comment:1 by Tom Goddard, 2 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

The fly command interpolated rotation positions as quaternions and then didn't normalized the interpolated quaternion, leading to the wrong motion and wrong lighting. Alarming that no one notice the horrible behavior since I added the fly command in 2021. It was producing non-sensical curved path motions.

Note: See TracTickets for help on using tickets.