Jump to content

No "get" function for undefined - Error in 3dMax 2009


Dario Arnaez
 Share

Recommended Posts

Following a tutorial that I found in the web I did this script to do 3D images (stereoscopic).

But when I run it I get the error: No "get" function for undefined.

Can anybody help me?

 

This is the script

 

a = openbitmap (getOpenFileName caption: "Left image eye")

b = openbitmap (getOpenFileName caption: "Right image eye")

 

c = bitmap a.width a.height

 

-- Fusionando las imagenes

for j= 0 to a.height-1 do

(

for i = 0 to a.width-1 do

(

ColoLeft = getPixels a [i,j] 1

ColorRight = getPixels b [i,j] 1

 

ColorFinal = # ( [ColorLeft[1].red , ColorRight[1].green , ColorRight[1].blue])

 

setPixels c [i,j] ColorFinal

)

)

display c

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...