View Issue Details

IDProjectCategoryView StatusLast Update
0030374Open CASCADEOCCT:Visualizationpublic2019-06-18 16:27
Reporterkgv Assigned Toapn  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
PlatformWindowsOSVC++ 2015 
Product Version7.2.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0030374: Visualization, TKOpenGl - activate texture unit Graphic3d_TextureUnit_1 after OpenGl_LayerList::renderTransparent()
DescriptionOpenGl_LayerList::renderTransparent() uses 2 texture units when OIT enabled, which are unbound in the following way:
      theOitAccumFbo->ColorTexture (1)->Unbind (aCtx, Graphic3d_TextureUnit_1);
      theOitAccumFbo->ColorTexture (0)->Unbind (aCtx, Graphic3d_TextureUnit_0);


This code is OK within OCCT itself, but combination with external OpenGL renderer (e.g. Qt) might produce unexpected results due to this renderer not switching texture unit to 0 before usage.
Steps To ReproduceN/A
TagsNo tags attached.
Test case numberNot needed

Attached Files

  • cadass_manip_oit_KO.png (42,163 bytes)

Relationships

related to 0030748 closedkgv Community Visualization - Marker displayed in immediate layer ruins QT Quick view controls 
child of 0027925 closedbugmaster Open CASCADE Visualization - implement order-independent transparency algorithm within rasterization rendering 

Activities

kgv

2018-11-14 15:15

developer  

cadass_manip_oit_KO.png (42,163 bytes)

git

2018-11-14 15:21

administrator   ~0081089

Branch CR30374 has been created by kgv.

SHA-1: 7654af53ae2a5fac6e01d91e532ec0125c496d52


Detailed log of new commits:

Author: kgv
Date: Wed Nov 14 15:15:04 2018 +0300

    0030374: Visualization, TKOpenGl - activate texture unit Graphic3d_TextureUnit_1 after OpenGl_LayerList::renderTransparent()

kgv

2018-11-14 15:22

developer   ~0081090

Please take the patch, testing is not needed.

git

2018-11-18 11:53

administrator   ~0081143

Branch CR30374 has been deleted by inv.

SHA-1: 7654af53ae2a5fac6e01d91e532ec0125c496d52

Related Changesets

occt: master ce1c28b8

2018-11-14 12:15:04

kgv


Committer: apn Details Diff
0030374: Visualization, TKOpenGl - activate texture unit Graphic3d_TextureUnit_1 after OpenGl_LayerList::renderTransparent() Affected Issues
0030374
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File

Issue History

Date Modified Username Field Change
2018-11-14 15:15 kgv New Issue
2018-11-14 15:15 kgv Assigned To => kgv
2018-11-14 15:15 kgv File Added: cadass_manip_oit_KO.png
2018-11-14 15:21 git Note Added: 0081089
2018-11-14 15:22 kgv Note Added: 0081090
2018-11-14 15:22 kgv Assigned To kgv => bugmaster
2018-11-14 15:22 kgv Severity minor => trivial
2018-11-14 15:22 kgv Status new => resolved
2018-11-14 15:22 kgv Status resolved => reviewed
2018-11-14 15:26 kgv Relationship added child of 0027925
2018-11-14 15:26 kgv Product Version 7.3.0 => 7.2.0
2018-11-14 15:29 apn Test case number => Not needed
2018-11-14 15:29 apn Status reviewed => tested
2018-11-18 03:30 apn Changeset attached => occt master ce1c28b8
2018-11-18 03:30 apn Assigned To bugmaster => apn
2018-11-18 03:30 apn Status tested => verified
2018-11-18 03:30 apn Resolution open => fixed
2018-11-18 11:53 git Note Added: 0081143
2019-06-18 16:27 kgv Relationship added related to 0030748