Do it like I did in the Q2 Beta. Fake the clipping
Just don't clear the color buffer. Sure it makes some errors but it don't look so bad as black parts of the screen
I have written a fast convex polygon frustum clipper. I will release it soon.
its cool. It does not hurt to ask and it does not hurt to answer.
Now I will tell you what does hurt. Writing code to clip polygons to the view frustrum without being an overly bloated P.O.S.![]()
Do it like I did in the Q2 Beta. Fake the clipping
Just don't clear the color buffer. Sure it makes some errors but it don't look so bad as black parts of the screen
I have written a fast convex polygon frustum clipper. I will release it soon.
Screw that. I'm going for real clipping algorithim. I also noticed your cheap trick in quake 2Originally Posted by McZonk
I need it since quake 3 surfaces are pretty damn large on the whole so it's best to do it the right way then to sub divide like crazy guessing till you get it small enough.
In Q2 a subdived all polygons into triangles and every triangle into 4 smaller once. That results in the same problem as you have. I just added the colorbuffer hack for a quiet better look not as a feature.
I now have a real frustum clipping which is much faster than the stupid subdivide because i can still draw a complete polygon with triangl _fan. But for the first beta the color buffer hack was a good idea because you don't notice the errors in normal gameplay![]()
Yep, Actualy for us we just had the maper make a map with very very small polygons.Originally Posted by McZonk
I'm trying to get my clipping working but it's hard when you cant debug (so currently testing out in my win32 work enviroment to see what the bug is).
Hey guess what. I finaly got Surface/Polygon clipping working. I just need to do a few things, clip the u.v cordinates, & properly add it into the pipeline (so it clips once and can be rendered multiple times for multitexturing & lightmaps.
FYI, Everything grey is being clipped.
Few more things. I have added in the uv adjustments so texturing is good now. I just have to fix colors.
Also sadly we lost in the dcemu compo but oh well. We will always keep chugging along & congrats to mrzonk for his well deserved win.
make me a list of textures you needor email me the list.
We lost?!?...don't be so negative, we came second, by one point! Thats not too bad, considering we were up against a port of a popular commercial product!Originally Posted by PSmonkey
Cheers,
Fox
I reject your reality and substitute my own!
I still dont see how you guys lost. Iris should have had the compo win easy, I thought
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks