heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
70 stars 3 forks source link

System to convert a Field into a shader (and a MultiField into a sequence of shaders) #5

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

Self-explanatory. The GPU is a perfect place for Field evaluation.

The implementation should be similar to DSL implementation, as decentralized as possible.

We must also implement a function that fills a GL.Texture with a field (NIn either 2 or 3 for 2D or 3D textures, and NOut is 1-4 depending on the number of channels in the texture)