Kitware / visualizer

The ParaViewWeb Visualizer application which can be used standalone or as a component within another web context.
https://kitware.github.io/visualizer/
BSD 3-Clause "New" or "Revised" License
115 stars 28 forks source link

Cannot display variable for CGNS #48

Open casabap opened 6 years ago

casabap commented 6 years ago

Hello all, First of all, congratulations for your awesome work ! I have an issue when visualising CGNS file:; when switching the representation to "surface", i cannot color by variable, only "solid color" is available If save my file in vtk format in Paraview, evething works fine (v5.4.1)

Another question : is this possible (or planned) to have a different color for each block for multi-blocks mesh , like in paraview?

jourdain commented 6 years ago

Thanks for your kind words.

Regarding your CGNS question, I was wondering if you could select the data array that you want to load/visualize or if they are not even listed in the source section which makes them impossible to visualize them since they are not even loaded. If that's the case, could you point me to a cgns file that highlight that issue? (or you can send a file privately to me too)

For the questions on the blocks, we definitely would like to support that and the features should be available. We just need to ask the representation for the available arrays instead of doing it on the source. I don't think it would be too bad to fix. But we will need to find the time/funds on which we can do it.

Thanks!

Seb

casabap commented 6 years ago

I just tried the last "nightly build" of Paraview and i'm indeed able to visualize my data (and the block hierachy also), thanks

I have a more "delicate" issue- and i don't know if this is the right place to discuss it - but my goal is to customize the viewer in order to create an interaction between the scene and the block/bc list. I.e : i click on a block/bc and the item is hilghted in the 3D view, or in the other hand i click on a block/bc inthe 3D view and the item is highlighted in the block/bc list. With server rendering, of course ;) Is there some kind of methodology to follow ? source code ? link ?

Thank you for your help

Baptiste

jourdain commented 6 years ago

Hi Baptiste,

It is definitely possible but as you imagine, it would be kind of tricky to list all the details here.

Of course that will need to be handled in a custom application on which you can trigger some actor/block picking and change its rendering property so you can see it highlighted.

I think it can easily be done via a small support contract with us. So we can help you design those not so easy pieces either by directly integrating the code into your dev or building a standalone example bringing those pieces together.