lighttransport / nanort

NanoRT, single header only modern ray tracing kernel.
MIT License
1.07k stars 89 forks source link

nanosg. how to remove white rounded border? #80

Closed tigrazone closed 1 year ago

tigrazone commented 1 year ago

nanosg-white-border

syoyo commented 1 year ago

You should describe procedures to reproduce in detail.

tigrazone commented 1 year ago

one more question. did nanosg build well in linux and mac os? my screenshot from windows 10. built with minGW's gcc 11.3.0

tigrazone commented 1 year ago

I just built makefile with premake5 gmake and type make. Have exe file and run it and rounded border is present all the time

syoyo commented 1 year ago

Confirmed it happens in Linux. Seems an issue of imgui btgui backend.

btgui backend is deprecated and not recommended to use.

it'd be better to rewrite nanort example codes using well-maintained imgui backend(OpenGL3 or SDLRenderer recommended)

https://github.com/ocornut/imgui/tree/master/examples

You can contribute!

tigrazone commented 1 year ago

I think it because of imguizmo. Without it is no rounded border. I prefer OpenGL3. Sdl port need sdl library. Keep it simple!

tigrazone commented 1 year ago

And little bit strange position of imguizmo block 72, 72. I dont find where is this position in code

syoyo commented 1 year ago

Examples use old imguizmo. The issue may disappear once updating imguizmo with the recent version.