Skip to content

Project for course in "Visualization & Computer Graphics". The project uses Blender and Python to visualize different x-ray effects, where you can put on different virtual glasses to disort in what order the R, G and B components are displayed in the RGB-vector.

Notifications You must be signed in to change notification settings

KTHVisualization/Visualization-RGBxray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualization-RGBxray

Project for the advanced course DD2258 Introduction to Visualization, Computer Graphics and Image Video Processing at KTH. The project is built in Blender and Python, aimed to visualize different x-ray effects. To begin with, the x-ray-glasses allow you to interpret vectors close to you in one color, and the ones further away in another, and at the same time see through objects. A great way to get a sense of the depth and volume of the objects in front of you.

Image 1

The great scientist behind these glasses does however have a mischievous assistant. This assistant has included a python script in this Blender project. Running the script reveals a button called "Sneaky Stuff" in the side menu. If you click the "Make life harder for scientist"-button all the lines displayed in the x-ray will change to red and green, making life very hard for the scientist, since he's color blind. Continuing to click the button will only result in a switch between the R, G, and B components of the RGB-vector.

Under the same menu "Sneaky Stuff" there is also an option to change the color of the background. This button will make the background either red or green.

Image 2

But worry not! The script has also produced a button in the same side menu called "Fixes", where you can make things right. By clicking "Bring in new glasses" animation keyframes are added. If you run the animation, a new set of glasses are introduced. The view through these glasses replaces both the background and x-ray lines in appropriate colors for someone who is colorblind.

Image 3

Node setup

Node Setup

About

Project for course in "Visualization & Computer Graphics". The project uses Blender and Python to visualize different x-ray effects, where you can put on different virtual glasses to disort in what order the R, G and B components are displayed in the RGB-vector.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%