Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Experimenting with WebGL-based 3D rendering  (Read 2068 times)

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Experimenting with WebGL-based 3D rendering
« on: March 16, 2016, 07:41:18 am »

Recently I've posted about my experiments with 3D view for my iOS app, but also I was thinking about a WebGL-based online map viewer. Unfortunately, I couldn't get decent performance in browser (on modern hardware in Chrome it was fine), so had to use nasty tricks (better use Chrome anyway). Need to think what to do with all this now.

http://mifki.com/a/df3dview

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Experimenting with WebGL-based 3D rendering
« Reply #1 on: March 16, 2016, 11:55:11 am »

I'm going to cross breed you and Japa together and just call it mapfka and keep it to develop wonderful toys for me, k?
Logged

Abadrausar

  • Bay Watcher
  • empowering ideas
    • View Profile
    • ♫♪♀HDFPS♂♪♫
Re: Experimenting with WebGL-based 3D rendering
« Reply #2 on: March 16, 2016, 12:53:08 pm »

I'm going to cross breed you and Japa together and just call it mapfka and keep it to develop wonderful toys for me, k?
Already that you are there...
Dont forget to place a [LITTERSIZE:9999:9999] in the creature raws. So every community member could have one of those wonderful beings.  ;D :P  Naturally the first one will be for Toady.


Impresive! On chrome the performance is very good: 60 FPS. (hint: if anyone does not see anything... hit a key)

mifki: It is the zoom(-+) in your TODO?
...so had to use nasty tricks ...
As Chrome is cross platform and have working version for linux, Mac and windows.
I do not see nothing bad, in developping specifically for chrome if their WEBGL support is better.
« Last Edit: March 16, 2016, 01:34:01 pm by Abadrausar »
Logged
::: Humble Dwarf Fortress Publishing System ♫♪♀HDFPS♂♪♫ Mods Push Published in DFFD are auto updated in local Players Catalog :::

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Experimenting with WebGL-based 3D rendering
« Reply #3 on: March 16, 2016, 07:30:46 pm »

It worked fast on firefox/arch linux btw.
Logged

Ezekhiel2517

  • Bay Watcher
    • View Profile
Re: Experimenting with WebGL-based 3D rendering
« Reply #4 on: April 22, 2016, 04:59:31 pm »

this is amazing, I hope you get to finish it
Logged
“Far, far below the deepest delvings of the dwarves, the world is gnawed by nameless things.” ― J.R.R. Tolkien

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Experimenting with WebGL-based 3D rendering
« Reply #5 on: April 23, 2016, 12:49:58 pm »

60fps on chrome on my phone, but I can't move.
Logged

Heretic

  • Bay Watcher
    • View Profile
Re: Experimenting with WebGL-based 3D rendering
« Reply #6 on: April 27, 2016, 04:20:40 am »

PTW.
Logged