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 - caezar

Pages: [1]
1
i

I am using 3Ds Max 2019 with corona 3(Hotfix 1) and trying to set the Gamma to 2.2  in scripts. According to the corona script help from here  [https://corona-renderer.com/wiki/maxscript][/url], the only function comes up with gamma from the renderer list of settings is

 renderers.current.colormap_additionalGamma . Even when setting that to 2.2  it seems that is not working as I get this message while running the script :

 

***WARNING*** CORONA ERROR: 3ds max is configured to use incorrect gamma (1). Value of 2.2 is required for correct output.

and as a result, the rendered images are of very bad quality.

 there any way I can force the gamma value to be 2.2 via the running script and not the GUI as  I am running a batch script.

 

I will upload here the current script that is for a single image to demonstrate the procedure I am following

2
thank you @romullus

I think I figured out the problem now, it seems that using the Corona compatible line :

[renderers.production=CoronaRenderer()]
[/renderers.current.colormap_additionalGamma=2.2]

 is not working as now I am getting this error :
'3ds Max is configured to use incorrect gamma X. Value of 2.2 is required for correct output'

3
Thank you @sprayer
I thought using the model setting would be better rather than keeping the system settings.

4
Thanks alot @PROH
 it does work now.

May I ask you how to do that in MaxScript?  as it only working now with GUI mode?
I tried to save the model with those settings and use the MaxScript but still giving me the same old result ( Bitmap output gamma=1).

I also looked at the available functions of Corona scripts but No chance so I assume its more related to 3D max scripts' functions

5
@sprayer
firstly, thank you for your informative reply.
I have followed your advice, installed 3D max security tools which removed the virus, tried secondary solver as path tracing and none instead of UHD cache, removed the Vray elements in the scene and tried the Corona converter to fix the normal map. Although when using the corona converter ( Start Conversion) nothing happened compared to the tutorial video by Corona, I think its already set based on the startup screenshot attached here.
despite all the above the quality of the output image has been improved.
May I ask you if the image attached in your reply was from the IR or it was the image saved on the desk? because I get same image quality in IR but when I save them on the desk it degrades significantly quality-wise.
thanks again for your time and help again.


6
@romullus, thanks a lot for your helpful notes. I just want to clarify some of the things in your reply:
I was careful when posting the images to show the effect of variable EV with and without corona environment light. Moving EV from -4 to -2 is showing how the image brightness changes from too dark to too bright so I guess the perfect EV is within this range, therefore I used those images as an illustration of the problem.
I did notice that there is no proper lighting in the scene and that's why I used Corona environment light which enhanced the collected images but still not so regular quality images.

Regarding the noontime, I purposely set up the sun so that I can get maximum brightness in the scene for comparison.


@sprayer, I am happy to share the scene.

https://drive.google.com/file/d/1Rcm3_D0mjdGn1m5cNzau1gXP6k0NWGj5/view?usp=sharing
here is a link for the scene please do have a look and tell me if I am doing something wrong.
Ps, there are a couple of map files in the subfolders.

@PROH thank you for your reply, I already have Gamma set to 2.2 and enable gamma/Lut Correction box is ticked .

thank you all for your reply
and I am grateful for your patience and understanding.



7
Thanks for your help.
Basically, I removed the big ball to make sure everything is OK.
Next thing I tried to follow the two videos and here are the problems:
1- The difference in quality between the images in the interactive Rendering and hence the rendered Image and the saved one.
2- the overall quality of the images from the model is not that good comparing to Vray performance.
3- Images are still suffering from either too dark or too bright.
I am attaching the images I did collect under different circumstances: I have added a corona sun to the model based upon the videos and get images when there is only a corona sun and with corona cun and corona sky ( environment).

Am I missing something here as the images look not that good. I will attach all the images here

8
I am having a hard time to get nice images from my 3d max model using corona renderer which I believe because I am not expert in 3d Max. views collected from my model are varied from very bright to very dark as the exposure EV parameter goes fro 0 to -5. I have been advised to set the Exposure EV parameter to -2 or -4 because the scene is an outdoor scene. However, I think there is something missing here and I suspect its the lighting. I will attach the views that I collected via GUI rendering and Maxscript because I use MaxScript the most as well as the MaxScript used.

I will appreciate it if someone has any idea about this problem
I am running 3D Max 2019 and Corona 3.


Pages: [1]