Search found 9 matches

by Ernest
Tue Mar 23, 2021 4:28 pm
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6595

Re: SDK compatibility issues in VS2019 C++ project with std::string

Hello MMatteini,

found the little missing piece to get your sample running. Please add the following to the compiler command line:

/D_ITERATOR_DEBUG_LEVEL=0
Settings.PNG
This should hopefully solve your problem.
by Ernest
Sun Mar 21, 2021 8:55 pm
Forum: Development
Topic: SDK compatibility issues in VS2019 C++ project with std::string
Replies: 13
Views: 6595

Re: SDK compatibility issues in VS2019 C++ project with std::string

Hello MMatteini, looks like you run into the same problem as I did. I assume you work with the Debug configuration of VS. In this case the _DEBUG switch is active which leads to some modifications to the STL components by introducing additional security checks by MS. This makes your code incompatibl...
by Ernest
Wed Nov 18, 2020 11:01 pm
Forum: Development
Topic: Matching Luxcore & Opengl Field Of View
Replies: 9
Views: 5655

Re: Matching Luxcore & Opengl Field Of View

Short update - looks like I got the modified sample program to render the intended image section.
by Ernest
Mon Nov 16, 2020 11:36 pm
Forum: Development
Topic: Matching Luxcore & Opengl Field Of View
Replies: 9
Views: 5655

Re: Matching Luxcore & Opengl Field Of View

I'm already using the screenwindow properties to setup an image section but as B.Y.O.B.already mentioned I do not understand how exactly these parameters work in Lux. Our camera system uses a similar way to specify the sub-section. The values for the screenwindow are in our case placed on the projec...
by Ernest
Sun Nov 15, 2020 6:27 pm
Forum: Development
Topic: Matching Luxcore & Opengl Field Of View
Replies: 9
Views: 5655

Re: Matching Luxcore & Opengl Field Of View

This is meant by symmetric view: Symmetric.JPG and this by asymmetric - camera placement is unchanged in the following image just screenwindow has changed (by using something like a magnifying glass to view a sub-section) asymmetric.JPG Even if the screenwindow values are symmetric (e.g -xstart == x...
by Ernest
Sun Nov 15, 2020 1:57 pm
Forum: Development
Topic: Matching Luxcore & Opengl Field Of View
Replies: 9
Views: 5655

Re: Matching Luxcore & Opengl Field Of View

Hello, I would like to join this discussion. I have a similar issue when trying to map OpenGL's glFrustum parameters to Luxcore perspective camera settings. Should it be possible to achieve the same results and the same flexibility - especially asymmetric screen sections - with Luxcore as it is poss...
by Ernest
Sun Apr 07, 2019 9:05 pm
Forum: Development
Topic: Adding LuxCore to own application
Replies: 6
Views: 4444

Re: Adding LuxCore to own application

Just FYI: Linking against release build succeeds but crashes at the first luxcore call with std::string as a parameter (as I expected). Would be interesting to know how this can work for @Acasta69 except everything is compiled without _DEBUG and against release runtime. I already created a debug bui...
by Ernest
Sun Mar 31, 2019 10:35 pm
Forum: Development
Topic: Adding LuxCore to own application
Replies: 6
Views: 4444

Re: Adding LuxCore to own application

Thanks for your help. Using a DLL is much easier. I built luxcore myself again as you suggested with .\cmake-build-x64.bat luxcore /dll /debug but the define _DEBUG is still missing in debug config. Also the C++ runtime is set to ReleaseDynamic instead of DebugDynamic. I can of course fix this manua...
by Ernest
Sun Mar 31, 2019 12:37 pm
Forum: Development
Topic: Adding LuxCore to own application
Replies: 6
Views: 4444

Adding LuxCore to own application

After LuxCore got a more liberal license to also be integrated into commercial products I would like to give it a try. Right now I use a modified version of yafaray to render photorealistic images which is quite closely integrated into my app. My first idea was to use the LuxCore SDK but it was not ...