Skip to content
Forum Archive

Cubism III

8 posts

dirkdeftly#

Cubism III

The biggest coding achievement i've made in AVS yet - fast backface culling for convex polyhedra 🙂 unfortunately there's no hope (afaik) for trying to apply a similar method to concave polyhedra, unless you did some really r33t shit like in Goldie to find obscured portions of faces...but i'll never be able to do that 😉
Jaak#
Err...



Isn't it faster and easyer just to check the middle point of face and if its below 0 in z coordinate then simply set n to 0 for that face?

UIUC85, dl winamp 5
Pixelcraft#
Originally posted by UIUC85
I'm not seeing anything when I load it up...
Yeah, I just get a white screen....
dirkdeftly#
get the latest version of avs

jaak: that only works if you're doing an orthogonal projection. if you're doing a z-transform your angles get distorted, so if you try that method you start seeing the faces that are obscured by the front faces.