unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 52953@debbugs.gnu.org, Leo Famulari <leo@famulari.name>
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#52953] [PATCH v2 1/3] gnu: Add recastnavigation.
Date: Mon,  3 Jan 2022 19:38:24 +0000	[thread overview]
Message-ID: <20220103193826.20570-1-felgru@posteo.net> (raw)
In-Reply-To: <20220103193720.20388-1-felgru@posteo.net>

* gnu/packages/game-development.scm (recastnavigation): New variable.
---
 gnu/packages/game-development.scm | 51 +++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 305c2c2819..c77c445831 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2837,3 +2837,54 @@ fully dynamic omnidirectional shadows, global illumination, HDR lighting,
 deferred shading, morphological / temporal / multisample anti-aliasing, and
 much more.")
       (license license:zlib))))
+
+(define-public recastnavigation
+  ;; We follow master since there hasn't been a release since 1.5.1 in 2016.
+  (let ((commit "c5cbd53024c8a9d8d097a4371215e3342d2fdc87")
+        (revision "1"))
+    (package
+      (name "recastnavigation")
+      (version (git-version "1.5.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/recastnavigation/recastnavigation")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "034bm47gc3r285w1pnvkhmm74zz99d204b1r865gisaiq4qfbza0"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+                                 "-DRECASTNAVIGATION_DEMO=OFF"
+                                 "-DRECASTNAVIGATION_TESTS=ON"
+                                 "-DRECASTNAVIGATION_EXAMPLES=OFF")))
+      (synopsis "Navigation system for games")
+      (description "Recast is state of the art navigation mesh
+construction toolset for games.
+
+@itemize
+@item It is automatic, which means that you can throw any level geometry
+      at it and you will get robust mesh out.
+@item It is fast which means swift turnaround times for level designers.
+@item It is open source so it comes with full source and you can
+      customize it to your heart's content.
+@end itemize
+
+The Recast process starts with constructing a voxel mold from a level
+geometry and then casting a navigation mesh over it.  The process
+consists of three steps, building the voxel mold, partitioning the mold
+into simple regions, peeling off the regions as simple polygons.
+
+Recast is accompanied with Detour, path-finding and spatial reasoning
+toolkit.  You can use any navigation mesh with Detour, but of course the
+data generated with Recast fits perfectly.
+
+Detour offers simple static navigation mesh which is suitable for many
+simple cases, as well as tiled navigation mesh which allows you to plug
+in and out pieces of the mesh.  The tiled mesh allows you to create
+systems where you stream new navigation data in and out as the player
+progresses the level, or you may regenerate tiles as the world changes.")
+      (home-page "https://github.com/recastnavigation/recastnavigation")
+      (license license:zlib))))
-- 
2.30.2





  reply	other threads:[~2022-01-03 19:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-02 16:01 [bug#52953] [PATCH 0/3] Update openmw to 0.47.0 Felix Gruber
2022-01-02 16:02 ` [bug#52953] [PATCH 1/3] gnu: Add recastnavigation Felix Gruber
2022-01-03  3:59   ` Leo Famulari
2022-01-02 16:02 ` [bug#52953] [PATCH 2/3] gnu: Add bullet-double-precision Felix Gruber
2022-01-03  3:59   ` Leo Famulari
2022-01-02 16:02 ` [bug#52953] [PATCH 3/3] gnu: openmw: Update to 0.47.0 Felix Gruber
2022-01-03  4:00   ` Leo Famulari
2022-01-03 19:37     ` [bug#52953] [PATCH v2 0/3] Update openmw " Felix Gruber
2022-01-03 19:38       ` Felix Gruber [this message]
2022-01-03 19:38       ` [bug#52953] [PATCH v2 2/3] gnu: bullet: Build with double precision arithmetics Felix Gruber
2022-01-03 19:38       ` [bug#52953] [PATCH v2 3/3] gnu: openmw: Update to 0.47.0 Felix Gruber
2022-01-03 20:14       ` bug#52953: [PATCH v2 0/3] Update openmw " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220103193826.20570-1-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=52953@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).