Re: Landscape v5
Posted: Thu Apr 11, 2024 9:44 am
On Linux I had to specify the path to the texture, the path to the library
If you put the file ("engine3d.so") in a folder next to the executable file, then it does not see it. You must specify the full path.
When I press Esc, the last frame remains on the screen and the program is not on the taskbar, but it seems that it has not completely unloaded. I have to kill through the Htop program (F4 Filter -> select process -> F9 Kill -> select "14 SIGALRM" -> Enter).
Can you adapt the code for Linux?
Another problem is that the tip is not displayed in the upper left corner (Windows/Linux).
Code: Select all
Global CurPath$ = GetPathPart(ProgramFilename())
CurPath$ + "soil_wall.jpg"
InitEngine3D(#PB_Engine3D_DebugLog, CurPath$ + "engine3d.so")
When I press Esc, the last frame remains on the screen and the program is not on the taskbar, but it seems that it has not completely unloaded. I have to kill through the Htop program (F4 Filter -> select process -> F9 Kill -> select "14 SIGALRM" -> Enter).
Can you adapt the code for Linux?
Another problem is that the tip is not displayed in the upper left corner (Windows/Linux).