How to render a 3D model like a blue sci-fi hologram?


Question

In IronMan 3, Eve-Online, or Star Trek, 3D models render in a bluish fashion.

Examples:

enter image description here

enter image description here

Is there a simple way to achieve this result with my own models? I typically use Blender, but if it is easier in another software package, I'm pretty agnostic...

1
5
5/30/2014 9:07:00 AM

Accepted Answer

This is pretty easy in cycles, by mixing a transparent node with an emission shader based on how close the camera is to facing the normals head on.

You can get the "facing" value with a Layer wieght node or by taking the dot product of the normal and the incoming rays from the camera:

enter image description here

These methods are pretty much equivalent, though you have a handy blending factor if you use the layer weight node.

Plug this into a mix node:

enter image description here

And you get this:

enter image description here

To get rid of the geometry behind the rest of the model, you can use the Transparent depth output of the lightpath node (note that this output is only available in the latest development versions of blender, but it will be in 2.71)

This value goes up based on the number of "transparent bounces" (a transparent bounce refers to the sampling ray passing through a transparent layer/surface of the mesh). Since we only want to see the top layer, we can use a Less than math node and a mix shader node to make every bounce past the first bounce (bounce 0) will use only the completely transparent shader (Transparent Depth is never negative, so this is basically testing if it's equal to 0).

enter image description here

enter image description here

If you want more control, you can use a ColorRamp node to fine tune the blending as much as you like:

enter image description here

enter image description here

Here is an example .blend for you to play with.


Note that I hid some of the input/output sockets on the nodes with CtrlH to conserve screen real-estate. So they might look different.

14
4/13/2017 12:57:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
^