View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030952 | Open CASCADE | OCCT:DRAW | public | 2019-09-06 12:20 | 2023-08-01 15:08 |
Reporter | kgv | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Target Version | Unscheduled | ||||
Summary | 0030952: Draw Harness, ViewerTest - add command showing on-screen GUI for configuring material properties | ||||
Description | Currently, Draw Harness does not provide tools for configuring material properties apart from assigning color and named material: > vaspects -setMaterial SILVER -setColor RED It is desired providing some more flexible tool for playing with materials, with simplistic user interface based on AIS. | ||||
Steps To Reproduce | pload MODELING VISUALIZATION psphere s 1 vclear vinit View1 vdisplay -dispMode 1 s vfit vlight -change 0 -intensity 2.5 vlight -change 1 -intensity 0.7 vrenderparams -shadingModel pbr vmaterialwidget w s | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Branch CR30952 has been created by kgv. SHA-1: 719236fc5f5318f5971066c5dacd06c791292b39 Detailed log of new commits: Author: kgv Date: Fri Sep 6 12:18:09 2019 +0300 0030952: Draw Harness, ViewerTest - add command showing on-screen GUI for configuring material properties |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 372172f7b88a238e07a7833e0ca2b1e3d9892ecb |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 54ef95fa80c9f19598ea6396d2daf79dba411332 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 8cb88bea3a0a650f331b039a920e09bc3371ba2d |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: b206198087a2b2cd7872c4957831590318e06c3d |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: ce366f95ff44235619c41add543bcf2221063e5a |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 96e8fbd73a06a0d1247fb66fa86dc11cca6d523f |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 810701e470d68e99862208e21e9f742837dc48d7 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 3c9f64969a89701f4728ec527d0943b9e65cf9e3 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: a27c0a2bce60c8db8090452a8138ded67b7e0569 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 0e300284929f7e0ebd17609d7f7364abb449f2f7 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 0bba5c89e9addc1832bf7df3a7924dc73b30801b |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 4cb0279ea7097e54bafd102c8a66a1d6dd0931ca |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 51ace0ceb7383761e465531ada8b92a35a36b1b6 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: c118fd2671aaebee96d034c9a742c10c4e885764 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: f15a4662e29b556a4496b117046a76b5c82e23fa |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: c28c8fe63871bc2d68f33f4bb4c2c6915854ca43 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 123d6a1af9e468376bca8d01c4762e204d4a00ef |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 4dac3d1dc991e39afdc78a741082236772c5aeb6 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 29d2e99b672f755bfd363363d912123bcea23cd1 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 636ff8ac5bfcbcd18ec0e048b5c7f81124f217df |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 1656b11ad498736bf34c515391b5b702491ea720 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: fbda5419f313de0a467eecba47239e8134374bfe |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 5fca505767de6fb4cdcc6f6b6cce92c4c53ab9ae |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 7689db335fffce4426b2ac8bedf98b82bf272eb9 |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: f09f520909ef78d177604e3309cb4d11c6eff16d |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: 341e87e4aed8955afc2c73fbab431ff6a11a787d |
|
Branch CR30952 has been updated by kgv. SHA-1: a561a3313e288070d189fe40b8073c41d7ceadd0 Detailed log of new commits: Author: kgv Date: Fri Sep 20 15:21:44 2019 +0300 Test cases have been updated to new sRGB rendered results. |
|
Branch CR30952 has been updated forcibly by kgv. SHA-1: e67b461e6c98d90e71bb7aff605a5308915d44aa |
|
Branch CR30952 has been updated by kgv. SHA-1: 8541e78cde14b94354be17a94a8a172c4b7f9604 Detailed log of new commits: Author: kgv Date: Fri Sep 20 22:34:58 2019 +0300 #Quantity_Color::Name() - look for nearest sRGB color rather than nearest linear RGB color. |
|
Branch CR30952 has been updated by kgv. SHA-1: dcf2a3737e153a488117b6dc05491a0f5236d137 Detailed log of new commits: Author: kgv Date: Sat Sep 21 11:41:40 2019 +0300 0030991: Draw Harness - ViewerTest::ParseColors() defines out-of-range alpha component |
|
Branch CR30952 has been updated by kgv. SHA-1: 850d0c5d9015ad7a5c9e2cc60405e815b392fe50 Detailed log of new commits: Author: kgv Date: Sat Sep 21 15:04:59 2019 +0300 # Use float sRGB values for finding a color name Author: kgv Date: Sat Sep 21 15:04:16 2019 +0300 # update test cases |
|
Branch CR30952_1 has been created by kgv. SHA-1: eaa7a81aa6343985e6f1278d9971f9432890c53c Detailed log of new commits: Author: kgv Date: Thu Aug 29 11:04:56 2019 +0300 0029528: Visualization, TKOpenGl - allow defining sRGB textures Quantity_Color definition has been modified to store RGB components in linear color space within Quantity_TOC_RGB type. Standard colors defined by Quantity_NameOfColor enumeration has been updated accordingly. New Quantity_TOC_sRGB type has been introduced to handle RGB components in non-linear sRGB color space. OpenGl_TextureFormat class definition has been moved to dedicated files. New method OpenGl_TextureFormat::FindFormat() replaces OpenGl_Texture::GetDataFormat(). New method OpenGl_TextureFormat::FindSizedFormat() replaces OpenGl_FrameBuffer::getColorDataFormat() and OpenGl_FrameBuffer::getDepthDataFormat(). Graphic3d_TextureRoot::IsColorMap() - introduced new property defining if RGB(A)8 image formats should be loaded as sRGB(A) textures or as data RGB(A) textures. OpenGl_Texture initialization methods have been extended with new theIsColorMap argument. vreadpixel - added argument -sRGB printing color in sRGB color space. Test cases have been updated to new sRGB rendered results. Author: kgv Date: Mon Sep 16 23:06:38 2019 +0300 0030969: Coding Rules - refactor Quantity_Color.cxx color table definition The table of named colors has been compressed and moved out from Quantity_Color.cxx into Quantity_ColorTable.pxx. Quantity_NameOfColor - grayscale enumeration values have been re-ordered to fix discontinuity. Duplicating colors has been merged within enumeration: CHARTREUSE=CHARTREUSE1, GOLD=GOLD1, GREEN=GREEN1, ORANGE=ORANGE1, ORANGERED=ORANGERED1, RED=RED1, TOMATO=TOMATO1, YELLOW=YELLOW1. Added aliases to several other common colors: BLUE=BLUE1, CYAN=CYAN1, LIGHTCYAN=LIGHTCYAN1, MAGENTA=MAGENTA1. Quantity_Color::ColorToHex() now rounds-up float values to closest integer. Quantity_ColorRGBA::ColorToHex() - added method formatting color into hex with alpha component. Quantity_Color class definition has been cleaned to follow OCCT coding style. Quantity_Color now stores NCollection_Vec3<float> as class field instead of separate components. Removed unused class Quantity_ColorDefinitionError. New methods Quantity_Color::Convert_LinearRGB_To_sRGB() and Quantity_Color::Convert_sRGB_To_LinearRGB() converting RGB components from linear to non-linear sRGB colorspace and vice versa. Image_PixMap::PixelColor() and Image_PixMap::SetPixelColor() methods have been extended with an optional argument for performing linearization/delinearization of 8-bit sRGB pixel formats. Draw Harness command AISColor has been corrected to take color name instead of enumeration index. Author: kgv Date: Wed Jul 3 11:28:26 2019 +0300 0029902: Data Exchange, XCAF - provide extended Material definition for visualization purposes Introduced new attribute XCAFDoc_VisMaterial storing visualization material definition. Author: kgv Date: Fri Sep 6 12:18:09 2019 +0300 0030952: Draw Harness, ViewerTest - add command showing on-screen GUI for configuring material properties Author: kgv Date: Sat Sep 21 17:10:23 2019 +0300 0030991: Draw Harness - ViewerTest::ParseColor() defines out-of-range alpha component ViewerTest::ParseColor() - fixed alpha component defined as 255 for RGB-only input. vdrawtext command now uses ViewerTest::ParseColor() for parsing color argument, so that it accepts hex. vreadpixel command now has been extended with -hex argument for printing color in hex format. Commands XSetColor, XGetColor, XGetShapeColor, XGetAllColors, XAddColor, XRemoveColor, XFindColor, XUnsetColor, XGetInstanceColor, XSetInstanceColor have been corrected to properly report syntax input errors and to accept color names and hex (by reusing ViewerTest::ParseColor()). |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: e3fc240efa08a22b0407c5d1a0079140c4edd840 |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: be29eb50fd294507ba96674d4d756cfdb708db51 |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: c355ab99defeb3897146ca4af97ee5c395ef90bd |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: b7d88f44e04501d8b60e37c73cb0b57ecf101d6e |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: 241fd89600055b1a07ac67c69f8e5a4f91d2e398 |
|
Branch CR30952_1 has been updated forcibly by kgv. SHA-1: 91cdeb7a2936da66ffcc396a8d05a09456d840b7 |
|
Branch CR30952_2 has been created by kgv. SHA-1: 57391cee29d34efa99586afc4f528b6e7e1da77c Detailed log of new commits: Author: kgv Date: Fri Sep 6 12:18:09 2019 +0300 0030952: Draw Harness, ViewerTest - add command showing on-screen GUI for configuring material properties |
|
draw_pbr_mat.png (66,148 bytes) |
|
draw_common_mat.png (92,319 bytes) |
|
Branch CR30952_2 has been updated forcibly by kgv. SHA-1: 32ade905c6a011bbd7901c4a2e975fbee8c5bf4d |
|
cool! can I do something with this? |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-06 12:20 | kgv | New Issue | |
2019-09-06 12:20 | kgv | Assigned To | => kgv |
2019-09-06 12:21 | git | Note Added: 0086862 | |
2019-09-17 18:06 | git | Note Added: 0087214 | |
2019-09-17 18:21 | git | Note Added: 0087216 | |
2019-09-17 19:04 | git | Note Added: 0087218 | |
2019-09-17 19:26 | git | Note Added: 0087220 | |
2019-09-17 20:43 | git | Note Added: 0087222 | |
2019-09-17 20:45 | git | Note Added: 0087223 | |
2019-09-18 00:23 | git | Note Added: 0087225 | |
2019-09-18 01:39 | git | Note Added: 0087226 | |
2019-09-18 01:45 | git | Note Added: 0087228 | |
2019-09-18 19:58 | git | Note Added: 0087273 | |
2019-09-18 20:03 | git | Note Added: 0087275 | |
2019-09-19 10:38 | git | Note Added: 0087293 | |
2019-09-19 12:00 | git | Note Added: 0087295 | |
2019-09-19 14:08 | git | Note Added: 0087302 | |
2019-09-19 14:46 | git | Note Added: 0087306 | |
2019-09-19 15:19 | git | Note Added: 0087311 | |
2019-09-19 18:13 | git | Note Added: 0087321 | |
2019-09-19 20:33 | git | Note Added: 0087325 | |
2019-09-19 20:39 | git | Note Added: 0087326 | |
2019-09-19 20:56 | git | Note Added: 0087327 | |
2019-09-19 21:02 | git | Note Added: 0087328 | |
2019-09-19 22:06 | git | Note Added: 0087330 | |
2019-09-19 22:33 | git | Note Added: 0087331 | |
2019-09-20 09:44 | git | Note Added: 0087345 | |
2019-09-20 13:06 | git | Note Added: 0087357 | |
2019-09-20 13:23 | git | Note Added: 0087360 | |
2019-09-20 15:25 | git | Note Added: 0087369 | |
2019-09-20 15:50 | git | Note Added: 0087370 | |
2019-09-20 22:38 | git | Note Added: 0087377 | |
2019-09-21 11:45 | git | Note Added: 0087379 | |
2019-09-21 15:08 | git | Note Added: 0087381 | |
2019-09-21 17:18 | git | Note Added: 0087382 | |
2019-09-21 18:03 | git | Note Added: 0087385 | |
2019-09-21 18:43 | git | Note Added: 0087391 | |
2019-09-21 20:45 | git | Note Added: 0087394 | |
2019-09-21 21:15 | git | Note Added: 0087396 | |
2019-09-21 22:13 | git | Note Added: 0087399 | |
2019-09-21 22:32 | git | Note Added: 0087403 | |
2019-11-09 23:54 | git | Note Added: 0088826 | |
2019-11-10 00:59 | kgv | File Added: draw_pbr_mat.png | |
2019-11-10 01:00 | kgv | File Added: draw_common_mat.png | |
2019-11-10 01:01 | git | Note Added: 0088827 | |
2019-11-11 11:23 | kgv | Steps to Reproduce Updated | |
2019-12-12 10:35 | kgv | Relationship added | related to 0031237 |
2019-12-12 10:54 | mahaidong | Note Added: 0089473 | |
2020-08-28 16:35 | kgv | Target Version | 7.5.0 => 7.6.0 |
2021-08-24 15:04 | kgv | Target Version | 7.6.0 => 7.7.0 |
2022-10-19 15:55 |
|
Assigned To | kgv => vpozdyayev |
2022-10-24 10:40 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |