# Representation of Points in Polydata using PointGaussianMapper.

**URL:** https://discourse.vtk.org/t/representation-of-points-in-polydata-using-pointgaussianmapper/2562
**Category:** Support
**Created:** [February 7, 2020, 10:50am UTC](https://discourse.vtk.org/t/representation-of-points-in-polydata-using-pointgaussianmapper/2562 "2020-02-07T10:50:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![koushik](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@koushik](https://discourse.vtk.org/u/koushik)
#### Post date: [February 7, 2020, 10:50am UTC](https://discourse.vtk.org/t/representation-of-points-in-polydata-using-pointgaussianmapper/2562/1 "2020-02-07T10:50:22Z")

</div>

Hi,

I have a polydata which contains points and scalar values at those points.(Link for polydata : [https://drive.google.com/file/d/19kt16tYHnioucDjqRAOpSy8OAgkLYIAM/view?usp=sharing](https://drive.google.com/file/d/19kt16tYHnioucDjqRAOpSy8OAgkLYIAM/view?usp=sharing)).

The below image shows the polydata(specified in the above link) rendered using PointGaussianMapper (in Paraview application) with ShaderPreset as “Custom” and ShaderCode as “//VTK::Color::Impl \n if (abs(offsetVCVSOutput.x) \> 1 || abs(offsetVCVSOutput.y) \> 3) \n { \n discard; \n };” and GaussianRadius as “0.25”.

 ![CustomShader](https://discourse.vtk.org/uploads/default/original/2X/1/1b8358c60876032c84441d83f57d0584dae8a15a.png)

Is it possible to rotate the point drawing at each point based on angle at that point? Angles information at each point comes from the polydata. Below image is the expected output(Link for the polydata : [https://drive.google.com/file/d/1mBhbzuh1GD2GVSYvMC3fp\_wieeFpEVTN/view?usp=sharing](https://drive.google.com/file/d/1mBhbzuh1GD2GVSYvMC3fp_wieeFpEVTN/view?usp=sharing)).

 ![Expected](https://discourse.vtk.org/uploads/default/original/2X/e/e1a17c25476be990001c8562ab48f0d8c2a899bd.png)

Thanks  
Koushik
