Jump to content

Vida Marcell

Members
  • Posts

    320
  • Joined

  • Last visited

Posts posted by Vida Marcell

  1.  

    image.png.15402eec764be2ff45add207ff365513.png

    this happens after pushing the "ambient" button. The software also crashes. 

    image.png.4a3da858c60413758d615f9ea6fd8f27.png

    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);

     

    image.png

  2. 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)

×
×
  • Create New...