fand / veda

⚡VJ / Live Coding on Atom⚡
http://veda.gl/
MIT License
509 stars 34 forks source link

VEDA v3 #80

Open fand opened 6 years ago

fand commented 6 years ago

TODO

MacroMachines commented 6 years ago

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

fand commented 6 years ago

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

fand commented 6 years ago

Three.js will support WebGL2 soon so we don't need to replace it with pure WebGL code 😸 https://github.com/mrdoob/three.js/pull/13717#issuecomment-378181220

MacroMachines commented 6 years ago

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 commented 6 years ago

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:

fand commented 6 years ago

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:

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

fand commented 6 years ago

Three.js examples for loaders:

https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_json_blender.html https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_collada_skinning.html https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_fbx.html https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_3ds.html

mangelajo commented 5 years ago

@fand Awesome work, truly.

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

fand commented 5 years ago

@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