Skip to content
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

VEDA v3 #80

Open
3 tasks
fand opened this issue Mar 16, 2018 · 9 comments
Open
3 tasks

VEDA v3 #80

fand opened this issue Mar 16, 2018 · 9 comments
Milestone

Comments

@fand
Copy link
Owner

fand commented Mar 16, 2018

TODO

  • Sound Shader
  • Refactor Configs
  • [ ] Rewrite vedajs in pure WebGL
  • Support model files like .obj
@fand fand added this to the v3 milestone Mar 16, 2018
@MacroMachines
Copy link

I suggest potential gLTF integration after obj
https://github.com/KhronosGroup/glTF

@fand
Copy link
Owner Author

fand commented Mar 30, 2018

sounds good!
thinking 'bout adding MODEL instead of OBJ so that we can use other models like .fbx

@fand
Copy link
Owner Author

fand commented Apr 8, 2018

Three.js will support WebGL2 soon so we don't need to replace it with pure WebGL code 😸
mrdoob/three.js#13717 (comment)

@MacroMachines
Copy link

They have added support for posting gLTF files on facebook. sketchfab.com is a good example, everything you see on there is gLTF. It has PBR materials by default and can support extensions for custom shaders, and is all based on JSON and webGL compatibility. https://www.npmjs.com/package/three-gltf2-loader

@fand
Copy link
Owner Author

fand commented Apr 18, 2018

Config

First I thought I should refactor Config.ts so that vedajs parses the config objects and returns the object to VEDA. But I found VEDA have to parse config objects bacause it has to rewrite paths in IMPORTED and OBJ referring the project root and localhost, so removing configs parser from VEDA doesn't make sense.

In refactoring branch I'll just do these refactoring:

  • Accept vertexMode, vertexCount in PASSES
  • Test fs vs TARGET in PASSES

@fand
Copy link
Owner Author

fand commented Apr 18, 2018

Sound Shader

Sound shader is released as an experimental feature. It's because I felt a bit unsophisticated that we have to hit alt-enter and when we hit ctrl-enter it throws an error.
To improve the experience I thought about adding sound: true to the config.
Otherwise, we can implement buffers like Shadertoy and assign buffer: "sound" to sound shaders.

However, these solution causes another problems:

  • How can we stop sound shaders?
    • For example we can replace alt-. with ctrl-., but it's already used for veda:stop-watching.
  • Are buffers really needed?
    • We already have PASSES for multipass rendering so it can be confusing.

Now I think I should leave sound shaders as it is, and proceed developments after research and talking with users more.

@mangelajo
Copy link

@fand Awesome work, truly.

Is there any way to record the output to video?, that'd be amazing.

@fand
Copy link
Owner Author

fand commented Dec 15, 2018

@mangelajo
thx 😸
Currently VEDA can't output videos, I tried to implement GIF output once but it was a bit difficult so I postponed it...
Here's a online converter I created during the research https://gmork.in/vedajs-capture/
I also use GIF Brewery3 for daily sketches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants