MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032605Open CASCADE[OCCT] OCCT:Visualizationpublic2021-10-04 13:582021-10-18 11:00
Reporterkgv 
Assigned Tosshutina 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.6.0* 
Target Version[OCCT] 7.7.0Fixed in Version 
Summary0032605: Visualization, AIS_LightSource - handle dragging outside of sphere
DescriptionCurrently AIS_LightSource::ProcessDragging() allows dragging only within the sensitive sphere.
It is desired extending this behavior to allow rotating light source outside of sensitive sphere - e.g. be projecting 2D point to a plane parallel to screen and coming through sphere origin.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0032604verifiedsmoskvin Visualization, AIS_LightSource - improve dragging robustness 
child of 0032183verifiedbugmaster Visualization - implement AIS_LightSource::ProcessDragging() for rotating directional light 

-  Notes
(0104586)
sshutina (developer)
2021-10-11 12:22

The issue solution wasn't found.
The sensitive sphere has the transform persistence, so it has own local coordanate system (is different from the global).
Solutions that was checked:
 - if we build the projections of 2d point on the plane parallel to screen and coming through sphere origin as suggested in the issue or on the sphere and etc., the resulting point is in the global coordinate system. In result, the staart point is in local, the end point is in global.
 - if the start point is also obtained in global system, the rotation angle will be in global coordinates (its magnitude and direction do not correspond to the local system).

To correct solution it's necessary to project 2D point in the local coordinate system.

- Issue History
Date Modified Username Field Change
2021-10-04 13:58 kgv New Issue
2021-10-04 13:58 kgv Assigned To => sshutina
2021-10-04 13:58 kgv Relationship added related to 0032604
2021-10-04 13:58 kgv Relationship added child of 0032183
2021-10-04 13:58 kgv Status new => assigned
2021-10-04 13:58 kgv Summary 0032604: Visualization, AIS_LightSource - handle dragging outside of sphere => Visualization, AIS_LightSource - handle dragging outside of sphere
2021-10-11 12:22 sshutina Note Added: 0104586
2021-10-18 11:00 kgv Target Version 7.6.0* => 7.7.0


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker