Jump to content

vladislavbelov

WFG Programming Team
  • Posts

    1.385
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by vladislavbelov

  1. 33 minutes ago, Dunedan said:

    With OpenGL the GLSL shaders get generated on-the-fly and cached on disk, if they aren't present, aren't they?

    We don't do so. Shaders are compiled each time they're loaded (or used in a pipeline state). Some (but not all) drivers might cache results on a disk.

    35 minutes ago, Dunedan said:

    Would that be possible for Vulkan as well?

    I have plans for that. We need a library which can be used on all platforms (shaderc is a possible candidate). Though we can't rely on it and we still need to build SPIR-V for releases. Because there might be platforms without such libraries in regular repos.

    • Like 1
    • Thanks 1
  2. On 13/05/2024 at 7:50 AM, zyli said:

    The currently running game (rev. 28088, Debian, Vulkan, NVidia 1660, driver 550.76, map: Elephantine, 0ad-spirv: 0.27.21) displays harmless (in my opinion) errors:

    You need to update the 0ad-spirv mod, the latest version is 0.27.22 from January 15, 2024.

    • Like 1
  3. 55 minutes ago, Dr.Ahmadinejad said:

    but it was .exe file not .msi file.

    Yeah, I meant this one. Just not some external (including some package managers) installation.

    56 minutes ago, Dr.Ahmadinejad said:

    I installed by downloading the game from https://play0ad.com/download/win/ a few months ago

    So, it didn't work?

    56 minutes ago, Dr.Ahmadinejad said:

    Following your link, I see this:

    It's a known problem, trac is down time-to-time for some internal reason. See 

     

  4. 22 minutes ago, Baelish said:

    cd build/workspaces ./update-workspaces.sh -j12 cd gcc make clean make -j12

    It's also recommended to run clean-workspaces.sh to be sure.

    22 minutes ago, Baelish said:

    When I ran

    sudo apt install wx3.0-headers libwxbase3.0-dev libwxgtk3.0-gtk3-dev libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5

    it returned the all packages were updated.

    Since the error was in missing wx/wx.h installing the one of *wx*-dev helped.

  5. 3 hours ago, Vantha said:

    The problem is that I want to have more than ten items in the dropdown, and preferably add them from a JavaScript script instead of listing all of them in the XML. How can I do that?

    If you just want dropdown values then you might take a look at binaries/data/mods/public/gui/options/. We add dropdown values dynamically via JS for options.

    30 minutes ago, Stan` said:

    You can't add dynamic GUI objects.

    If I'm not mistaken the question is about many values not many dropdowns.

    • Like 3
  6. 2 hours ago, hyperion said:

    isn't fatal but would be nice to sort out as

    It seems kind of fatal, as SDL can't figure out the WM backend and setup cursors. We can workaround it but in theory it might lead to UB.

    2 hours ago, hyperion said:

    it prevents you from using a decent graphics backend

    Not only decent but also the lowest one.

    Logs indeed could give us some information. Also knowing WM could help (type "echo $XDG_SESSION_TYPE" in the console).

  7. 33 minutes ago, hyperion said:

    Hard to tell even with a crafted example but noticeably different than in blender.

    That's just an impression. Because textures and lighting affect perception greatly.

    34 minutes ago, hyperion said:

    Much weaker effect which might come down to a much cheaper algorithm. Could some tweaking get us closer to blender without ramping up computation time?

    That smoothing is free for our rendering. Because it mostly affects directions of normals. And flat shading instead might even increase the number of vertices to be able to have sharp edges (because smooth shading reuses vertices).

  8. 3 hours ago, Boston said:

    I've read that the best place to download the latest source is on SVN

    You can get the latest SVN here: https://svn.wildfiregames.com/public/ps/trunk/

    3 hours ago, Boston said:

    I've also read that you have transitioned to hosting the latest source on GitHub, so which is it?

    We haven't done transitioning yet, only mirror and test repositories. GitHub mirror is https://github.com/0ad/0ad.

    2 hours ago, wowgetoffyourcellphone said:

    Each is a mirror of the other as far as I know. @Stan`?

    Yeah, currently all repositories except the SVN one are mirrors (or test mirrors).

    • Thanks 1
  9. 12 minutes ago, allalongthetower said:

    Do we have a working Alpha 27 for Mac yet? I remember reading that, when it first came out, we'd only be able to install it but it wouldn't run. I installed the "Debug" version, and it runs, but freezes when I try to start a game. Is that normal? Is there a working version?

    Just for clarification: Alpha 27 isn't released yet, we have only release candidates :) Have you tried the ones mentioned in the first post? And which Apple platform do you have and which macOS version?

×
×
  • Create New...