Page 1 of 4
LuxCore standalone questions
Posted: Sun Mar 03, 2019 3:11 am
by Fox
How can i change default film resolution, now it's 1920 x 1080 in LuxCore Ui?
I was able to add some presets, but default i can not find.
Made default font size 2x bigger, but to change default font type, if anybody can help with that?
Added longer refresh interval for this long CPU renders, but this is mostly pointless.
Also copied an color scheme from imgui forum topic.
Re: LuxCore standalone questions
Posted: Sun Mar 03, 2019 8:11 am
by B.Y.O.B.
To decouple resolution from window size I would recommend to open the Tool menu and select "Image view". This will also set the refresh time to 4 seconds.
Re: LuxCore standalone questions
Posted: Sun Mar 03, 2019 11:17 am
by Fox
B.Y.O.B. wrote: ↑Sun Mar 03, 2019 8:11 am
To decouple resolution from window size I would recommend to open the Tool menu and select "Image view". This will also set the refresh time to 4 seconds.
Yes i have it by default now in cfg
Re: LuxCore standalone questions
Posted: Sun Mar 03, 2019 4:21 pm
by Fox
If anybody likes to change their color scheme,
the stats window color is in luxcoreapp.cpp
Code: Select all
ImVec4 LuxCoreApp::colLabel = ImVec4(
Most of it can be found in imgui.cpp
Re: LuxCore standalone questions
Posted: Tue Mar 05, 2019 1:22 am
by Fox
About the fonts in LuxCore standalone, the tutorial was like below
Code: Select all
// load the Roboto-Medium.ttf file from the media directory
ImFont *pRoboto26 = GUI->addFontFromFileTTF("D:/CP/Roboto-Medium.ttf", 26.0f);
GUI->compileFonts();
ImGui::PushFont(ImFont * pFont)
Now i'm not sure in what file i have to put this lines and where, imgui.cpp, imgui_draw.cpp, luxcoreapp.cpp
Re: LuxCore standalone questions
Posted: Tue Mar 05, 2019 6:14 am
by lacilaci
Fox wrote: ↑Sun Mar 03, 2019 4:21 pm
If anybody likes to change their color scheme,
the stats window color is in luxcoreapp.cpp
Code: Select all
ImVec4 LuxCoreApp::colLabel = ImVec4(
Most of it can be found in imgui.cpp
LuxCoreRender Stats Window Colors.jpg
Why isn't this a default?
It is kinda weird to see renderer UI have a color cast to it like it does now. It's almost like Dade is intentionally trying to throw people's color perception off, in a color sensitive work!
Re: LuxCore standalone questions
Posted: Tue Mar 05, 2019 7:55 am
by Fox
lacilaci wrote: ↑Tue Mar 05, 2019 6:14 am
Why isn't this a default?
It is kinda weird to see renderer UI have a color cast to it like it does now. It's almost like Dade is intentionally trying to throw people's color perception off, in a color sensitive work!
It's more of a testing tool for devs, i'm all in with LuxCore blender internal when auto save feature comes, the new Blender 2.8 ui looks so beautiful.
Re: LuxCore standalone questions
Posted: Tue Mar 05, 2019 8:17 am
by lacilaci
Fox wrote: ↑Tue Mar 05, 2019 7:55 am
lacilaci wrote: ↑Tue Mar 05, 2019 6:14 am
Why isn't this a default?
It is kinda weird to see renderer UI have a color cast to it like it does now. It's almost like Dade is intentionally trying to throw people's color perception off, in a color sensitive work!
It's more of a testing tool for devs, i'm all in with LuxCore blender internal when auto save feature comes, the new Blender 2.8 ui looks so beautiful.
Yeah I guess you're right... And yes 2.8 is great, I always build everything in 2.8 and then move to 2.79 for luxcore rendering(painfull process).
Re: LuxCore standalone questions
Posted: Wed Mar 06, 2019 11:38 pm
by Fox
If somebody is in the need of doing Direct Light Sampling Cache or PhotonGi Cache in the standalone version,
then it's smart to set default render resolution, so you would not need to wait after 2 Cache builds.
luxcorerender\LuxCore\samples\luxcoreui\uiloop.cpp
Somewhere under the section
Code: Select all
//--------------------------------------------------------------------------
// Create the window
//--------------------------------------------------------------------------
Re: LuxCore standalone questions
Posted: Thu Mar 07, 2019 6:15 am
by Fox
HowTo get custom font and font size.
\luxcorerender\LuxCore\samples\luxcoreui\imgui_impl_glfw.cpp
Add what's in green, and make sure you set the correct url for the TTF font file on your drive.