tovacinni / sdf-explorer

This is accompanying code for our JCGT / I3D paper, "A Dataset and Explorer for 3D Signed Distance Functions (SDF)".
Other
257 stars 12 forks source link

PixarMike SDF might be incorrect #8

Open Makogan opened 1 year ago

Makogan commented 1 year ago

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.