Notifications
Clear all

[Closed] projectormap of spot

Hello,

I am a beginner in scripting and I am triing to change the projector map of 100 spots, each time with a different texture map.

So I am triing to write a script which

a> create a texture map from nothing

b> give to this texture map a bitmap

c> give to the projectormap of the spot this texturemap.

After numerous try the only step I can do is step b. And the script listener does not record anything of step c…

Can anyone help me ?

Thanks in advance
Daniel

1 Reply

You can assign the projector map by using the light.projectormap function. Check out the details in the maxscript reference. If you have the details of the texuremap stored, you should be able to assign it traight to the projector eg:

myLight.projectormap texturemap