DiscussionsIssue archiveOCCT:Visualization

Archived issue #0025652

Visualization, TKOpenGl - RayTracing initialization failures are not properly reported

Open CASCADEOCCT:Visualizationclosed8 public notes

Search issues

Description

User is unable to provide sufficient information about Ray-Tracing initialization failures.

Steps to reproduce

Test case 1 - initialization on insufficient OpenGL context:
pload MODELING VISUALIZATION
vcaps -softMode 1
vinit View1
vclear
vaxo
vsetdispmode 1
box b 1 2 3
vdisplay b
vfit

Expected result: error message with Ray-Tracing requirements.
Actual result: no message is shown.

Test case 2 - GLSL program compilation or linkage error.
Expected result: error message should contain compilation/linkage issues provided by driver.
Actual result: "Vertex shader(s) failed to link, fragment shader(s) failed to link" - printed error message is insufficient for analysis.

Public activity

8 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: dbp
Date: Tue Mar 17 15:13:16 2015 +0300

    0025652: Visualization, TKOpenGl - RayTracing initialization failures are not properly reported
02Commenter 3
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: dbp
Date: Thu Mar 19 10:47:09 2015 +0300

    Logging of GLSL warnings was added in ray-tracing core.

03Commenter 3
Dear kgv,

logging of warnings was added. Please review the patch in branch CR25652.
04Author
Please test the patch.
05Commenter 3
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
06Commenter 6
Branch [archived branch] has been rebased on the current master
07Commenter 7
Dear Commenter 2,

Branch CR25652 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[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:
Not detected

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 88249591 / 88537766 [-0.33%]
Total CPU difference: 53490.30999999987 / 53186.43000000024 [+0.57%]

Testing on Windows:
Total MEMORY difference: 56834929 / 56847647 [-0.02%]
Total CPU difference: 16027.667540799664 / 16072.67382929974 [-0.28%]
08Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records