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.

If two geometry files are loaded, and they color by same scalars name, here is a problem?

See original GitHub issue

I have loaded two geometry files, they are like this.

  1. Vessel.vtk image
  2. Segmentation.vtk image

When I show them at the same time and all color by scalars. It will like this, they are rendering by one colormap. image

It seems that they are using the same ~representation~lookupColorTable(I have read the code), is it a deliberate design?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ziqiangxucommented, Aug 5, 2020

I see, thank you very much.

1reaction
jourdaincommented, Aug 5, 2020

Same field name should have a shared color scale otherwise you could not compare the temperature of 2 objects accurately. If you want to get independent coloring for meshes, you should not name your field scalars everywhere. You could use the name of your geometry assuming that one is unique.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slicer/DICOMScalarVolumePlugin.py at main - Modules - GitHub
This is the plugin to handle translation of scalar volumes. # from DICOM files into MRML nodes. It follows the DICOM module's. #...
Read more >
Blender for scientific visualization - Point color interpolation ...
Problem I am trying to avoid: Because of the way blender interpolates the colors of the underlying triangles of the geometry, the colors...
Read more >
VTK File Formats
If the file format is ASCII, the color scalars are defined using nValues float values between (0,1). If the file format is BINARY,...
Read more >
integer operations review answer key - Le Case Tecnologiche
Factoring Sum and Difference of Two Cubes: Practice Problems. Integer Operations Color by Number- Answer Key -5 -5 -5 -5 21 21 21...
Read more >
EE263 homework problems Lecture 2 – Linear functions and ...
Two goods are called substitutes if they provide a similar service or other ... The data for this problem is in the an...
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