tovacinni/sdf-explorer

PixarMike SDF might be incorrect

Makogan opened this issue · 0 comments

I was trying to do some experiments with the data set and was noticing some strange results with the pixar mike model.

To try to see if the problem was on my end or with the data I opened the file data-files/sdf/Animal/PixarMike.glsl I copied only the function vec2 map(vec3 p) into the original scene in shadertoy (i.e. the shadertoy linked in the copy right header of the glsl file), this one.

On shadertoy I see this:

Screenshot from 2023-04-01 00-42-21

The shape I see on shader toy is consistent with what I see in a custom made sphere tracer written in C++ on my local machine. This is why I suspect that the current PixarMike model on this repo might not be correct.

Please let me know if this is indeed a bug or if I have made a mistake.