Author Topic: Please support 3ds Max "Sun Positioner"  (Read 12930 times)

2019-04-24, 13:02:55

Frood

  • Active Users
  • **
  • Posts: 1903
    • View Profile
    • Rakete GmbH
The standard daylight system is already referred to as "legacy" meanwhile. The sun positioner (since Max2017) is a real improvement, simplifying things a lot. Read more about it here:

https://knowledge.autodesk.com/support/3ds-max/getting-started/caas/CloudHelp/cloudhelp/2019/ENU/3DSMax-Lighting-Shading/files/GUID-53783CF5-7EBF-4E8C-ACC2-BCA5CD9AD8EB-htm.html

Another essential difference to the daylight system is, that we finally got proper max script access to the date values (still cannot belive it but yes!). Here is the MaxScript documentation:

http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_6CCF1D3D_772E_4520_A4F6_055C9A51DC72_htm

Reading or setting date/time via script and piping it into Corona renderstamp, a text object or whatever is no problem any more. It's a decades old max issue which is resolved here, finally making it possible to fully automate sun/shadow studies.

Please support it.


Good Luck



Never underestimate the power of a well placed level one spell.

2019-04-24, 14:16:06
Reply #1

alexyork

  • Active Users
  • **
  • Posts: 699
  • Partner at Recent Spaces
    • View Profile
    • RECENT SPACES
Does it still not have seconds control? I seem to remember it didn't, which makes it useless in some specific instances.
Alex York
Partner
RECENT SPACES
recentspaces.com

2019-04-24, 15:08:06
Reply #2

Frood

  • Active Users
  • **
  • Posts: 1903
    • View Profile
    • Rakete GmbH
Not exposed in the UI it seems. The track for time of day is the time in seconds since midnight. You are right, seconds would be nice to have sometimes. I wonder what reasons they had for skipping them.

Edit: Had a closer look and it seems like that darn thing (the sunpositioner itself) has a 1 minute resolution in its movement built in. Despite having a seconds track and looping the seconds from 0 to 120, sun position leaps from one full minute position to the next. Another you-know-who-company gift...

But I still would sacrifice the seconds for the ease of use and proper maxscript access.


Good Luck



« Last Edit: 2019-04-24, 15:28:01 by Frood »
Never underestimate the power of a well placed level one spell.

2019-05-03, 10:47:28
Reply #3

bohus.brecka

  • Corona Team
  • Users
  • ****
  • Posts: 4
    • View Profile
Hi,

are you interested only in the support of the Sun Positioner data in the Corona renderstamp or also something else regarding the Sun Positioner? According to our tests it works properly without our support when Render Setup > Scene > Scene Environment > "Use 3ds Max settings (Environment tab)" is selected. Is that sufficient?

PS: I am part of the Corona Team, I just do not have the profile settings done yet.

Bohus

2019-05-03, 14:29:19
Reply #4

Frood

  • Active Users
  • **
  • Posts: 1903
    • View Profile
    • Rakete GmbH
Amazing, wasn't aware of the fact that Corona is able to render that "physical Sun&Sky" map and that sun as well? What "sun" and "sky" is this now? Corona sun in disguise? Even caustics are working with it.

Basically I'm not looking for support for the render stamp directly at all, this is easily doable by script. The problem with the legacy daylight system is, that you cannot access the date correctly.

So I was hoping to get a replacement for the daylight system working like one in every aspect, but easier to handle and with proper script access. What I get now when using the sunpositioner is a sun which does not show up in any light lister (because it's only there at render time?), cannot be added to a lightselect element (meaning isolated, the sun is always part of environment) and does not offer Corona sun/sky specific properties. Probably the concept of that sun positioner is so different (combining sun + sky to "environment") that it's not fitting well into traditional treatment of a scene, even from a renderers point of view?


Good Luck



Never underestimate the power of a well placed level one spell.

2019-05-06, 16:34:49
Reply #5

sevecek

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 197
    • View Profile
Hi Frood,
the physical sun&sky map is just a procedural environment map, it has nothing to do with Corona Sun and Sky.
Unfortunately, this also means that it is a black box for us, so we cannot split it to separate LightSelect elements.
The only way to do that would be to make our own sun positioner.
In any case, we cannot support this more than we already do.

2020-10-20, 10:10:36
Reply #6

Rhodesy

  • Active Users
  • **
  • Posts: 553
    • View Profile
Any chance this could be looked at again? Or perhaps the making of Coronas own sun positioner if its not possible to use the Max one as suggested? Its a really useful feature.

2020-11-09, 19:17:17
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12717
  • Marcin
    • View Profile
Any chance this could be looked at again? Or perhaps the making of Coronas own sun positioner if its not possible to use the Max one as suggested? Its a really useful feature.

Sorry for the delay. I will need some more info here:

What is the main point here? To have the 3ds Max "Sun Positioner" object fully support all Corona features like the Corona Sun and the Corona Sky?

If so, how is it better than the 3ds Max "Daylight System", which already does support Corona Sun and Corona Sky, and also allows for setting the sun position based on real world location?

If we were to develop our own Corona Sun Positioner, what would be the features that you need?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-11-10, 15:39:21
Reply #8

nauticus25

  • Active Users
  • **
  • Posts: 63
    • View Profile
The Max Daylight System works great, but it always takes a few extra steps to get the Corona stuff plugged in. It would be nice to have it default to the Corona Sun, no skylight, and Coronasky environment when you create it.
i9-12900K @ 3.2GHz, 64GB RAM, 3090ti
Max 2024, Corona 10

2020-11-10, 16:05:35
Reply #9

Frood

  • Active Users
  • **
  • Posts: 1903
    • View Profile
    • Rakete GmbH
but it always takes a few extra steps to get the Corona stuff plugged in.

That could be done by a macroscript which creates a sun and sky system with a Corona sun and disabled skylight with one click. Maybe something useful for the Corona toolbar?

Alternatively yes, a start could be a "CoronaDaylight" (in create panel -> systems), just derived from the standard daylight but using a Corona sun as default. But I see no reason for a dedicated Corona sun and sky system - except for reasonable script access. I think that's not worth all the effort.


Good Luck


Never underestimate the power of a well placed level one spell.