View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014186ParaView(No Category)public2013-07-25 13:262015-01-11 08:23
ReporterAlejandro Ribes 
Assigned ToTristan Coulange 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.0 
Target Version4.2Fixed in Version4.2 
Summary0014186: Points sprites do not appear with a radius and opacity proportional to the already selected field
Description- 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.
TagsNo tags attached.
ProjectParaViS
Topic Namecleaning_point_sprite
Typeincorrect functionality
Attached Files? file icon contraintes_gauss_0_0.vtp [^] (4,930 bytes) 2013-07-25 13:26
png file icon Screenshot from 2013-11-26 11:42:53.png [^] (141,886 bytes) 2013-11-26 11:43

 Relationships

  Notes
(0031712)
Utkarsh Ayachit (administrator)
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 (administrator)
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 (manager)
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 (administrator)
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 (administrator)
2013-12-24 20:49

Alejandro, feel free to reopen if you are still having issues.
(0032760)
Joachim Pouderoux (developer)
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 (developer)
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 (developer)
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 (administrator)
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 (manager)
2014-08-19 22:09

Closing untested. Point sprites grumble that I need shaders. If this is in error, please reopen this bug.

 Issue History
Date Modified Username Field Change
2013-07-25 13:26 Alejandro Ribes New Issue
2013-07-25 13:26 Alejandro Ribes Assigned To => Utkarsh Ayachit
2013-07-25 13:26 Alejandro Ribes File Added: contraintes_gauss_0_0.vtp
2013-10-22 08:47 Utkarsh Ayachit Topic Name => 14186_fix_point_sprite_issues
2013-10-22 08:47 Utkarsh Ayachit Note Added: 0031712
2013-10-22 08:47 Utkarsh Ayachit Status backlog => gatekeeper review
2013-10-22 08:47 Utkarsh Ayachit Fixed in Version => git-next
2013-10-22 08:47 Utkarsh Ayachit Resolution open => fixed
2013-10-24 08:37 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-10-24 08:37 Utkarsh Ayachit Status gatekeeper review => customer review
2013-10-24 08:37 Utkarsh Ayachit Note Added: 0031722
2013-11-01 13:17 Utkarsh Ayachit Fixed in Version git-master => 4.1
2013-11-26 09:03 Alejandro Ribes Note Added: 0031871
2013-11-26 11:43 Utkarsh Ayachit File Added: Screenshot from 2013-11-26 11:42:53.png
2013-11-26 11:44 Utkarsh Ayachit Note Added: 0031873
2013-12-24 20:49 Utkarsh Ayachit Note Added: 0032072
2013-12-24 20:49 Utkarsh Ayachit Status customer review => closed
2014-06-06 05:01 Joachim Pouderoux Assigned To Utkarsh Ayachit => Tristan Coulange
2014-06-06 05:01 Joachim Pouderoux Status closed => backlog
2014-06-06 05:01 Joachim Pouderoux Resolution fixed => reopened
2014-06-06 05:02 Joachim Pouderoux Note Added: 0032760
2014-06-09 08:11 Tristan Coulange Reproducibility have not tried => always
2014-06-09 08:11 Tristan Coulange Status backlog => active development
2014-06-09 09:46 Tristan Coulange Note Added: 0032799
2014-06-09 09:49 Tristan Coulange Topic Name 14186_fix_point_sprite_issues => cleaning_point_sprite
2014-06-09 09:49 Tristan Coulange Status active development => gatekeeper review
2014-06-09 10:09 Tristan Coulange Note Added: 0032800
2014-06-10 07:37 Utkarsh Ayachit Fixed in Version 4.1 => git-master
2014-06-10 07:38 Utkarsh Ayachit Status gatekeeper review => customer review
2014-06-10 07:38 Utkarsh Ayachit Note Added: 0032817
2014-06-17 09:21 Utkarsh Ayachit Target Version => 4.2
2014-08-19 22:09 Alan Scott Note Added: 0033267
2014-08-19 22:09 Alan Scott Status customer review => closed
2014-08-19 22:09 Alan Scott Resolution reopened => fixed
2014-08-29 10:59 Utkarsh Ayachit Fixed in Version git-master => 4.2
2015-01-11 08:23 Utkarsh Ayachit Source_changeset_attached => ParaView master 96014ab9
2015-01-11 08:23 Utkarsh Ayachit Source_changeset_attached => ParaView master 6020178e


Copyright © 2000 - 2018 MantisBT Team