Skip to content

seb776/veDDDa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

veDDDa 3000

A livecoding environnement for 3D (glasses) shader coding based on veda. Image Image

What can I do with it ?

If you're a shader developer, you can use it to livecode shaders the way you are used to and veDDDa 3000 does the job to display it properly in 3D. Image

Features

  • Interfaced with veda
  • Hot reload
  • Eyes calibration interface (CTRL to get a finer controller)
  • FFT
  • Textures support through .vedarc
  • backbuffer
  • Console log

A bit of story

veDDDa 3000 started as an envy to try to make 3D visuals like in cinemas but with livecoded shaders. After a bit of research and a few tests I gathered everything I needed to create my own 3D setup (screen, videorprojectors...) Now I'm using it to do live performances :)

How does it work ?

For displaying 3D images that the human eye can perceive as 3D, we need a way to make each receive a different image. Those images have to be separated by a distance simulating the distance between the two eyes. Generating two different images is the easy part, the harder one is making each eye perceive a unique image. To do so there are two main ways of doing 3D using video projectors either Active or Passive. Both ways are using glasses.

Active 3D (synchronised)

Active 3D uses some kind of synchronisation to the beamer to alternante between the left and right eye images and the glasses are sync to this by different ways (DLP link, IR, bluetooth...) and make the glass "flicker" in sync with the beamer allowing each eye to see the proper image.

Pros

  • Good image quality
  • Keeps brightness
  • Keeps colors
  • 1 Video projector

Cons

  • Expensive (50$ glasses)
  • Specific to the beamer
  • Need to charge the glasses
  • Can be interfered with

Passive 3D

Passive 3D does not use active synchronisation, only using passive filters. It relies on light polarization to work. Basically light can have a sort of "angle" property allowing to have a "perpendicular" filter blocking light or "parallel" filter allowing light to pass through. The setup consists in two beamers each one having an orthogonal (to each other and aligned with glasses) polarization filter in front of it. It also requires a specific screen that keeps light polarization. This is actually the harder part of the setup as the proper screens are extremly expensive as they are usually sold to cinemas.

Polarization can be done either linear or radial, the only difference being that tilting your head works with radial polarization but "breaks" the immersion with linear polarization.

Polarization

Pros

  • Cheap glasses (less than 1$)
  • Good image quality
  • Keeps colors

Cons

  • Expensive screen
  • Low brightness
  • Low viewing angle
  • 2 beamers
  • A bit harder to setup

Anaglyph

The main way people know to make 3D is the old Cyan-Red glasses which are called anaglyph.

Pros

  • Cheap glasses
  • 1 beamer

Cons

  • Strongly affects colors
  • Subject to "ghosting"

My setup

I personnaly chose Passive Linear 3D to make live performances with it, cheap glasses and good color quality were my criteria allowing to have an immersive result and being able to make the most people to watch it live. Finding the resources at a good price was a challenge in itself so here are the product I found

Mounting Mounting Mounting Mounting Mounting Mounting

Roadmap

WIP

  • Show code
  • Allow to create a new shader => generate boilerplate

Future

  • Handle includes
  • Prefix boilerplate functions to avoid name collisions
  • Add anaglyph support
  • Add midi support
  • Handle GLSLify
  • Make it compatible with other 3D softwares (IO, main function...)
  • Autocalibration (corners and colors) only for passive 3D
  • Setup / Live mode
  • Avoid compiling shader 2 times
  • Add top-down / left-right and frame alternating support to support active 3D
  • Display hardware stats (GPU, CPU...)
  • Handle multipass ?
  • Issue with code texture not always appearing on both eyes
  • Clean code / reorganize
  • Make build asynchronous so it does not hang when updating code

Releases

No releases published

Packages

No packages published