View Issue Details

IDProjectCategoryView StatusLast Update
0032605Open CASCADEOCCT:Visualizationpublic2023-08-01 15:09
Reporterkgv Assigned Tosshutina  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version7.6.0 
Target VersionUnscheduled 
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

Relationships

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

Activities

sshutina

2021-10-11 12:22

developer   ~0104586

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
2022-08-17 11:55 kgv Target Version 7.7.0 => 7.8.0
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled