I will, but tomorrow.
MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender
Re: MaxToLux - 3ds Max Integration for LuxCoreRender
Re: MaxToLux - 3ds Max Integration for LuxCoreRender
I have the affine TM transforms (source position and direction ) of light what is the best way to calculate the target point for LuxCore from it?
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: MaxToLux - 3ds Max Integration for LuxCoreRender
"target = position + direction" where target is a point, position is a point and direction is a vector (the length of the vector doesn't matter).
Re: MaxToLux - 3ds Max Integration for LuxCoreRender
From your giving point i found out the transforms matrix in 3dsmax are inversed and that's fixed the issue. Thanks a lot.
Now Free light source, Free Camera, and other objects with no target are supported correctly.
In addition to that perspective problem related to this issue is fixed now. Also, fix the issue with portrait viewport not render correctly cause by wrong FOV calculation .
Code: Select all
viewPort.GetAffineTM(aTM);
Point3 viewDir = coordSysTM.GetRow(2);
Point3 viewPos = coordSysTM.GetRow(3);
gw->getCameraMatrix(mat, &invTM, &persp, &hither, &yon);
Point3 viewTarget = viewPos - viewDir;
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: MaxToLux - 3ds Max Integration for LuxCoreRender
Sphere light issues fixed.
more than 3000 passes and no issue. I'll try to upload a new build by the weekend. if any problem persists, you need to provide me a scene that shows the issue.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: MaxToLux - 3ds Max Integration for LuxCoreRender
important that you could replicate the reported issue, it was a bug of the light. For other issues i share always the scene.
the sphere light issue escalated after few pass, 3000 passes I can safely say it is fixed
Re: MaxToLux - 3ds Max Integration for LuxCoreRender
I tried to add a flat camera to render the flat views like left and top by adding a camera to infinite distanced and add zoom it but it did not work as I was expected. I'll try again to see what will happen.
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: MaxToLux - 3ds Max Integration for LuxCoreRender
such schematic views are great for project renderings. if you manage to add it then chapeau
May I ask if you meanwhile can release a new build with this latest fix and instance support?
Re: MaxToLux - 3ds Max Integration for LuxCoreRender
I'm a little bit busy on a project this week and I think you need to wait until next weekend so I can manage to release a new build. Also, clean up and upload new code to GitHub.
Sorry for that but there is a problem with special characters like "é" from other languages that can affect the instancing object that I need to fix. it is not a big deal but it is a little bit heavy process to rename all objects always before render and I'm trying to find a better solution.
In the meanwhile, I manage to fix the problem with rotate, scale and modifying the instance objects and that's a piece of good news.
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: MaxToLux - 3ds Max Integration for LuxCoreRender
oh well, good to know, and nothing to be sorry about, I know to be demanding myself.. will be waiting then..TAO wrote: ↑Sun Mar 14, 2021 3:48 pmI'm a little bit busy on a project this week and I think you need to wait until next weekend so I can manage to release a new build. Also, clean up and upload new code to GitHub.
Sorry for that but there is a problem with special characters like "é" from other languages that can affect the instancing object that I need to fix. it is not a big deal but it is a little bit heavy process to rename all objects always before render and I'm trying to find a better solution.
In the meanwhile, I manage to fix the problem with rotate, scale and modifying the instance objects and that's a piece of good news.