DiscussionsIssue archiveOCCT:Visualization

Archived issue #0026542

Visualization - Finalize support of D3D

Open CASCADEOCCT:Visualizationclosed9 public notes

Search issues

Description

The patch integrated in frames of #26392 is not complete:

- Not documented
- Not tested (it needs Direct3D SDK if Visual Studio < 2012 is used)
- Not included in CMake build procedures
- Fails to build with VC++ below 12 due to use of C++11 initializer lists in D3DHost_Workspace.cxx

Public activity

9 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Commenter 3
Date: Thu Aug 13 15:21:57 2015 +0300

    Added CMake build procedures, reset values of unset fields of myD3dParams and myCurrMode structures
02Commenter 3
Dear abv, could you please review CR26542.
If SDK is installed it uses d3d9.h from Microsoft SDKs, if not - there will be error for missing include file.
03Commenter 2
Branch [archived branch] has been created by Commenter 4.

[revision removed]


Detailed log of new commits:

Author: Commenter 3
Date: Thu Aug 13 15:21:57 2015 +0300

    0026542: Visualization - Finalize support of D3D
    
    D3DHost_View - fix compilation issues on old msvc compilers.
    CMake - add TKD3DHost.

Author: Commenter 4
Date: Sat Oct 10 22:18:47 2015 +0300

    0026734: Visualization, D3DHost_View - drop outdated UserDraw interfaces
04Commenter 4
Dear Commenter 1,

please check if patch in branch CR26542_1 is sufficient to build TKD3DHost toolkit within regressions tests. Patch adds new USE_D3D option to CMake list and requires either Windows SDK v8.0+ (used by VS2012+) or Direct3D SDK.

Please also check if samples\CSharp\OCCTProxy_D3D is listed within automated samples building checks.

05Commenter 1
Kirill,

src/TKD3DHost/CMakeLists.txt of CR26542_1 contains string :

include(${OCCT_SOURCE_DIR}/adm/cmake/BuildToolkit.cmake)

but BuildToolkit.cmake was removed fix for issue 26529
06Commenter 4
Dear Ivan,

could you please update the patch in accordance with changes from #0026529?
07Commenter 1
Kirill,

I corrected string from
include(${OCCT_SOURCE_DIR}/adm/cmake/BuildToolkit.cmake)
to
include(${OCCT_SOURCE_DIR}/adm/cmake/occt_toolkit.cmake)
TKD3DHost toolkit is built successfully.

I take it to IR
08Commenter 2
Branch [archived branch] has been deleted by Commenter 4.

[revision removed]
09Commenter 2
Branch [archived branch] has been deleted by Commenter 4.

[revision removed]