Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples wishlist #22

Closed
krupitskas opened this issue Feb 7, 2022 · 8 comments
Closed

Samples wishlist #22

krupitskas opened this issue Feb 7, 2022 · 8 comments
Labels
demo enhancement New feature or request

Comments

@krupitskas
Copy link
Contributor

Hey! I really love the progress and currently also learning Zig. Maybe you have some paticular samples which you would to code, but just haven't time, so I or community could contribute?

@michal-z
Copy link
Collaborator

michal-z commented Feb 7, 2022

Thanks!

Yes of course, such contribution would be very welcome. Also, it is great to hear that you are learning Zig!

Some ideas:

  • intro application that renders few different meshes with different orientations (we could show how to use various matrix/quaternion function from zmath lib)
  • intro application that renders a lot of small meshes using instancing (transforms would be fetched from large buffer using InstanceID, also we could update transforms each frame on the CPU or GPU)
  • intro application that would draw a scene in compute shader using distance field raymarching (shadertoy)
  • sample applications that generates and draws simple terrain mesh (we could use stb_perlin lib to generate terrain mesh on the CPU)
  • deferred shading sample application (draw Sponza using simple deferred renderer)
  • simple 2D fluid simulation in compute shader

Those are the samples I would like to have but feel free to modify/mix them to match your interests.

@krupitskas
Copy link
Contributor Author

I think I pick instancing and add it as an intro 6, thanks.

@Srekel
Copy link
Contributor

Srekel commented Mar 26, 2022

I made a simple terrain generator/viewer with sokol, aiming to get something similar up and running using zig-gamedev, can try to make a demo using that (though I'm very much not a graphics coder so going to say right now that it won't be... perfect :D ).

(A bit preoccupied with getting something else up and running first so could be a while. Happy to share my sokol project if that would be helpful to anyone else wanting to give it a try).

@michal-z
Copy link
Collaborator

michal-z commented Mar 28, 2022

@Srekel Sounds interesting. Your demo contribution would be very welcome - it doesn't need to be perfect - feel free to submit a PR and we can take if from there.

Regarding your sokol project, I'm afraid I won't be able to help - I haven't used it and I need to focus zmath v0.3 and audio_experiments demo.

@michal-z michal-z added the enhancement New feature or request label Mar 28, 2022
@thomas992
Copy link

I want an ocean with a skybox and a space demo. I think they are great starting points to add game assets too that do not require a terrain editor to be 'finished'

@michal-z
Copy link
Collaborator

@thomas992 Do you want to contribute?

@thomas992
Copy link

@thomas992 Do you want to contribute?

cosinekitty/astronomy#237
I want to have an accurately positioned and scaled solar system, I am going to start converting parts of Astronomy engine to Zig. I could use the C++ library but I rather have the code in Zig. I should be able to draw individual spheres to represent the planets in the game if the library works as I anticipate. I am thinking that my game will use a space skybox and regular BSP type maps, perhaps generated from geographical data. I think that it would be better to be able to zoom around like Google Earth but I do not know how to go about doing something like that.

@hazeycode hazeycode pinned this issue Jan 29, 2024
@hazeycode hazeycode added the demo label Jan 29, 2024
@hazeycode
Copy link
Member

A small zflecs demo would be cool!

@hazeycode hazeycode unpinned this issue Feb 25, 2024
@zig-gamedev zig-gamedev locked and limited conversation to collaborators Mar 31, 2024
@hazeycode hazeycode converted this issue into discussion #539 Mar 31, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
demo enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants