MantisBT - ParaView
View Issue Details
0014186ParaView(No Category)public2013-07-25 13:262015-01-11 08:23
Alejandro Ribes 
Tristan Coulange 
highminoralways
closedfixed 
4.0 
4.24.2 
ParaViS
cleaning_point_sprite
incorrect functionality
0014186: Points sprites do not appear with a radius and opacity proportional to the already selected field
- Open contraintes_gauss_0_0.vtp.
- Apply.
- In Display, as representation type, chose "Point sprite".
- Display CHAM1D field instead of "Solid color", with the EFFX component
instead of Magnitude.
=> All spheres are displayed with the same radius.

- Click on "Edit Radius Transfer Function", put 0.01 as min and 0.1 as max.
=> nothing changes.

- In Display, Scale by, chose "CHAM1D_Vector".
=> spheres radius is proportional to the EFFX value.

- Put Scale by back to CHAM1D.
=> The sphere radius is now proportional to EFFX value.

- Click on "Edit Radius Transfer Function", put 0.05 as max.
=> The sphere radius is well updated.
No tags attached.
? contraintes_gauss_0_0.vtp (4,930) 2013-07-25 13:26
https://www.vtk.org/Bug/file/9484/contraintes_gauss_0_0.vtp
png Screenshot from 2013-11-26 11:42:53.png (141,886) 2013-11-26 11:43
https://www.vtk.org/Bug/file/9555/Screenshot%20from%202013-11-26%2011%3A42%3A53.png
png
Issue History
2013-07-25 13:26Alejandro RibesNew Issue
2013-07-25 13:26Alejandro RibesAssigned To => Utkarsh Ayachit
2013-07-25 13:26Alejandro RibesFile Added: contraintes_gauss_0_0.vtp
2013-10-22 08:47Utkarsh AyachitTopic Name => 14186_fix_point_sprite_issues
2013-10-22 08:47Utkarsh AyachitNote Added: 0031712
2013-10-22 08:47Utkarsh AyachitStatusbacklog => gatekeeper review
2013-10-22 08:47Utkarsh AyachitFixed in Version => git-next
2013-10-22 08:47Utkarsh AyachitResolutionopen => fixed
2013-10-24 08:37Utkarsh AyachitFixed in Versiongit-next => git-master
2013-10-24 08:37Utkarsh AyachitStatusgatekeeper review => customer review
2013-10-24 08:37Utkarsh AyachitNote Added: 0031722
2013-11-01 13:17Utkarsh AyachitFixed in Versiongit-master => 4.1
2013-11-26 09:03Alejandro RibesNote Added: 0031871
2013-11-26 11:43Utkarsh AyachitFile Added: Screenshot from 2013-11-26 11:42:53.png
2013-11-26 11:44Utkarsh AyachitNote Added: 0031873
2013-12-24 20:49Utkarsh AyachitNote Added: 0032072
2013-12-24 20:49Utkarsh AyachitStatuscustomer review => closed
2014-06-06 05:01Joachim PouderouxAssigned ToUtkarsh Ayachit => Tristan Coulange
2014-06-06 05:01Joachim PouderouxStatusclosed => backlog
2014-06-06 05:01Joachim PouderouxResolutionfixed => reopened
2014-06-06 05:02Joachim PouderouxNote Added: 0032760
2014-06-09 08:11Tristan CoulangeReproducibilityhave not tried => always
2014-06-09 08:11Tristan CoulangeStatusbacklog => active development
2014-06-09 09:46Tristan CoulangeNote Added: 0032799
2014-06-09 09:49Tristan CoulangeTopic Name14186_fix_point_sprite_issues => cleaning_point_sprite
2014-06-09 09:49Tristan CoulangeStatusactive development => gatekeeper review
2014-06-09 10:09Tristan CoulangeNote Added: 0032800
2014-06-10 07:37Utkarsh AyachitFixed in Version4.1 => git-master
2014-06-10 07:38Utkarsh AyachitStatusgatekeeper review => customer review
2014-06-10 07:38Utkarsh AyachitNote Added: 0032817
2014-06-17 09:21Utkarsh AyachitTarget Version => 4.2
2014-08-19 22:09Alan ScottNote Added: 0033267
2014-08-19 22:09Alan ScottStatuscustomer review => closed
2014-08-19 22:09Alan ScottResolutionreopened => fixed
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2
2015-01-11 08:23Utkarsh AyachitSource_changeset_attached => ParaView master 96014ab9
2015-01-11 08:23Utkarsh AyachitSource_changeset_attached => ParaView master 6020178e

