View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016098 | VTK | (No Category) | public | 2016-04-27 06:49 | 2016-06-27 12:34 | ||||
Reporter | Stefano Borini | ||||||||
Assigned To | Haocheng Liu | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | 7.0.0 | |||||||
Summary | 0016098: Uninitialized prop color value produces random results | ||||||||
Description | The following code import vtk import time for _ in range(10): vtk_obj = vtk.vtkOpenGLHardwareSelector() print vtk_obj.GetPropColorValue() time.sleep(1) produces random values until initialisation takes place. (2.975582179396061e-38, 1.401298464324817e-45, 1.0722085646526054e-38) (0.0, 0.0, 0.0) (2.975582179396061e-38, 1.401298464324817e-45, 1.0722085646526054e-38) (5.344585974097996e-39, 1.401298464324817e-45, 5.344866233790861e-39) (2.975582179396061e-38, 1.401298464324817e-45, 1.0722085646526054e-38) (0.0, 0.0, 0.0) (4.6179809698425413e+24, 2.0110569049325306e+20, 175.439208984375) (1.7033563725959244e+35, 4.591634678053128e-41, 1.7033167585146673e+35) (4.6179809698425413e+24, 2.0110569049325306e+20, 175.439208984375) (5.344585974097996e-39, 1.401298464324817e-45, 5.344866233790861e-39) Probably not critical but introduces randomness in a 3rd party testsuite. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036111) Haocheng Liu (developer) 2016-06-27 12:34 |
After testing the code on VTK 7.0.0, it seems that GetPropColorValue() now would produce a fixed value rather than some random value.(On windows 7 + Nvidia card). Free to reopen this topic if it's plate-form related bug. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-27 06:49 | Stefano Borini | New Issue | |
2016-06-20 11:38 | Utkarsh Ayachit | Assigned To | => Haocheng Liu |
2016-06-24 17:03 | Haocheng Liu | Status | backlog => active development |
2016-06-27 12:34 | Haocheng Liu | Note Added: 0036111 | |
2016-06-27 12:34 | Haocheng Liu | Status | active development => closed |
2016-06-27 12:34 | Haocheng Liu | Resolution | open => fixed |
2016-06-27 12:34 | Haocheng Liu | Fixed in Version | => 7.0.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |