DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032862

Visualization, Graphic3d_TextureMap - add 3D texture definition

Open CASCADEOCCT:Visualizationclosed20 public notes

Search issues

Description

Currently, Graphic3d_TextureMap is limited to 1D, 2D and Cubemap textures. In some cases, 3D textures might be needed.

Steps to reproduce

test opengl textures texture_3d 1

Public activity

20 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Mar 2 15:21:22 2022 +0300

    0032862: Visualization, Graphic3d_TextureMap - add 3D texture definition
    
    Image_PixMap has been extended to support definition of 3D bitmap (as an array of 2D slices).
    
    Graphic3d_TypeOfTexture enumeration values have been renamed to include full enum prefix.
    Added Graphic3d_TypeOfTexture_3D redirecting to GL_TEXTURE_3D.
    OpenGl_Texture::Init() has been extended to allow initialization of 3D texture.
02Commenter 1
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Mar 2 17:46:51 2022 +0300

    Graphic3d_TOT_2D_MIPMAP has been deprecated in favor of dedicated Graphic3d_TextureRoot::SetMipMaps().

Author: Author
Date: Wed Mar 2 16:34:00 2022 +0300

    Graphic3d_Texture2Dmanual merged into [archived branch] and marked as deprecated alias.
03Commenter 1
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Mar 2 17:54:39 2022 +0300

    Added Graphic3d_Texture3D class.
04Commenter 1
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Mar 2 20:28:53 2022 +0300

    vtexture - added argument -3d for uploading 3D texture.
05Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Mar 2 15:21:22 2022 +0300

    0032862: Visualization, Graphic3d_TextureMap - add 3D texture definition
    
    Image_PixMap has been extended to support definition of 3D bitmap (as an array of 2D slices).
    
    Graphic3d_TypeOfTexture enumeration values have been renamed to include full enum prefix.
    Added Graphic3d_TypeOfTexture_3D redirecting to GL_TEXTURE_3D.
    OpenGl_Texture::Init() has been extended to allow initialization of 3D texture.
    
    Graphic3d_Texture2Dmanual merged into [archived branch] and marked as deprecated alias.
    Graphic3d_TOT_2D_MIPMAP has been deprecated in favor of dedicated Graphic3d_TextureRoot::SetMipMaps().
    
    Added Graphic3d_Texture3D class.
    vtexture - added argument -3d for uploading 3D texture.
07Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
10Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
11Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
12Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
13Author
Patch is ready for review
- OCCT: branch CR32862_1.
- OCC Products: branch CR32862_1.

http://jenkins-test-occt.nnov.opencascade.com/view/CR32862_1-master-KGV/
14Commenter 14
The patch was reviewed
15Commenter 15
16Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
17Author
Commenter 2, please check updated patch (the same branches CR32862_1/CR32862_1).
18Commenter 18
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18394.330000000256 / 18467.180000000375 [-0.39%]
Products
Total CPU difference: 11708.150000000112 / 11716.630000000077 [-0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 20348.171875 / 20359.046875 [-0.05%]
Products
Total CPU difference: 13154.5625 / 13140.734375 [+0.11%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
19Commenter 1
Branch [archived branch] has been deleted by Participant.

[revision removed]
20Commenter 1
Branch [archived branch] has been deleted by Participant.

[revision removed]