Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2021-06-07 Thread Prokop Hapala via Digitalmars-d-learn
thanks, evilrat Anyway I tried dagon in past and I don't see why bother with it, better stick with something that can handle industry standard formats such as FBX, another issue is shaders fused in right in the engine. As an alternative the only thing probably worth checking is godot-d which

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2021-06-01 Thread Prokop Hapala via Digitalmars-d-learn
After some sime I tried to return to this, using dependency on older version of dagon I got errors in dlib Not sure how to understadn this ``` Error: incompatible types for (box.pmax) - (box.center): both operands are of type Vector!(float, 3) ``` If both operands are the same time `Vector!(

Re: D for sciencetific scripting / rapid protoryping

2019-10-22 Thread Prokop Hapala via Digitalmars-d-learn
On Tuesday, 22 October 2019 at 08:04:32 UTC, Arun Chandrasekaran wrote: On Tuesday, 22 October 2019 at 07:51:16 UTC, Arun Chandrasekaran wrote: On Tuesday, 22 October 2019 at 07:40:01 UTC, Prokop Hapala wrote: [...] If you are building individual files, use ldc2 with --link-defaultlib-shared

Re: D for sciencetific scripting / rapid protoryping

2019-10-22 Thread Prokop Hapala via Digitalmars-d-learn
On Tuesday, 22 October 2019 at 07:23:46 UTC, Daniel Kozak wrote: On Tue, Oct 22, 2019 at 8:00 AM Prokop Hapala via Digitalmars-d-learn wrote: I'm examining the possibility to move from Python+C/C++ to D or Python+D. I read (https://wiki.dlang.org/Programming_in_D_for_Python_Programmers

Re: Small program producing binary with large filesize

2019-10-21 Thread Prokop Hapala via Digitalmars-d-learn
On Wednesday, 1 August 2018 at 15:58:53 UTC, Jacob Shtokolov wrote: On Tuesday, 31 July 2018 at 15:19:19 UTC, Dan Barbarito wrote: Hi all, I am starting to write a command line tool. Hi! First, Vibe.d will increase your binary size because it contains a lot of unnecessary things inside it.

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-20 Thread Prokop Hapala via Digitalmars-d-learn
On Saturday, 19 October 2019 at 01:53:11 UTC, Mike Parker wrote: On Saturday, 19 October 2019 at 00:57:48 UTC, Prokop Hapala wrote: The dmech/demos also seems to be almost running just it somehow cannot find or use my libsdl.so library which it just compiled (it is in 'dmech/demos/lib') dere

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-18 Thread Prokop Hapala via Digitalmars-d-learn
The dmech/demos also seems to be almost running just it somehow cannot find or use my libsdl.so library which it just compiled (it is in 'dmech/demos/lib') (dmd-2.088.0)(dmd-2.088.0)prokop@prokop-Lenovo-ideapad-Y700-15ISK:~/git_SW/_Dlang/dmech/demos$ dub Performing "debug" build using /home/

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-18 Thread Prokop Hapala via Digitalmars-d-learn
The whole thing is like this: prokop@prokop-Lenovo-ideapad-Y700-15ISK:~/git_SW/_Dlang/dagon-demo$ source ~/dlang/dmd-2.088.0/activate (dmd-2.088.0)prokop@prokop-Lenovo-ideapad-Y700-15ISK:~/git_SW/_Dlang/dagon-demo$ dub WARNING: A deprecated branch based version specification is used for the de

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-18 Thread Prokop Hapala via Digitalmars-d-learn
On Friday, 18 October 2019 at 20:09:47 UTC, Aldo wrote: Try to move that libnuklear.so or rename it to nuklear.so. I checked bindbc code and saw : version(Windows) { const(char)[][1] libNames = ["nuklear.dll"]; } else version(OSX) { const(char)[][1] libNames = ["nukl

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-18 Thread Prokop Hapala via Digitalmars-d-learn
On Friday, 18 October 2019 at 06:24:38 UTC, Ferhat Kurtulmuş wrote: On Friday, 18 October 2019 at 06:11:37 UTC, Ferhat Kurtulmuş wrote: On Friday, 18 October 2019 at 05:52:19 UTC, Prokop Hapala wrote: Already >1 year I consider to move from C++ to Dlang or to Rust in my hobby game development (

Re: Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-18 Thread Prokop Hapala via Digitalmars-d-learn
On Friday, 18 October 2019 at 06:36:49 UTC, Elronnd wrote: I guess I'm mostly confused as to what your roadblock is: once you've imported derelict.opengl, you have all the same opengl functions as you would have in c++; once you've imported derelict.sdl, you have all the same sdl functions as i

Any 3D Game or Engine with examples/demos which just work (compile&run) out of the box on linux ?

2019-10-17 Thread Prokop Hapala via Digitalmars-d-learn
Already >1 year I consider to move from C++ to Dlang or to Rust in my hobby game development (mostly based on physical simulations https://github.com/ProkopHapala/SimpleSimulationEngine). I probably prefer Dlang because it compiles much faster, and I can copy&paste C/C++ code to it without muc

Examples/tutorials for OpenGL games which works out-of-the-box on linux

2018-05-20 Thread Prokop Hapala via Digitalmars-d-learn
Hi, I'm looking for examples of OpenGL games which I can use as templates for making my own stuff. But I'm quite discouraged that everything I found on github is probably outdated and fails to compile. Since I'm not very familiar with dub environment I don't feel able to correct the errors in