DiscussionsIssue archiveOCCT:Visualization

Archived issue #0031315

Visualization - marker texture is lost after multi-textured object

Open CASCADEOCCT:Visualizationclosed10 public notes

Search issues

Description

Marker texture is suddenly lost in immediate layer on multi-textured model.

Steps to reproduce

pload MODELING VISUALIZATION
vclear
vinit View1
box b 1 2 3
vdisplay -dispMode 1 b
vtexture b -tex0 3 -tex1 4
vfit
vpoint p0 -1 0 0
vaspects p0 -setMarkerSize 5
if { [vreadpixel 15 310 -rgb -name] != "BLACK" } { puts "Error" }


test de_mesh gltf_read helmet 1
vselprops dynHighlight -dispMode 1
vmoveto 200 200

then press middle mouse button and perform dragging in the viewer (keeping dynamic highlighting but without selecting object).

Public activity

10 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sun Feb 16 15:04:17 2020 +0300

    0031315: Visualization - marker texture is lost after multi-textured object
    
    OpenGl_Context::BindTextures() now iterates over pair of texture sets
    considering inconsistent texture unit ranges.
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Author
06Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sun Feb 16 21:53:08 2020 +0300

    0031373: Samples - provide sample combining OCCT and 3 viewer

07Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 8
The patch was reviewed
09Commenter 1
Fix has been tested in framework of IR-2020-02-22

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: 17017.87000000002 / 17024.610000000095 [-0.04%]
Products
Total CPU difference: 12533.37000000014 / 12614.3600000001 [-0.64%]
Windows-64-VC14:
OCCT
Total CPU difference: 18397.9375 / 18472.453125 [-0.40%]
Products
Total CPU difference: 14483.234375 / 14513.703125 [-0.21%]


Image differences :
No differences that require special attention

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

[revision removed]