Landscape v5

Everything related to 3D programming
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Landscape v5

Post by AZJIO »

On Linux I had to specify the path to the texture, the path to the library

Code: Select all

Global CurPath$ = GetPathPart(ProgramFilename())
CurPath$ + "soil_wall.jpg"
InitEngine3D(#PB_Engine3D_DebugLog, CurPath$ + "engine3d.so")
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).
Post Reply