Freeciv-Web WebGL/Three.js prototype
Re: Freeciv-Web WebGL/Three.js prototype
I'm glad that you managed to get Freeciv-web running on Arch Linux, Louis. I'll take a look at your changes.
Re: Freeciv-Web WebGL/Three.js prototype
A new version of Freeciv-web, with several updates to the WebGL version has been pushed to the production server now.
Re: Freeciv-Web WebGL/Three.js prototype
Louis, I think you need to run build.sh. It creates the models.zip file. (I can see your JavaScript errors in the Three.js logs).
Re: Freeciv-Web WebGL/Three.js prototype
How can you see my errors in your logs ?AndreasR wrote:Louis, I think you need to run build.sh. It creates the models.zip file. (I can see your JavaScript errors in the Three.js logs).
I'm trying to get the network back up to install zip… it's not part of the "base" group…
Thanks
Louis
Re: Freeciv-Web WebGL/Three.js prototype
Freeciv-web uses trackjs.com to report JavaScript errors. This is so that I can easily fix the most important JavaScript errors, and I think that this is a very valuable tool for monitoring JavaScript errors. It has greatly improved the quality of the JavaScript code. I can give you access, if you want.
Re: Freeciv-Web WebGL/Three.js prototype
I have committed initial support for rendering unkown terrain (black tiles) in Freeciv-web WebGL mode.
This is not a perfect solution, but since unkown terrain and exploration of the map is such a central part of the game, I think it's best to start somewhere and improve it later.
The new version has been pushed to the production server also.
This is not a perfect solution, but since unkown terrain and exploration of the map is such a central part of the game, I think it's best to start somewhere and improve it later.
The new version has been pushed to the production server also.
Re: Freeciv-Web WebGL/Three.js prototype
Here's a short status update on the progress of making the WebGL version of Freeciv-web:
- I have implemented smoother tile edges and smooter edges towards the beaches.
- A line is rendered for the current goto path. There is a bug in OpenGL on Windows which prevents lines from having more than 1 pixel width. I'll have to fix that.
- There is also a Google Cardboard version in the works.
- I have implemented smoother tile edges and smooter edges towards the beaches.
- A line is rendered for the current goto path. There is a bug in OpenGL on Windows which prevents lines from having more than 1 pixel width. I'll have to fix that.
- There is also a Google Cardboard version in the works.
Re: Freeciv-Web WebGL/Three.js prototype
I have released an update to the live server now. Louis, what do you think are the most important things to improve in the 3D WebGL version now?
Re: Freeciv-Web WebGL/Three.js prototype
I see you added tile blending Normal maps would make terrain more realistic.AndreasR wrote:I have released an update to the live server now.
Memory usage on Firefox. Really. The WebGL renderer uses 1GB on its own here (too much for my tablet). After that, we can think about making it as user-friendly as the 2D version… though improving the graphics is more fun.AndreasR wrote:Louis, what do you think are the most important things to improve in the 3D WebGL version now?
I'll keep looking at the development and try to write some code, but my exam session is coming and I must write my master thesis… Expect bursts of activity on my side, maybe a few days long, one week at most.
Louis
Re: Freeciv-Web WebGL/Three.js prototype
I have tried to reduce memory usage to about 800MB on desktops and about 700MB on mobile devices.louis94 wrote: Memory usage on Firefox. Really. The WebGL renderer uses 1GB on its own here (too much for my tablet).
Could you please try to test if the game works on your tablet now?
I have released an update to the server, which renders trees using the Three.js particle system,
and with updated city names and some special tiles.