jump to navigation

Reducing number of divisions for polygon mappers – part 2 March 24, 2008

Posted by winden in coding, demoscene.

NOTE: moving to my new winden homepage


1. iq - March 25, 2008

So this mean you can back-face-cull _before_ projection… Nice. Ah, 1/(zzz*zzz) is always positive so it will not change the sign of “area” (so only need to do the division when the back face test actually passes)

2. winden - March 26, 2008

Yes, not doing any divide if it is back-facing is nice :)

3. Optimus - June 10, 2008

Interesting, though using the original 3d coordinates for back face culling instead of the projected ones produces little problems like polygons disappearing before their time, but those problems are mostly happening if you try to render a glenz cube and have different color for back and front, not for solid objects.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: