MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029517Open CASCADE[OCCT] OCCT:Visualizationpublic2018-02-19 22:312018-06-29 21:21
Reporterkgv 
Assigned Tobugmaster 
PrioritynormalSeverityfeature 
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.3.0Fixed in Version[OCCT] 7.3.0 
Summary0029517: Visualization - introduce AlphaMode property defining alpha value handling options
DescriptionCurrently, OCCT supports only two modes for handling Alpha value - with and without Blending. Moreover, the only way to enable Blending is specifying transparency to Material, which doesn't allow managing Blending in proper way when color is defined by texture.

In addition, it is not possible enabling Alpha-test for discarding fragments when using texture with 0/1 transparency values.

It is proposed introducing a new property AlphaMode defining a way how Alpha value should be treated.
TagsNo tags attached.
Test case numberv3d glsl alpha_mask
Attached Files

- Relationships
related to 0029097closedbugmaster Visualization - allow picking Graphic3d_TypeOfShadingModel per-object 

-  Notes
(0074070)
git (administrator)
2018-02-20 16:33

Branch CR29517 has been created by kgv.

SHA-1: 1cf22a08e6a65059bb0c24dfe20d9aca1d4ce1bd


Detailed log of new commits:

Author: kgv
Date: Tue Feb 20 16:32:52 2018 +0300

    0029517: Visualization - introduce AlphaMode property defining alpha value handling options
(0074071)
git (administrator)
2018-02-20 16:45

Branch CR29517 has been updated forcibly by kgv.

SHA-1: 15812d33ed8729ff3a4645498c8f40b211fdcf4d
(0074077)
kgv (developer)
2018-02-20 20:38

Patch is ready for review.

http://jenkins-test-10.nnov.opencascade.com:8080//view/CR29517-master-KGV [^]
(0074089)
san (developer)
2018-02-21 16:27

Branch CR29517 reviewed without remarks, ready for testing.
(0074093)
bugmaster (administrator)
2018-02-21 17:57

Combination -
OCCT branch : CR29517 SHA - 15812d33ed8729ff3a4645498c8f40b211fdcf4d
Products branch : master SHA - d452be1d47046de2f00debc4c4fe2166f6a9904d
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:
Debian70-64:
OCCT
Total CPU difference: 18207.389999999574 / 18347.729999999596 [-0.76%]
Products
Total CPU difference: 7482.589999999998 / 7477.560000000005 [+0.07%]
Windows-64-VC10:
OCCT
Total CPU difference: 17613.79210819854 / 17722.010001898587 [-0.61%]
Products
Total CPU difference: 8028.529064599998 / 8043.3491595999785 [-0.18%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0074166)
git (administrator)
2018-02-28 17:32

Branch CR29517 has been updated by kgv.

SHA-1: 5d4c4462ec32e8f76456f223213c95042d98f52c


Detailed log of new commits:

Author: kgv
Date: Wed Feb 28 17:28:58 2018 +0300

    # regression fix for 0029517

(0074167)
kgv (developer)
2018-02-28 17:34

Dear bugmaster - please fetch the last commit into IR (to be squashed with original commit) which fixes a regression within obsolete rendering path.
(0074184)
bugmaster (administrator)
2018-03-01 16:57

Done
(0074296)
git (administrator)
2018-03-06 15:50

Branch CR29517 has been deleted by kgv.

SHA-1: 5d4c4462ec32e8f76456f223213c95042d98f52c

- Related Changesets
occt: master c40eb6b9
Timestamp: 2018-02-20 13:32:52
Author: kgv
Committer: bugmaster
Details ] Diff ]
0029517: Visualization - introduce AlphaMode property defining alpha value handling options
mod - src/AIS/AIS_RubberBand.cxx Diff ] File ]
mod - src/Graphic3d/FILES Diff ] File ]
add - src/Graphic3d/Graphic3d_AlphaMode.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_AspectFillArea3d.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_RenderingParams.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_MaterialState.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_SetOfShaderPrograms.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderProgram.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Text.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Workspace.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Workspace.hxx Diff ] File ]
mod - src/Shaders/Declarations.glsl Diff ] File ]
mod - src/Shaders/DeclarationsImpl.glsl Diff ] File ]
mod - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx Diff ] File ]
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff ] File ]
mod - src/ViewerTest/ViewerTest.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff ] File ]
add - tests/v3d/glsl/alpha_mask Diff ] File ]

- Issue History
Date Modified Username Field Change
2018-02-19 22:31 kgv New Issue
2018-02-19 22:31 kgv Assigned To => kgv
2018-02-19 22:31 kgv Relationship added related to 0029097
2018-02-20 16:33 git Note Added: 0074070
2018-02-20 16:45 git Note Added: 0074071
2018-02-20 20:38 kgv Note Added: 0074077
2018-02-20 20:38 kgv Assigned To kgv => san
2018-02-20 20:38 kgv Status new => resolved
2018-02-21 16:27 san Note Added: 0074089
2018-02-21 16:27 san Assigned To san => bugmaster
2018-02-21 16:27 san Status resolved => reviewed
2018-02-21 17:26 bugmaster Test case number => v3d glsl alpha_mask
2018-02-21 17:57 bugmaster Note Added: 0074093
2018-02-21 17:57 bugmaster Status reviewed => tested
2018-02-28 17:32 git Note Added: 0074166
2018-02-28 17:34 kgv Note Added: 0074167
2018-03-01 16:57 bugmaster Note Added: 0074184
2018-03-04 15:34 bugmaster Changeset attached => occt master c40eb6b9
2018-03-04 15:34 bugmaster Status tested => verified
2018-03-04 15:34 bugmaster Resolution open => fixed
2018-03-06 15:50 git Note Added: 0074296
2018-06-29 21:16 aiv Fixed in Version => 7.3.0
2018-06-29 21:21 aiv Status verified => closed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker