Archived issue #0028056

Draw Harness, ViewerTest - correct vanimation command to produce stable timestamp on seek

Open CASCADEOCCT:DRAWclosed6 public notes

Search issues

Description

The following command "vanim a -play 0.5 -duration 0" is expected to seek onto specified position and immediately stop playback (thus producing exactly single frame of animation).

However, current implementation produces unstable screenshots (e.g. with different timestamp on screenshot - making a noise in tests difference).

Steps to reproduce

test v3d anim propeller 1

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Nov 9 16:20:32 2016 +0300

    0028056: Draw Harness, ViewerTest - correct vanimation command to produce stable timestamp on seek
02Author
Patch is ready for review.
03Commenter 3
Branch CR28056 reviewed without remarks, ready for testing.
04Commenter 4
Dear BugMaster,
Branch CR28056 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 63 (63 on master)
Windows: 0 (0 on master)
MacOS : 1152

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR28056-master-OCCT/Debian70-64/v3d/anim/propeller.html
http://occt-tests/CR28056-master-OCCT/Windows-64-VC10/v3d/anim/propeller.html
v3d anim propeller: OK

Testing on Linux:
occt component :
Total MEMORY difference: 91156348 / 91884019 [-0.79%]
Total CPU difference: 21693.77000000018 / 21600.59000000031 [+0.43%]
products component :
Total MEMORY difference: 29962045 / 29935586 [+0.09%]
Total CPU difference: 5321.219999999974 / 5309.249999999963 [+0.23%]

Testing on Windows:
occt component :
Total MEMORY difference: 56588654 / 56597852 [-0.02%]
Total CPU difference: 20303.342948798385 / 19669.510885798518 [+3.22%]
products component :
Total MEMORY difference: 20822525 / 20790286 [+0.16%]
Total CPU difference: 5300.383576599972 / 5153.477434899959 [+2.85%]

There are no differences in images found by testdiff.
05Commenter 5
Dear BugMaster,
Branch CR28056 is TESTED.
06Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records