2025-06-18, 00:15:42
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Max controllers output wrong XYZ rotation values
Print
Pages: [
1
]
Author
Topic: Max controllers output wrong XYZ rotation values (Read 2748 times)
2017-11-22, 11:59:26
Alexandre SCELLIER
Active Users
Posts: 31
Max controllers output wrong XYZ rotation values
Hi,
I'm actually using max controllers to control multiple triplanar maps values (see attachment).
I have a problem due to wrong output values controlling the xyz rotation of the triplanar map. Don't know if it's a 3ds max problem or a Corona one.
Any help would be great!
Thx.
Logged
2017-11-22, 12:46:54
Reply #1
Ondra
Administrator
Active Users
Posts: 9048
Turning coffee to features since 2009
Re: Max controllers output wrong XYZ rotation values
5156 = RAD_TO_DEG(90) - somewhere someone takes input and converts it from radians to degrees
Logged
Rendering is magic.
|
How to get minidumps for crashed/frozen 3ds Max
| Sorry for short replies, brief responses = more time to develop Corona ;)
2017-11-22, 14:21:22
Reply #2
Alexandre SCELLIER
Active Users
Posts: 31
Re: Max controllers output wrong XYZ rotation values
Ok, then how can i make it work?
What's the way to use those controllers? Do i have to use a controler with a function (FloatExpression? > degToRad(x)) ? I'm a basic user and i really don't know about coding ... A micro-super-fast tutorial would be very appreciated =D
Best regards.
«
Last Edit: 2017-11-22, 18:35:19 by Alexandre SCELLIER
»
Logged
2017-11-22, 18:34:40
Reply #3
Alexandre SCELLIER
Active Users
Posts: 31
Re: Max controllers output wrong XYZ rotation values
FOUND IT! Thx Ondra for showing me the way =P
Logged
2017-11-22, 18:55:18
Reply #4
romullus
Global Moderator
Active Users
Posts: 9250
Let's move this topic, shall we?
Re: Max controllers output wrong XYZ rotation values
That's good to know, but couldn't Corona do that conversion internally? It's not very convenient nor intuitive for user to construct such node graphs.
Logged
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models
|
My Videos
|
My Pictures
2017-11-22, 19:12:25
Reply #5
Njen
Active Users
Posts: 557
Re: Max controllers output wrong XYZ rotation values
It's inline with how the rest of Max operates. Yes it's annoying, but to be honest for consistency's sake I'd rather keep it as is, rather than having to remember one expression rule for Corona, and another for the rest of Max.
Logged
2017-11-22, 19:54:28
Reply #6
romullus
Global Moderator
Active Users
Posts: 9250
Let's move this topic, shall we?
Re: Max controllers output wrong XYZ rotation values
Oh well, can't argue with that.
Logged
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models
|
My Videos
|
My Pictures
2017-11-23, 10:43:16
Reply #7
Ondra
Administrator
Active Users
Posts: 9048
Turning coffee to features since 2009
Re: Max controllers output wrong XYZ rotation values
yep, it is up to 3dsmax to sort out radians vs. degrees inconsistency. Programmers should use radians, users degrees. I guess using controllers counts as programmer work :D
Logged
Rendering is magic.
|
How to get minidumps for crashed/frozen 3ds Max
| Sorry for short replies, brief responses = more time to develop Corona ;)
Print
Pages: [
1
]
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Max controllers output wrong XYZ rotation values