Skip to content
Forum Archive

For 3D Makers only

4 posts

norealname#

For 3D Makers only

Probably u know that in a 3d movement you get wrapy part that looks
so sh**ty.Do u know how to fix these with alpha blending??😕
UnConeD#
Distance fog

If you mean distortion at a large distance, then it's best to calculate the distance of a point to the camera and set alphablending depending on the distance. For example:

(px,y,z is your point, ox,y,z is your camera/origin)

d = (sqr(px-ox) + sqr(py-oy) + sqr(pz-oz))
alpha = 3-d/2;

At distance 4 the pixels will begin to fade, and they will be transparent at distance 6. If you add a coloured clear-screen before your 3D movement (and use a buffersave for your picture), then you can have coloured fog.
solamon#
Thanks UnConeD. I've been having a bitch of a time getting alpha blending sorted out and this really cleans up a couple of blemishes on some of my presets.
BlurPak2k1#
uh...

/me needs to learn course III or something more advanced to under stand...

/me gets soo much info course 2 🙄
esp. when i do my crappy 2d scopes i practically guess on making em 😁😕🙁