Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

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

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

Anonymous
Not applicable
244 Views
0 Replies
Message 1 of 1

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

Anonymous
Not applicable
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?

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.
0 Likes
245 Views
0 Replies
Replies (0)