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
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
>
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
[-- 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 --]
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 >