unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Use Chickadee to render animation to file?
@ 2022-05-27 16:38 Jack Hill
  2022-05-27 20:10 ` [EXT] " Thompson, David
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Hill @ 2022-05-27 16:38 UTC (permalink / raw)
  To: guile-user

Hi Guilers!

I've been experimenting with David Thompson's Chickadee⁰. I'm really 
enjoying using agendas and scripts to create animations. My problem is (at 
least right now) I don't want to create an interactive game-like thing. 
Instead, I'm creating a deterministic animation. I'd like to start out 
with some Guile code and end up with a video file.

What I hope to do is to program the animation using all the nice features 
of Chickadee, but instead of displaying it on a screen, output the frames 
that would be drawn to files. Does this seem possible? How would I go 
about it?

0: https://dthompson.us/projects/chickadee.html

Best,
Jack


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT] Use Chickadee to render animation to file?
  2022-05-27 16:38 Use Chickadee to render animation to file? Jack Hill
@ 2022-05-27 20:10 ` Thompson, David
  2022-05-27 21:02   ` Jack Hill
  0 siblings, 1 reply; 5+ messages in thread
From: Thompson, David @ 2022-05-27 20:10 UTC (permalink / raw)
  To: Jack Hill; +Cc: Guile User

Hi Jack,

This is an interesting use case! It's certainly possible, but would require
some work. It would probably look something like this: Render the scene to
a framebuffer texture, copy the pixel data from the GPU, and pipe it to a
video encoder. Chickadee's texture API doesn't yet provide any procedures
that allow you to access the raw pixel data, so that would need to be added
first. It would be a little clunky because you'd have to wait for the
animation to finish in real time since it's not a real animation tool but
it would work. Feel free to give it a shot and let us know how it goes!

- Dave

On Fri, May 27, 2022 at 12:39 PM Jack Hill <jackhill@jackhill.us> wrote:

> Hi Guilers!
>
> I've been experimenting with David Thompson's Chickadee⁰. I'm really
> enjoying using agendas and scripts to create animations. My problem is (at
> least right now) I don't want to create an interactive game-like thing.
> Instead, I'm creating a deterministic animation. I'd like to start out
> with some Guile code and end up with a video file.
>
> What I hope to do is to program the animation using all the nice features
> of Chickadee, but instead of displaying it on a screen, output the frames
> that would be drawn to files. Does this seem possible? How would I go
> about it?
>
> 0: https://dthompson.us/projects/chickadee.html
>
> Best,
> Jack
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT] Use Chickadee to render animation to file?
  2022-05-27 20:10 ` [EXT] " Thompson, David
@ 2022-05-27 21:02   ` Jack Hill
  2022-06-01  5:53     ` Dr. Arne Babenhauserheide
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Hill @ 2022-05-27 21:02 UTC (permalink / raw)
  To: Thompson, David; +Cc: Guile User

On Fri, 27 May 2022, Thompson, David wrote:

> Hi Jack,
> 
> This is an interesting use case! It's certainly possible, but would require some work. It would probably look something like
> this: Render the scene to a framebuffer texture, copy the pixel data from the GPU, and pipe it to a video encoder. Chickadee's
> texture API doesn't yet provide any procedures that allow you to access the raw pixel data, so that would need to be added
> first. It would be a little clunky because you'd have to wait for the animation to finish in real time since it's not a real
> animation tool but it would work. Feel free to give it a shot and let us know how it goes!
> 
> - Dave

Dave,

Thanks for the positive response and, of course for Chickadee (and Haunt, 
etc.)! I might give it a go, but no promises as it could very well be too 
much for me to bite off at this time.

Best,
Jack



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT] Use Chickadee to render animation to file?
  2022-05-27 21:02   ` Jack Hill
@ 2022-06-01  5:53     ` Dr. Arne Babenhauserheide
  2022-06-01 12:48       ` [EXT] " Thompson, David
  0 siblings, 1 reply; 5+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-06-01  5:53 UTC (permalink / raw)
  To: Jack Hill; +Cc: Thompson, David, guile-user

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Hi Jack,

Jack Hill <jackhill@jackhill.us> writes:

> Thanks for the positive response and, of course for Chickadee (and
> Haunt, etc.)! I might give it a go, but no promises as it could very
> well be too much for me to bite off at this time.

If you get to do this, I’d love to hear about it!

I’m working with my daughter on a small game with Chickadee and
rendering animations to file would provide a great way to create screen
captures to showcase games for those who can’t run them yet.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [EXT] Re: [EXT] Use Chickadee to render animation to file?
  2022-06-01  5:53     ` Dr. Arne Babenhauserheide
@ 2022-06-01 12:48       ` Thompson, David
  0 siblings, 0 replies; 5+ messages in thread
From: Thompson, David @ 2022-06-01 12:48 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: Jack Hill, Guile User

Hi Arne,

For simply recording gameplay, I recommend using OBS. You can easily
capture the game window *and* sound with it and have a lot of control over
the video encoding process.

It's how I made this video: https://www.youtube.com/watch?v=N8t2tdZ3hRI

Hope that helps,

- Dave



On Wed, Jun 1, 2022 at 1:58 AM Dr. Arne Babenhauserheide <arne_bab@web.de>
wrote:

> Hi Jack,
>
> Jack Hill <jackhill@jackhill.us> writes:
>
> > Thanks for the positive response and, of course for Chickadee (and
> > Haunt, etc.)! I might give it a go, but no promises as it could very
> > well be too much for me to bite off at this time.
>
> If you get to do this, I’d love to hear about it!
>
> I’m working with my daughter on a small game with Chickadee and
> rendering animations to file would provide a great way to create screen
> captures to showcase games for those who can’t run them yet.
>
> Best wishes,
> Arne
> --
> Unpolitisch sein
> heißt politisch sein,
> ohne es zu merken.
> draketo.de
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-01 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 16:38 Use Chickadee to render animation to file? Jack Hill
2022-05-27 20:10 ` [EXT] " Thompson, David
2022-05-27 21:02   ` Jack Hill
2022-06-01  5:53     ` Dr. Arne Babenhauserheide
2022-06-01 12:48       ` [EXT] " Thompson, David

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).