flockaroo OP t1_it8plfl wrote
Reply to comment by J3ff_K1ng in If The Ocean Was Whisky, Me, digital - generative, 2022 by flockaroo
hmm ok, why not, let me try... its basically "ray tracing/ray marching/path tracing": first i'm defining the glass and the whiskey surfaces as mathematical functions (actually distance appoximation functions). then for each pixel i step from eye position into the direction of the pixel into scene until i hit a surface. on a surface with a certain probability (fresnel equations) the viewing ray gets reflected/refracted from the surface and walks along. this is repeated until the ray hits a light source. and this is then repeated for all pixels and several times util we have a properly lighted scene...
Soreine t1_it9aucb wrote
What's fascinating is how you modeled the whiskey waves... it even has foam ! What mathematical function looks like waves ? Not the ones I studied at school x)
flockaroo OP t1_ita5lku wrote
the functions are just the ones from school, just many of them summed up and in different scales ;-)
oh, and the foam is actually an illusion. in thin layers (like in the wave crowns) the light gets reflected/refracted multiple times in the same region, which leads to a more random light diffusion in those regions. i was surprised myself by that effect! ...that doesn't mean real waves cannot have foam additionally ;-)
C_Pala t1_it8t2n0 wrote
lot of words to say it was rendered
flockaroo OP t1_it8to11 wrote
yup! but "its rendered" is not really "getting deeper into that" ;-)
FangornOthersCallMe t1_it8vg3p wrote
It’s deeper than “not AI”
Viewing a single comment thread. View all comments