From: rgl@antares-labs.eu
To: 9front@9front.org
Subject: [9front] qball(2) bounced back
Date: Sat, 18 May 2024 12:00:13 +0200 [thread overview]
Message-ID: <F3F8D7B8936751CEEFABA256EA32B115@antares-labs.eu> (raw)
hello everyone,
i recently fixed the qball, after almost a year and a half of me saying i would:
http://git.antares-labs.eu/3dee/plain/qball.c
it is consistent with the conventions used in libgeometry, and it works by
default when looking at a model from the positive z-axis (just like Shoemake's).
the thing is, i've been thinking about it, and it doesn't make sense to
put it in there. it is actually a perfect fit for mouse.h with its menuhit(2)
and enter(2) routines; the problem is that this would make libdraw depend on
libgeometry, or require to keep a copy of the Quaternion procedures used for
the qball—and make sure they are in sync with libgeometry.
i don't know how many users of libgeometry are out there, even less so that
would be interested in a contraption like this, but if you have better ideas,
now is the time to speak up. :)
you can try it out with the visualizer from 3dee:
% git/clone git://shithub.us/rodri/3dee
% cd 3dee && mk pulldeps && mk all
% 6.vis mdl/tribasis.obj
# or better yet
% 6.vis -t <{ <mdl/diablo3_diffuse.tga tga -9t} mdl/diablo3.obj
then use LMB to rotate the model.
if there's no interest in adding this to the system at the moment, i will
probably end up putting it on libgraphics, in a control.c file along with
other 3d control devices i might need over time.
also feel free to grab it and use it for your own projects.
thank you for your time, and have a good weekend!
-rodri
next reply other threads:[~2024-05-18 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 10:00 rgl [this message]
2024-05-18 15:49 ` qwx
2024-05-18 18:43 ` 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=F3F8D7B8936751CEEFABA256EA32B115@antares-labs.eu \
--to=rgl@antares-labs.eu \
--cc=9front@9front.org \
/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).