| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000626 | VTK | (No Category) | public | 2004-02-25 09:06 | 2016-08-12 09:54 | ||||
| Reporter | vdhel | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000626: Aspect zooming doesn't work | ||||||||
| Description | Using vtkViewport::SetPixelAspect doens't work anymore. It used to work with version 4.0. I think the problem is in vtkOpenGLCamera::Render. In version 1.48 of vtkOpenGLCamere.cxx, L116, reads: matrix->DeepCopy(this->GetPerspectiveTransformMatrix(aspect[0]/aspect[1], This line is changed in version 1.49 () to read: matrix->DeepCopy(this->GetPerspectiveTransformMatrix(1.0*usize/vsize, In the latest version (1.61 L165/166) the line reads: matrix->DeepCopy(this->GetPerspectiveTransformMatrix(aspectModification*usize/vsize, -1,1)); When I change the first parameter of GetPerspectiveTransformMatrix to: aspectModification*aspect[0]/aspect[1] the aspect zooming seems to work again. Although I don't understand why it was changed to use usize/vsize, it seems odd to me that the aspect is not taking into account when the renderer and viewport report the same aspect ratio (which is the case in my case) | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0001092) Mathieu Malaterre (developer) 2004-05-21 10:25 |
Adding a simple python demo. |
|
(0036718) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-02-06 10:20 | Jeff Baumes | Assigned To | => François Bertel |
| 2010-09-07 13:47 | François Bertel | Assigned To | François Bertel => |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036718 | |
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |