MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032121Open CASCADE[OCCT] OCCT:DRAWpublic2021-02-06 18:492021-02-09 18:28
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityfeature 
StatusresolvedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0032121: Draw Harness, ViewerTest - implement -set option for vlight command
DescriptionIt is proposed extended vlight command with -set/-replace argument which will replace light source with specified index with newly created one.
If replaced light source was already displayed - the new once should be displayed instead.
Steps To Reproducepload MODELING VISUALIZATION
vclear
vinit View1 -width 1280 -height 720
vlight -clear
vbackground -color GRAY
vrenderparams -shadingModel PBR
box b 10 10 10 30 30 30
vdisplay b -dispMode 1
vaspects b -material Brass
vfit

vlight -replace 3 positional -pos 25 25 50 -intensity 10000000000 -range 20 -name POSITIONAL -color BLUE -display
vlight -replace 0 ambient -color WHITE -name AMBIENT -display
vlight -set 2 spotlight -pos 50 25 25 -dir -1 0 0 -intensity 1000000000 -name SPOT -color RED -display
vlight -set 1 directional -dir 0 1 0 -name DIR -color GREEN -display
vlight
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0031704verifiedbugmaster Visualization - add an interactive object AIS_LightSource representing a light source 

-  Notes
(0098797)
git (administrator)
2021-02-09 18:23

Branch CR32121 has been created by mkrylova.

SHA-1: bb747def4fffd3333f081274a399d35258a9757c


Detailed log of new commits:

Author: mkrylova
Date: Tue Feb 9 18:01:53 2021 +0300

    0032121: Draw Harness, ViewerTest - implement -set option for vlight command
    
    - Extended vlight command with -set/-replace argument

- Issue History
Date Modified Username Field Change
2021-02-06 18:49 kgv New Issue
2021-02-06 18:49 kgv Assigned To => mkrylova
2021-02-06 18:49 kgv Status new => assigned
2021-02-06 18:50 kgv Relationship added related to 0031704
2021-02-09 18:23 git Note Added: 0098797
2021-02-09 18:28 mkrylova Assigned To mkrylova => kgv
2021-02-09 18:28 mkrylova Status assigned => resolved
2021-02-09 18:28 mkrylova Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker