Jump to content

Vida Marcell

Members
  • Posts

    320
  • Joined

  • Last visited

Everything posted by Vida Marcell

  1. 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);
  2. Substance designer asks for a Normal mp format, opengl or directx, wich one is supported by vulkan?
  3. 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
  4. Vida Marcell

    Voxel Cone Step Tracing

    Fascinating, thanks for the explaniation!
  5. Vida Marcell

    Voxel Cone Step Tracing

    Can you take a screenshot with more rough surfaces?
  6. Vida Marcell

    Voxel Cone Step Tracing

    Wow, now its looking very nice, but the abnormal refletivity is on purpose?
  7. 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?
  8. I want to see what 10 or 100 Josh would do
  9. 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:
  10. 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)
  11. Here is a Pre-Alpha, you can load images. Ultra Material Editor_d.exe
  12. This ui is looking so damn good, wish more people would know about it.
  13. Magnificent, works perfectly, i'll send a screenshot soon
  14. I think this will be better (edited in paint.net)
  15. 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?
  16. Can someone give me some tips, advices how to improve the ui, if something is wrong?
  17. 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
  18. So now you see the problem? im trying to make something similar to "knald" a material software.
×
×
  • Create New...