Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread David Lonie
The cmake config looks ok to me.

What sort of graphics set up are you using? Is this mesa, or on a GPU? It
sounds like a driver bug or something may be causing the depth test to
break, or maybe there's a misconfigured framebuffer. Does an earlier
version of ParaView work on the same system?

Dave

On Wed, Jan 4, 2017 at 10:41 AM, Robert Sawko  wrote:

> David,
>
> Thanks for a quick reply. Tried with -dr and it's the same. I am attaching
> my
> state file for spheres. It may help someone to reproduce.
>
> I am running it on Arch Linux and paraview is taken from AUR. I am just
> looking at the way the binary was generated and I see these options in
> cmake
>
>   cmake \
> -DBUILD_SHARED_LIBS:BOOL=ON \
> -DBUILD_TESTING:BOOL=OFF \
> -DCMAKE_BUILD_TYPE=Release \
> -DCMAKE_C_COMPILER=mpicc \
> -DCMAKE_CXX_COMPILER=mpicxx \
> -DCMAKE_INSTALL_PREFIX:PATH=/usr \
> -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
> -DOSPRAY_INSTALL_DIR:PATH=/usr \
> -DPARAVIEW_ENABLE_CGNS:BOOL=OFF \
> -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \
> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
> -DPARAVIEW_PYTHON_VERSION=2 \
> -DPARAVIEW_QT_VERSION=5 \
> -DPARAVIEW_USE_MPI:BOOL=ON \
> -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \
> -DPARAVIEW_USE_OSPRAY:BOOL=ON \
> -DVISIT_BUILD_READER_CGNS:BOOL=OFF \
> -DVTK_PYTHON_VERSION=2 \
> -DVTK_QT_VERSION=5 \
> -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \
> -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \
> -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \
> ${VTK_USE_SYSTEM_LIB} \
> ../ParaView-v${_pkgver}
>
> Does any of this look suspicious?
>
> Robert
> --
> Newton's bucket
> http://en.wikipedia.org/wiki/Bucket_argument
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread Robert Sawko
David,

Thanks for a quick reply. Tried with -dr and it's the same. I am attaching my
state file for spheres. It may help someone to reproduce.

I am running it on Arch Linux and paraview is taken from AUR. I am just
looking at the way the binary was generated and I see these options in
cmake

  cmake \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
-DOSPRAY_INSTALL_DIR:PATH=/usr \
-DPARAVIEW_ENABLE_CGNS:BOOL=OFF \
-DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \
-DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPARAVIEW_PYTHON_VERSION=2 \
-DPARAVIEW_QT_VERSION=5 \
-DPARAVIEW_USE_MPI:BOOL=ON \
-DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \
-DPARAVIEW_USE_OSPRAY:BOOL=ON \
-DVISIT_BUILD_READER_CGNS:BOOL=OFF \
-DVTK_PYTHON_VERSION=2 \
-DVTK_QT_VERSION=5 \
-DVTK_RENDERING_BACKEND:STRING=OpenGL2 \
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \
-DVTK_USE_SYSTEM_HDF5:BOOL=OFF \
${VTK_USE_SYSTEM_LIB} \
../ParaView-v${_pkgver}

Does any of this look suspicious?

Robert
-- 
Newton's bucket
http://en.wikipedia.org/wiki/Bucket_argument
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread David E DeMarle
That's pretty crazy. You typically have to do some coding to get the
layering effect.

Try running with -dr to disable your preferences and settings. Also, please
share more information about your binary and OS as well as passing along a
state file to see if anyone can reproduce it.




David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Jan 4, 2017 at 10:12 AM, Robert Sawko  wrote:

> Hi,
>
> I am playing with a 5.1 version of ParaView and I came across a bug or
> feature
> which makes me a little dizzy. Basically, it seems that objects that appear
> lower in the Pipeline Browser are always on top in Render View. That
> behaviour
> was definitely not a default in earlier versions.
>
> Is there a way to switch to a behaviour when objects culling based on the
> spatial position? Please let me know.
>
> I've taken a few pictures of radius 0.5 spheres displaced by 1 in the X
> direction. Funnily enough the perspective is calculated properly so even
> though
> the blue sphere appears behind it's actually bigger.
>
>
> Kind Regards,
> Robert
> --
> The Awkward Case of "His or Her" (MW-series)
> http://www.merriam-webster.com/video/the-awkward-case-of-his-or-her
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview