Light mixer, Background image with AOV

Forums: Light mixer, Background image with AOV
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

Light mixer, Background image with AOV

Postby neonZorglub » Mon Mar 15, 2021 12:50 am

neonZorglub Mon Mar 15, 2021 12:50 am
In the AOV tools rollup of the AOV Scene Settings dialog, you can find the Light mixer tool.
This create an AOV output usable in the render
It scans all the objects of the scene, and list the light Ids actually used.
This include all Octane lights, as well as all objects using an Emission texture in their material.

AOV Scene Settings-LightMixer.png


The Light mixer dialog has several options to customize the creation of the layers:
-Include passes: Choose witch type of light passes to include, as well as some other specific passes (Post processing, Background for background image)
-Light IDs from scene: get the light IDs to include by parsing all objects of the scene.
This will add the corresponding passes for objects that are currently visible.
Use Refresh button when you change objects visibility, or add/delete light objects.
-Light IDs : if 'Light IDs from scene' is disabled, you can choose the light IDs to include manually.
-Light passes: You can also include the Direct and Indirect light passes.
-As layer : create a single AOV output with layers for each light pass ID / special pass
-As Outputs : create one AOV output for each of the light pass ID / special pass

Pass list :
Show the passes that will be included in the created AOV output.
Note that the Background is not a regular 'pass', so it doesn't appear in this list.
You can use the context menu to highlight the corresponding objects in the Light object list, or select them in the scene.

Light object list:
This is the result of the scan of all the scene objects.
All visible objects using light emission will appear here.
Use the Refresh button to re-scan the scene.
You can use the context menu to select objects in the scene.

The 'Create AOV light passes button will create or update an AOV output named 'LightMixLayers' (when 'As Layers' is selected).

Note if you change the light list and press the 'Create' button when a 'LightMixLayers' output already exist, this will automatically update the output with new layers,
but unused layers will not be deleted. You may prefer to Remove or rename the 'LightMixLayers' output.



When rendering with the Octane Viewport, you can now choose the 'AOV xx (LightMixLayers)' as a render pass, and enable / disable each layer to examine your lights settings.

Note the context menu (right click) on the Enable check box for the layers, with options to enable only one, all except one or all layers.

---- Background layer -----
An Image AOV output is used to add a Background layer, matching 3dsmax viewport background image.

AOV background.png


The 'Use Viewport background' check box should be enabled, to get the image from the viewport setting, instead of the filename button.
The 'Resize type' should be set to 'Auto fit' to use the 'Aspect Ratio' from the viewport setting (match Viewport, Bitmap or Rendering output)
The 'Unfiltered' checkbox should be disabled, unless you are using an EXR image, that may fail to be resized in some cases.
The 'Save scaled image to file' should be disabled, unless you want to re-assign the image / animated images once your output size is fixed, to avoid further rescalling.

Animated background images are supported with the .ifl format (list of images).

The default setting when using the Light mixer with a background image will use the bottom layer (Layer 1) as an AOV image,
and the next Layer (Layer2 ) will be set to use 'Normal' blend mode, instead of the default 'Add' blend mode.
If you re-order or change the next layer, remember to set it as Normal blend mode.

The Alpha channel should be enabled in the Kernel / Kernel type setting of the Render setup dialog.

Note that the previous way to display the 3dsmax background should be disabled ('Use viewport background' in the Kernel / Render view Settings of the Render setup dialog).
This is limited to a full view scaling, witch didn't match 3dsmax viewport, and is not exported to orbx.
The new AOV image has a correct scaling, and is exportable to orbx.

Here is a sample with several lights and a background image.
You can remove the current AOV output, and try the different options to re-create it.
lightMixer_sample.zip
(2.22 MiB) Downloaded 132 times
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 892
Joined: Sun Jul 31, 2016 10:08 pm

Re: Light mixer, Background image with AOV

Postby efforce » Mon Mar 15, 2021 5:08 am

