View Full Version : fauxD: 2D to stereo-3D conversion in real-time
freemanvn
10th April 2010, 02:44
-eslave
thank you so much
freemanvn
11th April 2010, 01:53
I think Red Cyan effective than,script of Yellow-Blue no apparent effect(almost never see the 3D effect)
Can you update the new version of FauxD(full script)with new features such as:
- Yellow(Amber) Blue
- Magenta Green
ect...
once again,thank you much
freemanvn
3rd June 2010, 02:20
Mr.-eslave!can you help me now?
How make a script with Green-Magenta glasses?
Thank you first...
eslave
26th July 2010, 01:29
Certainly! Using the same process (http://forum.doom9.org/showthread.php?p=1244315#post1244315)we can easily create fauxD anaglyph functions for any combination of primary colors.
(Sorry for the delay. I've been juggling terabytes of data around and re-shuffling OS partitions once again. It's been several weeks since I've had the time to boot into my 'OldDev' partition to play with this.)
Copy only the blue lines into fauxD.avsi as shown:
...function AnaglyphRedCyan(){}...
#///////////////////////////////////////////////////////////////////
# Create GM anaglyph from 2 clips. Used as a 'mode' function by FauxD()
function AnaglyphGreenMagenta(clip left, clip right)
{
# GREEN filter over left eye, MAGENTA (RB) filter over right eye (for Journey, Monsters v Aliens, Coraline ?)
# http://nzphoto.tripod.com/sterea/anaglyphs.htm "magenta / green - produces bad ghosts on computer screens."
#CopyChannel(MAGENTAtarget, GREENsource)
return CopyChannel(left, right, 1) #use plugin (should be faster?), green is channel offset 1 (BGRA)
return MergeRGB(left.ShowRed, right.ShowGreen, left.ShowBlue) #AVS method
}
...function InterleavedShutter(){}...
...within function fauxDit()...
global reverse_stereo = false #for the sake of completeness, affects AVS functions only
global avs_mode = (stereo_mode == 1) ? "OverUnder" : (stereo_mode == 2) ? "SideBySide" : (stereo_mode == 3) ? "InterleavedShutter" : (stereo_mode == 4) ? "AnaglyphYellowBlue" : (stereo_mode == 5) ? "AnaglyphGreenMagenta" : "AnaglyphRedCyan" # convert integer to string (function name) for fauxD/ScriptClip
use_plugin = (stereo_mode == 3) ? false : use_plugin #'native' shutterglasses are only supported through the AVS function
...If your glasses have Magenta over the LEFT eye then enable reverse-stereo or swap the left/right variable names in the function's parameter list (at the top of the function).
After updating fauxD.avsi you should be able to produce Green/Magenta anaglyphs with an AVS script like this:
Import("fauxD.avsi")
fauxDit(AVISource("somevideo.ext"), 5, 40, false)
-eslave
lolacroft
13th August 2012, 19:38
Mr.-eslave!
Is it possible to make a script:
1. Output depth map only (in order to correct it)?
2. Output Left/Right with the new external (corrected) depth map?
Thank you first...
SkilledAbbot
23rd May 2024, 10:29
Arise from the Grave FauxD!! Any chance there is a 64 bit version of the DLL floating around?
Gomes202
29th April 2025, 10:24
This is unlike anything fauxD presently does.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.