MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #2618 All Revisions ] Back to Issue ]
Summary 0002618: Visualization - choose better center of gravity for camera rotation operations
Revision 2011-09-21 14:11 by szy
Description Bug from Open CASCADE community
Bug has been registered by Fran├žois Lauzon

http://www.opencascade.org/forumorg/bug.php?bug_id=125&f=8 [^]


There is a bug in the method Gravity (which is used by StartRotation when we
start a rotation). If you see the whole model, the Gravity is set ok and the
rotation work ok, but if you zoom a small part of the model, the Gravity returns
0,0,0 and then the rotation is done by this new center and we "lost" the model.
This will append when all Graphic3d_Structure Bounding Box are outside the view.
Maybe use another way to compute gravity to set the center of rotation...
Revision 2011-09-13 17:35 by szy
Description Bug from Open CASCADE community
Bug has been registered by Fran├žois Lauzon

http://www.opencascade.org/forumorg/bug.php?bug_id=125&f=8 [^]


There is a bug in the method Gravity (which is used by StartRotation when we
start a rotation). If you see the whole model, the Gravity is set ok and the
rotation work ok, but if you zoom a small part of the model, the Gravity returns
0,0,0 and then the rotation is done by this new center and we "lost" the model.
This will append when all Graphic3d_Structure Bounding Box are outside the view.
Maybe use another way to compute gravity to set the center of rotation...


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker