Improved support of Environment maps

Forums: Improved support of Environment maps
3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here viewforum.php?f=18

Improved support of Environment maps

Postby neonZorglub » Thu Aug 05, 2021 5:40 am

neonZorglub Thu Aug 05, 2021 5:40 am
Improved support of Environment maps (from version 2020.2.4 - 11.10 / 2021.1 RC1 - 12.01)

-Updated support of standard bitmap directly in 3dsMax Environment map.
-Added support of standard bitmap in Octane daylight.
-Added automatic conversion of Octane RGB image to standard Bitmap.
-Simplified Octane Daylight UI, hiding sun parameters when using the Texture mode.
-Updated the wireframe shape used for daylight when using the Texture mode.
-Added a new panel 'Environment' in Render settings / 'Support' tab.
-Added Octane environment parameters when using standard bitmap.

The simplest work flow to use environment map is to assign a standard bitmap (hdr, jpg,..,with spherical mapping) in the 3dsMax environment map.
It will be rendered by Octane as in the 3dsMax viewport.

When using an Octane daylight instead or additionally, the environment type can be set as Texture or Daylight,
and the texture can be an Octane RGB image or a Standard bitmap.

The new 'Environment' panel should help to see and select the 2 kinds of environments available in Octane, and assign one of them to the 3dsmax viewport.

Reminder: Octane has 2 kinds of environments : a Main and a Visible.
The Main environment defines the background image and the global lightning, with an optional Medium texture, and the Visible environment can be set as source of reflection, refraction, replace the background image (backplate), etc..



New Environment panel settings:
The Main and Visible combo boxes allow to enable one of the available environments.
The corresponding 'op.' buttons show a menu for the selected environment, to help assign, select, or convert it.

The "3dsMax Env. Map." status shows information about the map currently assigned to 3dsMax environment / viewport.

The "Options..." button shows options related to the 3dsMax environment / viewport, help to have the same background as Octane.

Auto assign can be enabled to ensure that the 3dsmax viewport always display the same background as Octane.

An additional information ("Warning..") may be displayed if an invalid setting is detected, and a Help button will propose to fix the issue.

The group box "3dsmax environment" show the settings to use for the corresponding Octane environment.
Those settings are part of an Octane daylight, so there are only displayed when using a standard Bitmap.

The group box "Other environment" provides the same settings, when a Vray or Corona sunlight is present and enabled.


Updated to the Daylight object settings:
Beside the On/Off check box, the "Others..." buttons allows to turn on another daylight

Under the Texture button, a "vp.." button allows to assign the texture to 3dsMax environment, or create an Octane RGB image from the Bitmap when available.
An additional texture button is displayed when a conversion is needed for correct display in 3dsMax viewport.
You can use the Assign options, or manually drag the Bitmap to the 3dsMax environment.

Note that when using Texture type instead of Daylight type, the sun parameters are not displayed,
the "target distance" is shown as "display size", and the light is drawn as an open sphere.


When loading an existing scene that uses an Octane "Texture environment" , the 3dsmax viewport is incorrect.
The expected standard bitmap can now be automatically created by using the 'Help...' button, and select
"Create Octane daylight from 3dsMax Environment (..)"
(see samples octane_envir05_OctEnvTx_wrongDisplay.max and octane_envir06_OctEnvTx_fixed.max)



Here are some samples to illustrate the new features:

OctaneEnvironmentSamples.zip
(1.75 MiB) Downloaded 159 times




------------- 01
octane_envir01_stdBitmap.png

octane_envir01_stdBitmap.max
-a standard Bitmap is assigned to the 3dsmax Environment map.
-a 3dsmax viewport is set to display the 3dsmax Environment background
-the environment settings are available (power, medium, ..) and will affect the Octane render.
-changing the Bitmap orientation (Coordinates, Offset U) will update the octane environment.

----------- 02
octane_envir02_RGBImage_to_Bitmap.png

octane_envir02_RGBImage_to_Bitmap.max
-an Octane RGB image is used in a Daylight. (Map #2)
-it is automatically converted to a standard Bitmap (OUT_map#2), assigned to the 3dsMax Environment
-changing the RGB image orientation (UV transform, translation X) will automatically update the 3dsmax viewport.

----------- 03
octane_envir03_SecondMap+Sunlight.png

octane_envir03_SecondMap+Sunlight.max
-an Octane daylight is used as the Main environment with a texture and sun parameters
-a second Octane daylight, with kind set as Visible, is used for reflections and refractions

----------- 04
octane_envir04_medium.png

octane_envir04_stdBitmapWithMedium.max
-a standard Bitmap is assigned to the 3dsmax Environment map.
-a Medium map is assigned in the Environment panel, and rendered by Octane.


----------- 05
octane_envir05_OctEnvTx_wrongDisplay.png

octane_envir05_OctEnvTx_wrongDisplay.max
This illustrate the issue of using a Texture environment or a RGB image directly in the 3dsmax Environment map slot.
It renders correctly in Octane, but the 3dsmax viewport is incorrect.


----------- 06
octane_envir06_OctEnvTx_fixed.png

octane_envir06_OctEnvTx_fix.max
Using octane_envir05_OctEnvTx_wrongDisplay, we just need to use the 'Options...' button, and select
"Create Octane daylight from 3dsMax Environment"
Both Octane and the 3dsmax viewport match.
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 19 guests

Thu Apr 25, 2024 12:31 pm [ UTC ]