From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uOwkE+BQ02FnxwAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 20:39:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ALBTEOBQ02Fy+gAA9RJhRA (envelope-from ) for ; Mon, 03 Jan 2022 20:39:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10FEE42F53 for ; Mon, 3 Jan 2022 20:39:12 +0100 (CET) Received: from localhost ([::1]:49412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4TAl-0003sY-5S for larch@yhetil.org; Mon, 03 Jan 2022 14:39:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4TAc-0003sA-AO for guix-patches@gnu.org; Mon, 03 Jan 2022 14:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4TAc-0007kd-10 for guix-patches@gnu.org; Mon, 03 Jan 2022 14:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4TAb-0005kq-QP for guix-patches@gnu.org; Mon, 03 Jan 2022 14:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52953] [PATCH v2 1/3] gnu: Add recastnavigation. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jan 2022 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52953 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52953@debbugs.gnu.org, Leo Famulari Cc: Felix Gruber Received: via spool by 52953-submit@debbugs.gnu.org id=B52953.164123872722075 (code B ref 52953); Mon, 03 Jan 2022 19:39:01 +0000 Received: (at 52953) by debbugs.gnu.org; 3 Jan 2022 19:38:47 +0000 Received: from localhost ([127.0.0.1]:36286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4TAM-0005jx-Qo for submit@debbugs.gnu.org; Mon, 03 Jan 2022 14:38:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4TAJ-0005jg-QT for 52953@debbugs.gnu.org; Mon, 03 Jan 2022 14:38:44 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BF2A124002C for <52953@debbugs.gnu.org>; Mon, 3 Jan 2022 20:38:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641238717; bh=+vSLXccUxJgWCfvDuctGWRXe3COtE2IJ1aqbkrc4CuY=; h=From:To:Cc:Subject:Date:From; b=DWyaAkENkqBV2VLoGOVCJk+oPQU272F58vCSjkTt/ZvBX+uQMKVY7A345DFUZ6PUJ 8sQiYWwLa45VrE3wzTWfvLlXcTQcE3VS2TBIGNYkbhlKCW14A6rnh/BXkBlDZ9c5oY 5dg8K0WRL1GAiIwLuIBdC5YYvBzOO2S9ccih2QetqKsosA7yAfDTnnCkUUdUrhNyo3 XSfxrgBn3SvfbGge19UTXajGTznCK5NoZuD2TUI75LdNRyH/0Xynr0S4cozNe1fBwO BR7MHZkj5j11/o13eFOHDZnIB+uwMmMT0oz9KjfH7IVgPWtoznk2LK8/pYIYhds8jH 9j+88OHA+A+9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JSQz04MG1z9rxM; Mon, 3 Jan 2022 20:38:36 +0100 (CET) From: Felix Gruber Date: Mon, 3 Jan 2022 19:38:24 +0000 Message-Id: <20220103193826.20570-1-felgru@posteo.net> In-Reply-To: <20220103193720.20388-1-felgru@posteo.net> References: <20220103193720.20388-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641238752; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NGWMmBZz2WduYpezvTaUO4GQeWQjI9KtZbbKxX3wZhU=; b=iECQGyEcgdNOL779/Rs96XpkCLkUvOFGqV4ls8RsjcvPmzc0J+KjDUX23Ptgagw7P6LEzU 8+DuoeGUemTxfXkottJaS1ps/nREU/a1VvSnsxw3unHwFSHAFga5eulM0jDmRD6ey2H1kR OC2CajzsvNelIXFeZCqDmCGfWUdE9rR58Y31qRR08XzEV8yiV9BkUKzgXVUMUX9cBoe5TB htiTYZSEhJPH6G/rFVGKW81N/WMbzT75n8nkTrxhQ1Gp2ZXANf28FYvYQCbSkZ2E3Z+5AM ZJ5X70Z3zp7jpdxQ/BR0UcUZ1sPtmAKGTZqbpe/MRwzyzJ8mWMDncjV/4RSBnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641238752; a=rsa-sha256; cv=none; b=rYDCxyonZGWfKoKOPOPvJ8wkovx/x5WAkpA+3XGmprjz50oqxQuE5pWz0Yy/qaRHnSa1a+ HfSrOX88tmKAWxOus/Vr86qLPwu2JyQ3vpSvEdxCNfNq0Td3BgnYrenrM6W/ceviaME2+z zXUhXrJC87o+zyRWHguqnq+rytLVAyviqVwjLlOuxLMnegWH7+JfasWrX0kOkHuIDiwRBI O0FvC9sM2dHlZPqGpvdHVfuteBqNMhDKSzELC8G7iXlBnTUgeFt21dO6MP/v8n/wr+FVkX amRB5EVXBAAYk5rKOnYzaj0oyyQYLjvEYoLOvL40SB6F8dv3DI0rhxasvCG2PQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DWyaAkEN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DWyaAkEN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 10FEE42F53 X-Spam-Score: -0.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: 04X09Sspm50N * 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