-
Posts
320 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Everything posted by Vida Marcell
-
this happens after pushing the "ambient" button. The software also crashes. code: auto removal_p = CreatePanel(0, gap, sz.x - 684, 162, delit_p, PANEL_GROUP); removal_p->SetText("Removal"); auto dir_m = CreateButton("Directional", 0, gap, 120, 30, removal_p, BUTTON_RADIO); dir_m->SetState(WIDGETSTATE_SELECTED); auto amb_m = CreateButton("Ambient", 100, gap, 120, 30, removal_p, BUTTON_RADIO);
-
Substance designer asks for a Normal mp format, opengl or directx, wich one is supported by vulkan?
-
So in my software i have 2 windows, i want to separate each window's code into multiple cpp files, to be more organized, but how? When i create a window in a other cpp file, the software doesnt even start
-
-
-
-
Saving the images in my software takes a little bit of time to export, so i want to make a progress bar for it, but how? How should i tell the computer where a task currently is?
-
Voxel Cone Step Tracing - Emission and Motion
Vida Marcell commented on Josh's blog entry in Development Blog
Josh instancing -
Voxel Cone Step Tracing - Emission and Motion
Vida Marcell commented on Josh's blog entry in Development Blog
I want to see what 10 or 100 Josh would do -
I'm working on the output section of the mat editor. And i want to export only the selected texture maps, how can i limit the exports for the selected checkboxes? I'm thinking something like this:
-
I was thinking the same
-
Excellent
-
Thanks Josh!
-
So i'm working on my photogrammetry material editor, i want to export the images loaded into my albedo, normal... panels when i push the "export" button, i cant figure out how to save them, but i think something like: albedo_panel->GetPixmap()->Save(path); (this doesnt work)
-
Here is a Pre-Alpha, you can load images. Ultra Material Editor_d.exe
-
-
Magnificent, works perfectly, i'll send a screenshot soon
-
-
Yeah i was thinking about that, also when i click on the search button and search for a file it pastes its path in the textfield, but i can only see that when i click on the textfield, how can i fix that?
-
-
Allright sorry Josh, #include "UltraEngine.h" using namespace UltraEngine; int sidepanelwidth = 380; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Ultra Engine", 0, 0, 1200, 800, displays[0], WINDOW_TITLEBAR | WINDOW_RESIZABLE | WINDOW_CENTER); window->SetMinSize(800, 600); //Create User Interface auto ui = CreateInterface(window); double bgcolor = 0.187; ui->root->SetColor(bgcolor, bgcolor, bgcolor); //Create Menu auto menu = CreateMenu("", ui->root); menu->SetColor(bgcolor, bgcolor, bgcolor); auto menu_file = CreateMenu("File", menu); auto menu_edit = CreateMenu("Edit", menu); auto menu_view = CreateMenu("View", menu); auto menu_window = CreateMenu("Window", menu); auto menu_help = CreateMenu("Help", menu); //Create viewport int gap = 6; int y_size = 30; auto sz = ui->root->GetSize(); auto viewport = CreateTabber(gap, y_size, sz.x - sidepanelwidth - gap, sz.y - gap - y_size, ui->root); viewport->AddItem("Albedo", true); viewport->AddItem("Normal"); viewport->AddItem("Roughness"); viewport->AddItem("AmbientOcclusion"); viewport->AddItem("Metalness"); viewport->AddItem("Height"); viewport->SetLayout(1, 1, 1, 1); while (true) { const Event ev = WaitEvent(); switch (ev.id) { case EVENT_WIDGETACTION: Print("Item " + String(ev.data) + " action"); break; case EVENT_WIDGETSELECT: break; case EVENT_QUIT: case EVENT_WINDOWCLOSE: return 0; break; default: break; } } return 0; } now this should be allright, as you can see i added 2 more tabs, but a taked out the functioning of the tabber, but that doesnt change anything, as you can see, i'm running this code now: the AO has the same position as the Metalness
-
So now you see the problem? im trying to make something similar to "knald" a material software.