| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011298 | ParaView | Bug | public | 2010-10-07 11:28 | 2011-09-01 13:31 | ||||
| Reporter | Dave DeMarle | ||||||||
| Assigned To | Andy Bauer | ||||||||
| Priority | high | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | 3.12 | |||||||
| Summary | 0011298: upper limit on number of colors in colormap | ||||||||
| Description | We appear to be limited to a fixed maximum number of colors in the color map. The attached state file demonstrates the problem. Turning off "Use Discrete Colors" on the edit color map dialog should result in a smooth rainbow. So should typing in a really large number in the Resolution field. In 3.8.1 the upper limit is 256. In 3.9 it is 1024. See COLOR_TEXTURE_MAP_SIZE in vtkScalarsToColorsPainter.cxx for where those limits come from. With Use Discrete off this limit shouldn't be hit at all. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Topic Name | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0022438) Ken Moreland (manager) 2010-10-07 12:28 |
I believe there is a technical reason for the implicit limit, which is that table lookups are much faster than computing it from the interpolated control points, particularly when there are many control points. |
|
(0022651) Andy Bauer (developer) 2010-10-21 14:45 |
I've put a fix for this up for review at http://review.source.kitware.com. [^] Look under Id Ic0d7f4fa. VTK is passing all tests that were passing without the change so I think it works but I'm not that familiar with this code so I'm putting it at gerrit for review. |
|
(0022834) Andy Bauer (developer) 2010-11-04 12:16 |
Fixed in SHA f3c935c1050450fb647d03c1e9121e97b9689746 The limit is now set properly to GL_MAX_TEXTURE_SIZE. The slider bar in Color Scale Editor Resolution now goes between 2 and 2048 but the user can enter a larger number as well. |
|
(0023090) Alan Scott (manager) 2010-11-08 18:07 |
Tested local server, Windows, trunk. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-10-07 11:28 | Dave DeMarle | New Issue | |
| 2010-10-07 11:28 | Dave DeMarle | File Added: colorlimit.pvsm | |
| 2010-10-07 12:28 | Ken Moreland | Note Added: 0022438 | |
| 2010-10-21 14:46 | Andy Bauer | Note Added: 0022651 | |
| 2010-11-04 12:11 | Andy Bauer | Status | backlog => tabled |
| 2010-11-04 12:11 | Andy Bauer | Assigned To | => Andy Bauer |
| 2010-11-04 12:16 | Andy Bauer | Note Added: 0022834 | |
| 2010-11-04 12:16 | Andy Bauer | Status | tabled => @80@ |
| 2010-11-04 12:16 | Andy Bauer | Fixed in Version | => Development |
| 2010-11-04 12:16 | Andy Bauer | Resolution | open => fixed |
| 2010-11-08 18:07 | Alan Scott | Note Added: 0023090 | |
| 2010-11-08 18:07 | Alan Scott | Status | @80@ => closed |
| 2011-09-01 13:31 | Utkarsh Ayachit | Fixed in Version | Development => 3.12 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |