LuxCore standalone questions
Re: LuxCore standalone questions
I share my custom build, it's made for 3840 x 2160 pix screen size.
Bigger font and few windows open up little bigger by default.
If you are in TOOL_IMAGE_VIEW mode, then the UI response to scroll bars is very fast now, the film refreshes after 30 sec, (it was 5 sec).
Default render resolution is now 6000 x 4500, i was not able to make it read from cfg file.
March 8 build.
https://www.upload.ee/files/9669280/Lux ... en.7z.html
Bigger font and few windows open up little bigger by default.
If you are in TOOL_IMAGE_VIEW mode, then the UI response to scroll bars is very fast now, the film refreshes after 30 sec, (it was 5 sec).
Default render resolution is now 6000 x 4500, i was not able to make it read from cfg file.
March 8 build.
https://www.upload.ee/files/9669280/Lux ... en.7z.html
Re: LuxCore standalone questions
Some of the data fields are 0 in LuxCore ui -> statistics window -> intersection devices used.
Why is this?
Why is this?
Re: LuxCore standalone questions
Which one ? Screen shot ?
Re: LuxCore standalone questions
I changed the Mb to Gb, but the memory use value did no come to visible.
The default ui was also 0M (now 0G)
The default ui was also 0M (now 0G)
Re: LuxCore standalone questions
Ok, it is normal, the number is truncated, it is printed without the decimal part. You can use boost::format() to print the number with some decimals.
Re: LuxCore standalone questions
investigating the possibility of changing luxcore ui title bar icon.
I did edit the win32_window.c file.
On top i add line:
Somewhere in the middle of win32_window.c file:
In the GLFW_ICON.rc file i have one line
Few errors came up related to GLFW_ICON.rc file
syntax error:
identifier 'ICON'
syntax error:
';'
syntax error:
'string'
syntax error: missing ')' before identifier
syntax error: ')'
error C2081: 'uintptr_t': name in formal parameter list illegal
syntax error: ')
syntax error: missing '{' before '
--------------------
EDIT
I got it compiled, but icon did not show up.
I may have to do something like in this tutorial http://discourse.glfw.org/t/set-window- ... gl-3-1/863
Or i have to get ImGuiIO& io = ImGui::GetIO(); to build texture, like it does with text font.
I did edit the win32_window.c file.
On top i add line:
Code: Select all
#include "GLFW_ICON.rc"
Code: Select all
// Load user-provided icon if available
wc.hIcon = LoadIcon( wc.hInstance, "GLFW_ICON" ); // Load default icon
if (!wc.hIcon)
{
// No user-provided icon found, load default icon
wc.hIcon = LoadIcon( NULL, IDI_WINLOGO ); // Load default icon
}
Code: Select all
GLFW_ICON ICON "GLFW_ICON.ico"
syntax error:
identifier 'ICON'
syntax error:
';'
syntax error:
'string'
syntax error: missing ')' before identifier
syntax error: ')'
error C2081: 'uintptr_t': name in formal parameter list illegal
syntax error: ')
syntax error: missing '{' before '
--------------------
EDIT
I got it compiled, but icon did not show up.
I may have to do something like in this tutorial http://discourse.glfw.org/t/set-window- ... gl-3-1/863
Or i have to get ImGuiIO& io = ImGui::GetIO(); to build texture, like it does with text font.
Re: LuxCore standalone questions
Got the 200 x 200 pix icon compiled in exe. Though the console icon looks with much reduced resolution and or alpha shades (maybe the old GLFW does it in bad order)
It works like that:
You have your icon file luxcorerendericon.ico and rc file luxcorerendericonresourcefile.rc
Rc file has single line:
Move files luxcorerendericon.ico and luxcorerendericonresourcefile.rc to 2 folders in below:
\LuxCore\samples\luxcoreconsole
\LuxCore\samples\luxcoreui
Edit CMakeLists.txt files in both folders, that line which starts with "add_executable"
In luxcoreconsole CMakeLists.txt paste:
In luxcoreui CMakeLists.txt paste:
It works like that:
You have your icon file luxcorerendericon.ico and rc file luxcorerendericonresourcefile.rc
Rc file has single line:
Code: Select all
GLFW_ICON ICON DISCARDABLE "luxcorerendericon.ico"
\LuxCore\samples\luxcoreconsole
\LuxCore\samples\luxcoreui
Edit CMakeLists.txt files in both folders, that line which starts with "add_executable"
In luxcoreconsole CMakeLists.txt paste:
Code: Select all
add_executable(luxcoreconsole ${LUXCORECONSOLE_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/luxcorerendericonresourcefile.rc)
Code: Select all
add_executable(luxcoreui ${LUXCOREUI_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/luxcorerendericonresourcefile.rc)
Re: LuxCore standalone questions
I did joint / multi resolution icon (16, 20, 24, 28, 30, 31, 32, 40, 42, 47, 48, 56, 60, 63, 84, 186)
and the quality improved quite a bit.
It’s auto picking correct 60 pix icon for taskbar and 40 pix for window title bar.
The console window icon is stretched to 40 pix, but looks to be limited at some smaller res (maybe 16 to 32 or so). No issues with desktop icon at 120 pix.
and the quality improved quite a bit.
It’s auto picking correct 60 pix icon for taskbar and 40 pix for window title bar.
The console window icon is stretched to 40 pix, but looks to be limited at some smaller res (maybe 16 to 32 or so). No issues with desktop icon at 120 pix.
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: LuxCore standalone questions
Hi Fox,
Very cool work. Looks like I have to get your latest code.
Regards,
FarbigeWelt aka Quantenkristall
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1