natevm / BSDF-Visualizer

Project for scientific visualization
MIT License
18 stars 4 forks source link

Analytical BRDF load #10

Closed n8xm closed 6 years ago

n8xm commented 6 years ago

I can load BRDFs in the brdfs folder, and visualize the lobe. I still have not plugged this into the "model view".

I need to modify Disney's .brdf files slightly to get this to work, because they are based on desktop OpenGL, whereas WebGL (as far as our shaders are concerned, really OpenGL ES) has slightly different rules.

Tested in Firefox on Windows and Firefox/Chrome on Linux.

n8xm commented 6 years ago

@n8vm @DQLin Requesting review. It was tricky to merge the new changes (e.g. picking, new sliders) into this. We should make sure it acutally works.

natevm commented 6 years ago

Looks good. We need to get these BRDFs visualizing in the model view/add a drop down for some served BRDFs.