question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Volume rendering, --proxies

See original GitHub issue

Hi all,

Paraviewweb/Visualizer is a very useful tool for demonstration and communication between collaborators working on a project. Here are some problems when testing Visualizer :

(1) I tried to visualize volume data (4 unsigned char components : RGB + opacity) with Visualizer ( the version in ParaView-5.5.0-Qt5-MPI-Linux-64bit), the file is loaded correctly in Visualizer, I uncheck the checkbox “Map Scalars” so that it can directly interpret colors, but I cannot get right volume rendering, it seems that for the opacity it chooses Magnitude instead of taking the last component. I also tried with the nightly build version (ParaView-5.5.0-342-g968ff44-Qt5-MPI-Linux-64bit), which has a new checkbox “Multi Components Mapping” for multi component array, but checked or not, it does not solve the problem. However the visualization works perfectly on Paraview. Could you advise me what to do?

(2) Is it possible to start Visualizer with different defaut settings (check or uncheck checkboxes, specify background color, etc)?

(3) It is interesting to be able to add other readers and filters via the --proxies option, but strangely it crashes, even with the defaut proxies :

/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/bin/pvpython -dr /home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/visualizer/server/pvw-visualizer.py --content /home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/visualizer/www/ --port 8080 --data /home/alex/dev/Data/ --proxies /home/alex/dev/test/defaut_proxies.json
Traceback (most recent call last):
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/visualizer/server/pvw-visualizer.py", line 241, in <module>
    server.start_webserver(options=args, protocol=_VisualizerServer)
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/wslink/server.py", line 180, in start_webserver
    wslinkServer = protocol()
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/web/pv_wslink.py", line 12, in __init__
    vtk_wslink.ServerProtocol.__init__(self)
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/vtkmodules/web/wslink.py", line 44, in __init__
    websocket.ServerProtocol.__init__(self)
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/wslink/websocket.py", line 62, in __init__
    self.initialize()
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/visualizer/server/pvw-visualizer.py", line 192, in initialize
    self.registerVtkWebProtocol(pv_protocols.ParaViewWebProxyManager(allowedProxiesFile=_VisualizerServer.proxies, baseDir=_VisualizerServer.dataDir, fileToLoad=_VisualizerServer.fileToLoad, allowUnconfiguredReaders=_VisualizerServer.allReaders))
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/web/protocols.py", line 1597, in __init__
    self.readAllowedProxies(allowedProxiesFile)
  File "/home/alex/dev/ParaView-5.5.0-Qt5-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/web/protocols.py", line 1632, in readAllowedProxies
    with open(filepath, 'r') as fd:
NameError: global name 'filepath' is not defined

All suggestions and answers are welcome!

Alex

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:30

github_iconTop GitHub Comments

1reaction
Alex9025commented, May 21, 2018

What good news, it’s fantastic! 😉))

0reactions
jourdaincommented, May 24, 2018

Yes with what I previously said.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Empowering Neural Volume Rendering for Animation
To fill this research gap, we propose neural proxy, a novel neural rendering model that utilizes animatable proxies for representing photo-realistic targets.
Read more >
EP3358528A1 - Point cloud proxy for physically-based volume ...
Physically-based volume rendering produces pixels. By assigning depths to the pixels, a 3D point cloud is generated. For more rapid rendering, ...
Read more >
A Novel Framework for Deferred Interaction with Volume Data
Proxy images can be used to inexpensively reconstruct volume rendered images from new views, with new transfer functions, and with new lighting parameters....
Read more >
Proxy-based haptic volume rendering: The proxy is constrained to ...
Expert segmentation of 3D patient data sets can last from several hours to days. In this paper we introduce a direct haptic volume...
Read more >
20180225861 Point cloud proxy for physically-based volume ...
Physically-based volume rendering produces pixels. By assigning depths to the pixels, a 3D point cloud is generated. For more rapid rendering, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found