0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D viewer

Add new C# sample which allow to render the OCCT scene to a Direct3D context in a WPF application.
DirectX SDK is required in order to build this sample.
This commit is contained in:
dln
2014-06-03 10:11:33 +04:00
committed by bugmaster
parent 2ab7a755c2
commit 15534713ba
115 changed files with 6289 additions and 48 deletions

View File

@@ -0,0 +1,27 @@
@echo off
if "%1" == "-h" (
echo Launch WPF sample as follows:
echo %~n0 ^[vc9^] ^[win32^|win64^] ^[Debug^|Release^]
echo By default configuration set in ..\..\custom.bat is used
echo Run %~n0 -h to get this help
exit /B
)
call "%~dp0..\..\env.bat" %1 %2 %3
set "EXEC=%~dp0\win%ARCH%\bin%CASDEB%\IE_WPF_D3D.exe"
if not exist "%EXEC%" goto err_exe
"%EXEC%"
goto eof
:err_exe
echo Executable %EXEC% not found.
echo Check that OCCT and sample are built with the selected configuration:
echo compiler=%VCVER% platform=win%ARCH% %3
exit /B
:eof