Message 1 of 1
MaxScript for 3D anaglyph (the ones you look at through the red and blue glasses)

Not applicable
08-18-2009
09:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
After rendering from two side by side cameras and using this script I get a pretty good 3D image, but now I'd like to do the same for a short movie, does anyone know how I should change this script if I want a movie?
Thanks a lot,
Kit.
After rendering from two side by side cameras and using this script I get a pretty good 3D image, but now I'd like to do the same for a short movie, does anyone know how I should change this script if I want a movie?
a = openbitmap (getOpenFileName caption "LeftEye")
b = openbitmap (getOpenFileName caption "RightEye")
c = bitmap a.width a.height
-- create final image combination here
for j= 0 to a.height-1 do
(
for i = 0 to a.width-1 do
(
ColourLeft = getpixels a 1
ColourRight = getpixels b 1
ColourFinal = # (.red , ColourRight.green , ColourRight.blue])
SetPixels c ColourFinal
)
)
Display c
Thanks a lot,
Kit.