DiscussionsIssue archiveOCCT:Visualization

Archived issue #0027764

Visualization - add functionality for animation of 3D camera and interactive objects

Open CASCADEOCCT:Visualizationclosed34 public notes

Search issues

Description

It is supposed to add possibility to animate view camera and interactive objects.

Steps to reproduce

tests/v3d/anim

Public activity

34 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Aug 10 22:43:21 2016 +0300

    0027764: Visualization - add functionality for animation of 3D camera and interactive objects
    
    -Added TKMotion toolkit - it allows to perform animated elements
    -Added vanimation test command and test cases into tests/v3d/motion.
02Commenter 5
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 5
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 4
Dear kgv,

could you please review the patch in CR27764?
05Commenter 5
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
07Commenter 5
Branch [archived branch] has been created by Commenter 2.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Aug 11 11:28:41 2016 +0300

    0027764: Visualization - add functionality for animation of 3D camera and interactive objects
    
    Added class AIS_Animation.
    Added Draw Harness command vanimation.
08Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
09Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
10Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
11Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
12Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
13Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
14Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
15Commenter 2
Updated patch in branch CR27764_1 is ready for review.
16Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
17Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
18Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
19Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
20Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
21Commenter 21
Branch CR27764_1 reviewed without remarks, ready for testing.
22Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
23Commenter 23
Dear Commenter 3,
Branch CR27764_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms on Release mode.
[revision removed]

There are following compilation errors:

Linux:
http://jenkins-test-07.nnov.opencascade.com:8080/view/CR27764_1-master/job/CR27764_1-master-OCCT-Debian70-64-opt-compile/3/parsed_console/
/dn54/builds/CR27764_1-master/Debian70-64-opt/OCCT/src/AIS/AIS_AnimationObject.cxx:76:104: error: cannot convert ‘Graphic3d_ZLayerSettings::IsImmediate’ from type ‘Standard_Boolean (Graphic3d_ZLayerSettings::)()const {aka bool (Graphic3d_ZLayerSettings::)()const}’ to type ‘const Standard_Boolean {aka const bool}’
/dn54/builds/CR27764_1-master/Debian70-64-opt/OCCT/src/AIS/AIS_AnimationObject.cxx:77:8: error: in argument to unary !
make[2]: *** [src/TKV3d/CMakeFiles/TKV3d.dir/__/AIS/AIS_AnimationObject.cxx.o] Error 1

Windows:
http://jenkins-test-07.nnov.opencascade.com:8080/view/CR27764_1-master/job/CR27764_1-master-OCCT-Windows-64-VC10-opt-compile/1/parsed_console/
27>..\..\..\src\AIS\AIS_AnimationObject.cxx(76): error C3867: 'Graphic3d_ZLayerSettings::IsImmediate': function call missing argument list; use '&Graphic3d_ZLayerSettings::IsImmediate' to create a pointer to member

MacOS:
http://jenkins-test-07.nnov.opencascade.com:8080/view/CR27764_1-master/job/CR27764_1-master-OCCT-MacOS-opt-compile/1/parsed_console/
[user path removed]/builds/CR27764_1-master/MacOS-opt/OCCT/src/AIS/AIS_AnimationObject.cxx:76:104: error: reference to non-static member function must be called; did you mean to call it with no arguments?
  const Standard_Boolean isImmediate = myContext->CurrentViewer()->ZLayerSettings (myObject->ZLayer()).IsImmediate;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
                                 ()
1 error generated.
24Commenter 24
Dear kgv,
Branch [archived branch] has been rejected due to:
- compilation errors
25Commenter 5
Branch [archived branch] has been updated forcibly by Commenter 2.

[revision removed]
26Commenter 2
The compilation error after rebase should be fixed now.
27Commenter 27
Dear Commenter 3,
Branch CR27764_1 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 : 1145

Regressions/Differences/Improvements:
http://occt-tests/CR27764_1-master-OCCT/Debian70-64/summary.html
http://occt-tests/CR27764_1-master-OCCT/Windows-64-VC10/summary.html
Failed:
  bugs vis bug24623_3, bug25532
  v3d ivtk bgcolor, bug27567, detect, display_mode, erase, select, selection_mode

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

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

http://occt-tests/CR27764_1-master-OCCT/Debian70-64/v3d/anim/rotate.html
http://occt-tests/CR27764_1-master-OCCT/Windows-64-VC10/v3d/anim/rotate.html
v3d anim rotate: OK

http://occt-tests/CR27764_1-master-OCCT/Debian70-64/v3d/anim/scale.html
http://occt-tests/CR27764_1-master-OCCT/Windows-64-VC10/v3d/anim/scale.html
v3d anim scale: OK

http://occt-tests/CR27764_1-master-OCCT/Debian70-64/v3d/anim/translate.html
http://occt-tests/CR27764_1-master-OCCT/Windows-64-VC10/v3d/anim/translate.html
v3d anim translate: OK

Testing on Linux:
occt component :
Total MEMORY difference: 90425141 / 90255347 [+0.19%]
Total CPU difference: 19320.909999999836 / 19222.429999999847 [+0.51%]
products component :
Total MEMORY difference: 30010063 / 30089650 [-0.26%]
Total CPU difference: 5293.329999999975 / 5340.149999999966 [-0.88%]

Testing on Windows:
occt component :
Total MEMORY difference: 57226121 / 57220230 [+0.01%]
Total CPU difference: 18481.20446849853 / 18211.026336598778 [+1.48%]
products component :
Total MEMORY difference: 21310516 / 21272088 [+0.18%]
Total CPU difference: 5353.611117799969 / 5194.536898099958 [+3.06%]

There are following differences in images found by testdiff.
http://occt-tests/CR27764_1-master-OCCT/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR27764_1-master-OCCT/Windows-64-VC10/diff-Windows-64-VC10-image.html
IMAGE v3d glsl msaa: msaa.png differs
IMAGE v3d glsl tiles: tiles.png differs
IMAGE v3d glsl double_precision: double_precision.png differs
28Commenter 28
Dear kgv,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
29Commenter 5
Branch [archived branch] has been updated by Commenter 2.

[revision removed]


Detailed log of new commits:

Author: Commenter 2
Date: Tue Oct 25 20:55:23 2016 +0300

    v3d/ivtk test group does not call vfit anymore.
    
    Fixed misprint in test cases bugs/vis/bug24623_3 and bug25532.

30Commenter 2
Regressions should be fixed now - test cases have been corrected.

Image difference is OK - redundant Fit All is not called anymore for groups v3d/masterials and v3d/glsl and this is for good
(final screenshots now provide more correct state).

31Commenter 31
Dear Commenter 3,
fixed test cases are OK.
32Commenter 32
Dear Commenter 3,
Branch CR27764_1 is TESTED.
33Commenter 5
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]
34Commenter 5
Branch [archived branch] has been deleted by Commenter 2.

[revision removed]

Related records