Malkalypse
@malkalypse
New Member
Joined: Feb 15, 2024
Topics: 269 / Replies: 900
Reply
RE: Light from scripted spotlights not initially showing in viewport

…okay, this is just really weird. fn test = ( viz = point pos:[0,0,0] lit = freeSpot() lit.pos.controller = position_Constraint() l…

8 years ago
Forum
Reply
RE: Light from scripted spotlights not initially showing in viewport

Hm, it seems to be adding the position that does the trick, so freeSpot() does not work, but freeSpot [x,y,z] does. Right now I’m working with a scri…

8 years ago
Forum
Reply
RE: Light from scripted spotlights not initially showing in viewport

Don’t apologize. Thank you for trying to help!

8 years ago
Forum
Reply
RE: Light from scripted spotlights not initially showing in viewport

Two things: First, it isn’t the light object that is failing to show up. It’s the lighting cast from it. Second, the problem does not occur in Max 201…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

everything is simple with max SDK… That sentence almost made my brain explode. I know that these methods can be accessed directly using the SDK, bu…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

What is the “on entered” event handler btw? –EDIT: Never mind, I misunderstood what you were saying. Thanks for all the help

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

Yeah now that you pointed it out that’s true. Not sure why selections don’t do the same, but oh well. It’s still a fantastic bit of code

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

Okay, things have been crazy, but I finally got a chance to open this back up and take a look at it. The code works great save for one problem: it se…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

Very cool! I can’t wait to try it out.

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

Well I have to put this aside for a while, but it would be great if Denis or anyone else could solve the last remaining problem I’m having by the time…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

This is my test setup: — (ComboBoxOpsAssembly code) ca = attributes “ca” ( parameters params rollout:RO ( lt type:#node preset type:#integer u…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

Okay, that gets me closer, the only issue now is that I want the selection to return to the control object after the change has been made. ca = attri…

8 years ago
Forum
Reply
RE: Set photometric light preset via maxscript?

When you say “set the light as a modified object”, I assume you are talking about invalidating it. Is that something that would be handled with a call…

8 years ago
Forum
Page 3 / 78