efforce Mon Mar 15, 2021 5:08 am
Thank you very much for creating this post.
Will this information be included in the new manual? or ..is Otoy writing a new manual for 3Ds max plugin?
A suggestion is maybe a demo light mixer scene can be included so we can "play" and see how this is setup
efforce
Licensed Customer
Licensed Customer
 
Posts: 30
Joined: Mon Nov 19, 2018 7:30 am

Re: Light mixer, Background image with AOV

Postby neonZorglub » Tue Mar 16, 2021 2:35 am

neonZorglub Tue Mar 16, 2021 2:35 am
efforce wrote:Thank you very much for creating this post.
Will this information be included in the new manual? or ..is Otoy writing a new manual for 3Ds max plugin?
A suggestion is maybe a demo light mixer scene can be included so we can "play" and see how this is setup


I added a small sample scene :)
The documentation should be updated soon.
Thanks
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 892
Joined: Sun Jul 31, 2016 10:08 pm

Re: Light mixer, Background image with AOV

Postby Elvissuperstar007 » Wed Mar 17, 2021 4:24 pm

Elvissuperstar007 Wed Mar 17, 2021 4:24 pm
but can I somehow add this by default from the right as a panel? like Corona render, it's not convenient now


and it looks scary, where is the interactive? Why is there so much unnecessary in the panel, we are just accustomed to the layer with the name, and here the meat is in front of our eyes, why did we complicate it so much?

yet simple
Attachments
90bd3c72ef79ab02aaa3ff5998ff2349.jpeg
Max2020_VRay5_Layers_LightMix.png
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Light mixer, Background image with AOV

Postby Elvissuperstar007 » Wed Mar 17, 2021 5:07 pm

Elvissuperstar007 Wed Mar 17, 2021 5:07 pm
chaos before my eyes
you urgently need specialists - interface artists, this is a disaster
Attachments
AOV background.png
14068165377783.jpg
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Light mixer, Background image with AOV

Postby ramone163 » Mon Mar 22, 2021 11:18 am

ramone163 Mon Mar 22, 2021 11:18 am
Elvissuperstar007 wrote:chaos before my eyes
you urgently need specialists - interface artists, this is a disaster


agree
GPU: 980+1080+1080Ti; 3ds max;
Behance portfolio; Handmadefont.com;
ramone163
Licensed Customer
Licensed Customer
 
Posts: 245
Joined: Tue Aug 28, 2012 5:12 pm

Re: Light mixer, Background image with AOV

Postby paride4331 » Mon Mar 22, 2021 3:38 pm

paride4331 Mon Mar 22, 2021 3:38 pm
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3686
Joined: Fri Sep 18, 2015 7:19 am

Re: Light mixer, Background image with AOV

Postby Elvissuperstar007 » Mon Mar 22, 2021 9:39 pm

Elvissuperstar007 Mon Mar 22, 2021 9:39 pm
paride4331 wrote:https://render.otoy.com/forum/viewtopic.php?f=24&t=77111&p=398124#p398124



all this should be by default, not third-party scripts and nodes.
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Light mixer, Background image with AOV

Postby samsue » Wed Mar 24, 2021 12:20 pm

samsue Wed Mar 24, 2021 12:20 pm
honestly, I haven't even tested this function... I need to get up the courage to face it
samsue
Licensed Customer
Licensed Customer
 
Posts: 388
Joined: Thu Jan 17, 2019 10:04 am

Re: Light mixer, Background image with AOV

Postby samsue » Wed Mar 24, 2021 12:33 pm

samsue Wed Mar 24, 2021 12:33 pm
Elvissuperstar007 wrote:chaos before my eyes
you urgently need specialists - interface artists, this is a disaster



this is soooo true!
samsue
Licensed Customer
Licensed Customer
 
Posts: 388
Joined: Thu Jan 17, 2019 10:04 am
Next

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 8 guests

Thu Mar 28, 2024 2:45 pm [ UTC ]