MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027955Open CASCADE[OCCT] OCCT:Visualizationpublic2016-10-12 21:452017-07-20 10:46
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.0.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
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 Filespng file icon trihedron_pos_light_KO.png (579,578 bytes) 2016-10-12 21:45

- Relationships
related to 0027943closedapn Visualization - fix broken shading by positional light for object with local transformation 

-  Notes
There are no notes attached to this issue.

- 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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker