From: "Rodrigo G. López" <rodrigosloop@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Example for libgeometry
Date: Mon, 15 Dec 2025 13:47:06 +0100 [thread overview]
Message-ID: <CA+cCjXoU36oEWtJLJHNHoEH_1r=enLiLZuOmQMDMSYmJT2vwmg@mail.gmail.com> (raw)
In-Reply-To: <CAJSxfmK9tsXcLpdy4oar7eeCTeFgrH-zcyy1E2gcdOO8=_ugfw@mail.gmail.com>
hi skip,
we made improvements to the library for 9front some years ago, and i'm
using it as the basis for some of my projects:
- https://shithub.us/rodri/3dee/HEAD/info.html
- https://shithub.us/rodri/libgraphics/HEAD/info.html
it should have enough practical examples for many things. libgraphics
implements a full 3d renderer, and on 3dee you'll find some tools to
work with 3d files (OBJ, STL and the internal model(6) so far), along
with a visualizer; it also includes a raymarching demo.
notably, it's not the same interface as the old one, but we decided to
make it more specific to geometry since the original one also embedded
functionality related to graphics that would be better included in a
different library.
best regards,
-rodri
On Mon, Dec 15, 2025 at 3:23 AM Skip Tavakkolian
<skip.tavakkolian@gmail.com> wrote:
>
> Hi all,
>
> In case anyone is interested, I've created an example [1] to display
> and manipulate 3D objects using libgeometry (i.e. arith3(2),
> matrix(2), qball(2)). If it is judged to be a good enough example,
> perhaps it should be in /sys/src/libgeometry.
>
> I wasn't able to find any example usage of the libary in any of the
> usual places, but I did find another implementation called moogle [2].
>
> -Skip
>
> [1] https://github.com/9nut/plan9cmd/tree/main/examples
> [2] https://wiki.xxiivv.com/site/moogle.html
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tecc459ab350ef9bc-M01592ba1b29e34c373bbd473
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2025-12-15 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 2:02 [9fans] Example for libgeometry Skip Tavakkolian
2025-12-15 12:47 ` Rodrigo G. López [this message]
2025-12-16 1:22 ` Skip Tavakkolian
2025-12-16 14:23 ` Rodrigo G. López
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+cCjXoU36oEWtJLJHNHoEH_1r=enLiLZuOmQMDMSYmJT2vwmg@mail.gmail.com' \
--to=rodrigosloop@gmail.com \
--cc=9fans@9fans.net \
/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.
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 NNTP newsgroup(s).