Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - J_kelloggs

Pages: [1]
1
[Max] I need help! / Re: Maxscript CoronaSun
« on: 2023-04-17, 16:29:11 »
its basically the same i just need to move the corona sun in the viewport with the maxscript cuz the full code will have things to modify the render settings too just need help with this part of the code

2
[Max] I need help! / Maxscript CoronaSun
« on: 2023-04-17, 15:45:18 »
Hello,
so my goal is to find the parameter to change the position of the sun but for some reason i cant find the one used by corona.
 Making a script to change the position of the corona sun based on the time selected in a drop down menu

this is what i have tried so far but recive this error
Code: [Select]
"06:00": sun.position = eulerangles [0, 0, 0]
Code: [Select]
-- Error occurred in anonymous codeblock; filename: "" position: 899; line: 29
-- MAXScript Rollout Handler Exception:
-- Argument count error: EulerAngles wanted 3, got 1
-- MAXScript callstack:
-- thread data: threadID:9404
-- ------------------------------------------------------
-- [stack level: 0]
-- In TOD.selected(); filename: "" position: 900; line: 29
-- member of: Rollout:SLA
-- Parameters:
-- sel: 2
-- Locals:
-- sel: 2
-- TimeofDay: "06:00"
-- Externals:
-- owner: Rollout:SLA
-- TOD: RolloutControl:TOD in rollout:SLA : ComboBoxControl:TOD
-- SLA: Rollout:SLA
-- sun: Object
-- ------------------------------------------------------
-- [stack level: 1]
-- called from top-level



Pages: [1]