You can call Film::ExecuteImagePipeline(imagePipelineIndex) in order to run one of the pipelines you have defined and than you can collect the result by calling Film::GetOutput(OUTPUT_RGB_IMAGEPIPELINE,bufferPtr).
MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Here is render.cfg
When i execute pipeline for index 0 its work
But when i use index 1 plugin crash and give me error code for violation access on 0.fffffffffffff
I may miss something again.
Code: Select all
renderengine.type = "PATHCPU"
opencl.platform.index = "-1"
opencl.cpu.use = "1"
opencl.gpu.use = "1"
opencl.cpu.workgroup.size = "0"
opencl.gpu.workgroup.size = "0"
opencl.devices.select = "11"
batch.halttime = "0"
film.opencl.enable = "1"
film.opencl.platform = "-1"
film.opencl.device = "-1"
film.imagepipeline.0.0.type = "TONEMAP_AUTOLINEAR"
film.imagepipeline.0.1.type = "TONEMAP_LUXLINEAR"
film.imagepipeline.0.1.sensitivity = "100.0"
film.imagepipeline.0.1.exposure = "2.4"
film.imagepipeline.0.1.fstop = "2.8"
film.imagepipeline.0.2.type = "GAMMA_CORRECTION"
film.imagepipeline.0.2.value = "2.2"
film.imagepipeline.0.2.table.size = "4096"
film.imagepipeline.1.0.type = "INTEL_OIDN"
film.imagepipeline.1.1.type = "TONEMAP_AUTOLINEAR"
film.imagepipeline.1.2.type = "TONEMAP_LUXLINEAR"
film.imagepipeline.1.2.sensitivity = "100.0"
film.imagepipeline.1.2.exposure = "2.4"
film.imagepipeline.1.2.fstop = "2.8"
film.imagepipeline.1.3.type = "GAMMA_CORRECTION"
film.imagepipeline.1.3.value = "2.2"
film.imagepipeline.1.3.table.size = "4096"
film.height = "768"
film.width = "1024"
film.filter.type = "GAUSSIAN"
film.filter.xwidth = "1.000000"
film.filter.ywidth = "1.000000"
film.filter.gaussian.alpha = "0.100000"
lightstrategy.type = "UNIFORM"
sampler.type = "SOBOL"
scene.file = "scene.scn"
Code: Select all
session->GetFilm().ExecuteImagePipeline(0);
session->GetFilm().GetOutput<float>(Film::OUTPUT_RGB_IMAGEPIPELINE, pixels);
I may miss something again.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: MaxLuxCore - 3ds Max Integration for LuxCore
It is "film.imagepipelines.0.0.type", you are missing an "s". The missing "s" is leading to the second pipeline overwriting the first one. So you ask for a pipeline that doesn't exist and boom.
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Sorry to be late, these are some snapshots of the environment variables that i found
i don't know if these are the correct ones or the others .
i don't know if these are the correct ones or the others .
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Thank you so much a1-kh.
I'll going to send you new installer and with new features soo you can test and see if installer work correctlly.
I'll going to send you new installer and with new features soo you can test and see if installer work correctlly.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Great, thanks.
I finished it but, I'm not satisfied with the results especially with depth.
Is there any option with OIDN denoiser so i can optimize it.
Camera Depth Interior Danish Mood Scene
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: MaxLuxCore - 3ds Max Integration for LuxCore
You have strange color "quantization" effect. Can you post the scene in text format (i.e. .cfg, .scn, .ply, etc.) so I can try here and check what is going on
Re: MaxLuxCore - 3ds Max Integration for LuxCore
Yes about the color, i have some questions, please check the scene first.
Also if the camera changes the distance all light power will be effected and the renderer will get different results.
Everythings are same and only change is camera distance to objects.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: MaxLuxCore - 3ds Max Integration for LuxCore
I think something's wrong with , it should'nt be like this.
Code: Select all
scene.materials.Material_25.id = 6,728,256
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: MaxLuxCore - 3ds Max Integration for LuxCore
You may have a problem with C locale, "." Vs. "," and other nation/language related stuff.TAO wrote: ↑Sun Nov 10, 2019 9:06 pm I think something's wrong with, it should'nt be like this.Code: Select all
scene.materials.Material_25.id = 6,728,256