View Issue Details

IDProjectCategoryView StatusLast Update
0027955Open CASCADEOCCT:Visualizationpublic2023-08-01 15:09
Reporterkgv Assigned Tovpozdyayev 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.0.0 
Target VersionUnscheduled 
Summary0027955: Visualization - handle positional lights within transformation persistent objects
DescriptionCurrent implementation applies non-head positional lights to transformation persistent object without modifications.

This produces bad shading on auxiliary objects like trihedrons.
It is desired to provide solution solving this issue.
This might include option to override lights sources per layer / object / transformation persistent objects.
Steps To ReproduceTest case 1 - trihedron within path tracing:
source $env(CSF_OCCTSamplesPath)/tcl/pathtrace.tcl
vzbuffertrihedron


Test case 2.
pload MODELING VISUALIZATION

vclear
vinit View1
vaxo

restore [locate_data_file occ/fuse.brep] f
tscale f 0 0 0 100
vdisplay -dispMode 1 -trihedron topLeft 70 70 f

vlight clear
#vlight add ambient color white
vlight add positional head 0 pos 500 500 850
TagsNo tags attached.
Test case number

Attached Files

  • trihedron_pos_light_KO.png (579,578 bytes)

Relationships

related to 0027943 closedapn Visualization - fix broken shading by positional light for object with local transformation 
related to 0031704 closedbugmaster Visualization - add an interactive object AIS_LightSource representing a light source 

Activities

kgv

2016-10-12 21:45

developer  

trihedron_pos_light_KO.png (579,578 bytes)

Issue History

Date Modified Username Field Change
2016-10-12 21:45 kgv New Issue
2016-10-12 21:45 kgv Assigned To => kgv
2016-10-12 21:45 kgv File Added: trihedron_pos_light_KO.png
2016-10-12 21:46 kgv Relationship added related to 0027943
2016-10-25 09:26 kgv Target Version 7.1.0 => 7.2.0
2017-07-20 10:46 kgv Target Version 7.2.0 => 7.4.0
2019-09-04 12:48 abv Target Version 7.4.0 => 7.5.0
2020-08-28 14:42 kgv Target Version 7.5.0 => 7.6.0
2021-02-23 09:04 kgv Relationship added related to 0031704
2021-08-24 14:19 kgv Target Version 7.6.0 => 7.7.0
2022-08-17 11:59 kgv Target Version 7.7.0 => 7.8.0
2022-10-19 15:47 smoskvin Assigned To kgv => vpozdyayev
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled