MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030930Open CASCADE[OCCT] OCCT:DRAWpublic2019-08-30 16:142019-09-07 16:27
Reporterkgv 
Assigned Toapn 
PrioritynormalSeverityintegration request 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0Fixed in Version 
Summary0030930: Draw Harness, ViewerTest - add commands vlistcolors and vlistmaterials listing standard Colors and Materials
DescriptionOCCT defines lists of standard Colors (Quantity_NameOfColor) and Materials (Graphic3d_NameOfMaterial). Although many commands accept names of these items, there is no Draw Harness command listing available values.

It is proposed adding new commands vlistcolors and vlistmaterials, which without arguments will print names of pre-defined constants. Extra syntax can be useful for generating comparison tables and items properties.

This is also important to have some references for non-regression tests.
Steps To ReproduceN/A
TagsNo tags attached.
Test case numberv3d materials colors, materials
Attached Filespng file icon occt_colors_630.png (6,197 bytes) 2019-08-30 19:49
png file icon occt_colors_630_html_table.png (32,085 bytes) 2019-08-30 19:50
png file icon occt_materials_630_html_table.png (112,431 bytes) 2019-08-30 19:51

- Relationships
related to 0029528assignedmnv Visualization, TKOpenGl - allow defining sRGB textures 
related to 0029516verifiedbugmaster Visualization - eliminate redundant property Graphic3d_MaterialAspect::ReflectionMode() 

-  Notes
(0086554)
git (administrator)
2019-08-30 17:57

Branch CR30930 has been created by kgv.

SHA-1: 81c2dadcd6b1c587d36d93affbfabbb0924c590c


Detailed log of new commits:

Author: kgv
Date: Fri Aug 30 17:54:09 2019 +0300

    0030930: Draw Harness, ViewerTest - add commands vlistcolors and vlistmaterials listing standard Colors and Materials
(0086558)
kgv (developer)
2019-08-30 19:49
edited on: 2019-08-30 19:52

Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30930-master-KGV [^]

(0086566)
git (administrator)
2019-08-31 09:53

Branch CR30930 has been updated forcibly by kgv.

SHA-1: 8e7eb99b5032957360e47b58a5fd33cb431e58e6
(0086573)
git (administrator)
2019-08-31 13:32

Branch CR30930 has been updated forcibly by kgv.

SHA-1: 03418f3ce77100eedec697eed2b22549bfa0f1d1
(0086670)
san (developer)
2019-09-02 18:59

Branch CR30930 reviewed without remarks.
(0086672)
apn (administrator)
2019-09-02 19:09

Combination -
OCCT branch : CR30930
master SHA - 81c2dadcd6b1c587d36d93affbfabbb0924c590c
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : master SHA - 32e882a7b3145a66baa739f965d275c822c0bd8a
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: 16108.670000000018 / 16107.320000000014 [+0.01%]
Products
Total CPU difference: 10480.140000000023 / 10489.71000000005 [-0.09%]
Windows-64-VC14:
OCCT
Total CPU difference: 18290.984375 / 18158.171875 [+0.73%]
Products
Total CPU difference: 12089.6875 / 12068.71875 [+0.17%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0086946)
git (administrator)
2019-09-07 16:27

Branch CR30930 has been deleted by inv.

SHA-1: 03418f3ce77100eedec697eed2b22549bfa0f1d1

- Related Changesets
occt: master 59ee34ef
Timestamp: 2019-08-30 14:54:09
Author: kgv
Committer: apn
Details ] Diff ]
0030930: Draw Harness, ViewerTest - add commands vlistcolors and vlistmaterials listing standard Colors and Materials

Introduced two new commands vlistcolors listing named colors and vlistmaterials listing standard materials.
These commands also can generate HTML table listing colors/materials with their properties.
vlistmaterials can generate OBJ model for comparing OCCT materials in different viewers.
New test cases use these commands for generating HTML tables.

Graphic3d_MaterialAspect::MaterialType() - added missing getter.
Corrected name of unlit shading model within vaspects and vrenderparams commands.
mod - src/Graphic3d/Graphic3d_MaterialAspect.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_TypeOfMaterial.hxx Diff ] File ]
mod - src/Quantity/Quantity_Color.hxx Diff ] File ]
mod - src/Quantity/Quantity_NameOfColor.hxx 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/materials/colors Diff ] File ]
add - tests/v3d/materials/materials Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-08-30 16:14 kgv New Issue
2019-08-30 16:14 kgv Assigned To => kgv
2019-08-30 17:57 git Note Added: 0086554
2019-08-30 19:49 kgv Note Added: 0086558
2019-08-30 19:49 kgv Assigned To kgv => san
2019-08-30 19:49 kgv Status new => resolved
2019-08-30 19:49 kgv Description Updated View Revisions
2019-08-30 19:49 kgv File Added: occt_colors_630.png
2019-08-30 19:50 kgv File Added: occt_colors_630_html_table.png
2019-08-30 19:51 kgv File Added: occt_materials_630_html_table.png
2019-08-30 19:52 kgv Note Edited: 0086558 View Revisions
2019-08-30 19:53 kgv Relationship added related to 0029528
2019-08-31 09:53 git Note Added: 0086566
2019-08-31 13:32 git Note Added: 0086573
2019-09-01 10:38 kgv Relationship added related to 0029516
2019-09-02 18:59 san Note Added: 0086670
2019-09-02 18:59 san Assigned To san => bugmaster
2019-09-02 18:59 san Status resolved => reviewed
2019-09-02 19:07 apn Test case number => v3d materials colors, materials
2019-09-02 19:09 apn Note Added: 0086672
2019-09-02 19:09 apn Status reviewed => tested
2019-09-07 11:38 apn Changeset attached => occt master 59ee34ef
2019-09-07 11:38 apn Assigned To bugmaster => apn
2019-09-07 11:38 apn Status tested => verified
2019-09-07 11:38 apn Resolution open => fixed
2019-09-07 16:27 git Note Added: 0086946


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker