Metaballs - Normals

Started by
89 comments, last by baskuenen 20 years, 8 months ago
hi! lemme just post on this thread since it''s filled with a bunch of really good pieces of info.

i was just wondering if anyone can bring me up to speed on texturing metaballs. since i use the marching cubes algorithm, i''m going to have to assign texture coordinates per vertex as i generate them right? my question is, how do i generate these vertices?

for environment mapping, i know i have to get the longest normal vector component and divide the other two components by it to get the texture coordinates (which i will clarify later one), but how do i properly generate the correct coordinates for normal texture mapping of a metaball?

thanks!

p.s. any good sources for liquid metal textures out there? i plan on doing a two-pass algorithm for my metaballs, with the first being application of the liquid metal texture, and the second being the env. mapping, with blending on, of course

This topic is closed to new replies.

Advertisement