]> OCCT Git - occt-copy.git/commit
0025382: Visualization, TKOpenGl - improved video recording capability
authorisk <isk@opencascade.com>
Sat, 20 Feb 2016 05:16:21 +0000 (08:16 +0300)
committerisk <isk@opencascade.com>
Fri, 18 Mar 2016 09:45:03 +0000 (12:45 +0300)
commit54573faf41425ff7e6aa0c2818e2c81474725961
treee56dc59e8bd08539c479f84c46f17a223814a5f8
parenta9cc8b1a3b6cb54dee38a260eb455048951bcef0
0025382: Visualization, TKOpenGl - improved video recording capability

OSD_Timer::ElapsedTime() - fix accumulation of the error.
Provide new command vanimation for animation playline definition.

Extend vanimation command with video recorder

* * *
pload MODELING VISUALIZATION
box b1 1 2 3
vinit View1
vclear
vaxo
vsetdispmode 1
vdisplay b1
vfit
vsetlocation b1 0 1 0

proc anim1 {thePts thePtsLoc theName} { vsetlocation b1 [expr sin($thePtsLoc)] cos($thePtsLoc)] 0 }
vanim anim1 -reset -onRedraw anim1
vanim anim  -reset -addSlice 0.0 30.0 anim1
vanim -play anim -playFps 30 -record test.mkv -recWidth 1920 -recHeight 1080

Added command vlogo

Ported on current master.

Removed vlogo command and logo layer item as unused.
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_AviCommands.cxx