Notes
(0031712)
Utkarsh Ayachit   
2013-10-22 08:47   
commit 6020178e5db6465693b8a0c085bd075a7302c140
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Oct 22 08:43:53 2013 -0400

    BUG 0014186: Fix issues with scaling for point sprites.
    
    The problem was arising from the fact that the properties for selecting array to
    scale radius or opacity by were being set to default values prematurely. Due to
    the extensive custom logic in the point sprites code, setting the array names
    was not sufficient and caused inconsistencies between what was shown in the UI
    and what was happening under the covers. Fixed the issue by ensure that by
    default, we don't scale my any array.
    
    Also fixed issue with loading state, where the radius range was getting reset
    when the panel was created for a visualization loaded from state files.
    
    Change-Id: Icc19ad145cafb2cfed59e88c617e931ab303b72c
(0031722)
Utkarsh Ayachit   
2013-10-24 08:37   
SUMMARY
---------------------------------------------
Topics merged into master:
        14186_fix_point_sprite_issues
        14263_fix_python_in_installs
        14336_fix_examples
        14337_delete_pipeline_error
        14338_fix_build_issues
        14339_fix_elevation_filter
        14343_fix_tile_display_hang
        add-visitbridge-private-linking
(VTK) hardware-selector-pv-bug
        pvweb-virtualgl-doc
        smaller-catalyst-editions
        sqplugin-topo-mapper-gui
(VTK) update_vtk_master

(0031871)
Alejandro Ribes   
2013-11-26 09:03   
Hello,

I downloaded and compiled the sources "ParaView-v4.1.0-RC1-source.zip" currently in :

http://www.paraview.org/paraview/resources/software.php [^]

My system is a Debian :

uname -r
3.2.0-4-amd64

Then I load the plugin for the Point Sprite, the attached file and then I choose in "Scale by" the field "CHAM1D" I obtain the following error:

ERROR: In /home/alejandro/local/paraview-4.1.0-RC1/Source/VTK/Rendering/OpenGL/vtkOpenGLProperty.cxx, line 231
vtkPointSpriteProperty (0x4901220): Shaders are not supported by this context.

Is that my compilation ? Does it work for you ?

Alejandro.


PS: It works fine with Opacity ...
(0031873)
Utkarsh Ayachit   
2013-11-26 11:44   
Alejandro,

It does work fine for me. Look at the attached image. This was on a Ubuntu with uname -r == 3.5.0-43-generic.

Could it be an OpenGL driver issue?
(0032072)
Utkarsh Ayachit   
2013-12-24 20:49   
Alejandro, feel free to reopen if you are still having issues.
(0032760)
Joachim Pouderoux   
2014-06-06 05:02   
The problem is the following:

Change of the "Scale By" vector component is not taken into account, the steps to reproduce:

1) Open contraintes_gauss_0_0.vtp, click Apply.
2) In Display, as representation type, choose "Point sprite".
3) Select the "CHAM1D" and "EFFX" in the "Coloring".
  => The spheres are colored by the "CHAM1D"/"EFFX" values and displayed with the same radius - OK
4) Select the "CHAM1D" and "EFFX" in the "Point Sprite" - "Scale by".
5) Click on "Edit Radius Transfer Function", put 0.01 as min and 0.1 as max.
  => The spheres are colored and scaled by the "CHAM1D"/"EFFX" values - OK
6) Select the "EFFY" component in the "Point Sprite" - "Scale by" instead of the "EFFX".
  => Nothing changes: The spheres are still colored and scaled by the "CHAM1D"/"EFFX" values - NOT OK.
(0032799)
Tristan Coulange   
2014-06-09 09:46   
The issue is already fixed into master, but there was some warning messages.
A fix was approved on gerrit :

http://review.source.kitware.com/#/t/4275/ [^]

Cleaning point sprite plugin

A warning was caused by a redefined signal in a child class.
Another warning was caused by a call to a property which
does not exist any more.

Change-Id: I2edf10921807230becf0f28edec2b076e3c662d4
(0032800)
Tristan Coulange   
2014-06-09 10:09   
Alejandro,

To be more precise, I notice the bug in the downloaded version of ParaView 4.1.0, but there is no bug in the current master of ParaView. So I think it is fixed, but feel free to contact me or Joachim if you still have issues with the master version of ParaView.

Tristan
(0032817)
Utkarsh Ayachit   
2014-06-10 07:38   
SUMMARY
---------------------------------------------
Topics merged into master:
        14762_save_color_legend_settings
        14787_fix_matplotlib_xml
        cleaning_point_sprite
        fix-transferfunction-applycolormap-text
        static-plugin-loading
(VTK) use-broadcast-rmi-trigger
        use-gatherv-in-collect-information
(0033267)
Alan Scott   
2014-08-19 22:09   
Closing untested. Point sprites grumble that I need shaders. If this is in error, please reopen this bug.