DiscussionsIssue archiveOCCT:Visualization

Archived issue #0025539

Visualization, TKOpenGl - support environmental texture within built-in GLSL programs

Open CASCADEOCCT:Visualizationclosed12 public notes

Search issues

Description

To provide complete replacement to FFP, built-in GLSL programs should support environment textures and texture transformation matrix.

Steps to reproduce

pload ALL
vinit View1
vcaps -ffp off
vsetdispmode 1

psphere S1 5
vdisplay S1
vfit

vtextureenv on 5

Public activity

12 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: dbp
Date: Wed Jan 14 18:58:43 2015 +0300

    0025539: Visualization, TKOpenGl - support environmental texture within built-in GLSL programs
02Commenter 2
Dear kgv,

please review the patch in branch CR25539.
03Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


No new revisions were added by this update.
04Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: dbp
Date: Thu Mar 19 18:43:59 2015 +0300

    0025539: Visualization, TKOpenGl - support environmental texture within built-in GLSL programs

05Author
Please test the patch.
06Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
07Commenter 7
Dear Commenter 1,
Branch CR25539_1 was rebased on current master of occt git-repository.
08Commenter 8
Dear Commenter 1,
Branch CR25539_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (11 on master)
Windows: 4 (4 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 88707859 / 88552987 [+0.17%]
Total CPU difference: 54050.02000000026 / 53186.43000000024 [+1.62%]
products component :
Total MEMORY difference: 23120549 / 23198252 [-0.33%]
Total CPU difference: 15900.49999999999 / 16301.109999999973 [-2.46%]

Testing on Windows:
occt component :
Total MEMORY difference: 57332266 / 56590852 [+1.31%]
Total CPU difference: 48169.984375 / 15117.136504099708 [+218.64%]
products component :
Total MEMORY difference: 15077574 / 15023928 [+0.36%]
Total CPU difference: 16024.34375 / 5841.473045099963 [+174.32%]

There are following differences in images found by testdiff.
http://occt-tests/CR25539-1-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE caf presentation K1: K1.png differs
IMAGE caf presentation H1: H1.png differs
IMAGE caf presentation I1: I1.png differs
IMAGE caf presentation G1: G1.png differs
IMAGE caf presentation J1: J1.png differs
09Commenter 9
Dear Commenter 1,

The following differences are not a problem. They are caused by specifics of testing system (and probably can change from time to time):

IMAGE caf presentation K1: K1.png differs
IMAGE caf presentation H1: H1.png differs
IMAGE caf presentation I1: I1.png differs
IMAGE caf presentation G1: G1.png differs
IMAGE caf presentation J1: J1.png differs
10Author
Dear Commenter 1,

please switch this bug to "tested".
11Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]
12Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records