Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 26, 2016 Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Hello, Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM. Download DlangUIMinecraftDemo.apk from https://sourceforge.net/projects/crengine/files/DlangUI/ Image is a bit corrupted with some artifacts. On desktop it works better: `dub run dlangui:dminer` Another demo of DlangUI 3d engine: `dub run dlangui:d3d` DlangUI/Scene3d is simple 3D engine. Supports, cameras, lights, meshes, hierarchy of nodes, transforms, models, meshes, materials, shaders. For now, only OBJ 3d model import is implemented. No physics engine integrated so far. Best regards, Vadim |
April 26, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
> Hello,
>
>
> Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM.
>
> Download DlangUIMinecraftDemo.apk from https://sourceforge.net/projects/crengine/files/DlangUI/
>
> Image is a bit corrupted with some artifacts.
>
> On desktop it works better: `dub run dlangui:dminer`
>
> Another demo of DlangUI 3d engine: `dub run dlangui:d3d`
>
> DlangUI/Scene3d is simple 3D engine. Supports, cameras, lights, meshes, hierarchy of nodes, transforms, models, meshes, materials, shaders. For now, only OBJ 3d model import is implemented. No physics engine integrated so far.
>
>
> Best regards,
> Vadim
On my android device it says "Failed to parse package"
Also where is the source at so I can run dub manually?
|
April 26, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
> Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM.
Post screenshots please.
|
April 26, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Tuesday, 26 April 2016 at 14:05:19 UTC, WebFreak001 wrote: > On my android device it says "Failed to parse package" > > Also where is the source at so I can run dub manually? Dub build is available only for desktop. For Android, clone repository git clone --recursive https://github.com/buggins/dlangui.git Go to dlangui/examples/dminer/android_project Edit paths in file android_build_config.mk export DLANGUI_DIR=$HOME/src/d/dlangui export NDK=$HOME/android-ndk-r11c export SDK=$HOME/android-sdk-linux export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64 export NDK_ARCH=x86_64 export JAVA_HOME=/usr/lib/jvm/java-8-oracle/ To build package, you will need Android NDK, SDK, LDC2 for android. In Android SDK manager, download platform android-19 (Android 4.4.X) Build is tested only on Linux X64. More build instructions: https://github.com/buggins/dlangui/blob/master/examples/dminer/android_project/README.md |
April 26, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | On Tuesday, 26 April 2016 at 14:25:05 UTC, Benjamin Thaut wrote: > On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote: >> Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM. > > Post screenshots please. Screenshot from my android device: http://imgur.com/gallery/7wVBk8E |
April 27, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On Tuesday, 26 April 2016 at 16:33:51 UTC, Vadim Lopatin wrote:
> Edit paths in file android_build_config.mk
>
> export DLANGUI_DIR=$HOME/src/d/dlangui
> export NDK=$HOME/android-ndk-r11c
> export SDK=$HOME/android-sdk-linux
> export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64
> export NDK_ARCH=x86_64
> export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
>
> To build package, you will need Android NDK, SDK, LDC2 for android.
> In Android SDK manager, download platform android-19 (Android 4.4.X)
>
> Build is tested only on Linux X64.
>
> More build instructions:
>
> https://github.com/buggins/dlangui/blob/master/examples/dminer/android_project/README.md
I think I will just skip on the android build...
Anyway, dminer starts but um... are the controls and graphics supposed to be like that? Still well done integrating OpenGL into dlangui, thats gonna make it much more interesting for me to use!
|
April 27, 2016 Re: Minecraft written in D - on Android | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On Tuesday, 26 April 2016 at 16:46:16 UTC, Vadim Lopatin wrote:
> On Tuesday, 26 April 2016 at 14:25:05 UTC, Benjamin Thaut wrote:
>> On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
>>> Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM.
>>
>> Post screenshots please.
>
> Screenshot from my android device:
>
> http://imgur.com/gallery/7wVBk8E
How are the frames?
|
Copyright © 1999-2021 by the D Language Foundation