iDevGames Forums
Face Problems when Z-Near down!!! - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Face Problems when Z-Near down!!! (/thread-4862.html)



Face Problems when Z-Near down!!! - leodeus - Oct 28, 2005 07:59 AM

HY again people!!

I have working in this, but the problem persist.
So:

See this : http://labsim.estig.ipb.pt/test1.jpg

In 2, when z-near is down, i dont see the face in a top view... (i can see only the back face if i want), but i want see the front face like in 3.

Any ideias? How force the face to close and can see always the top face?... Is there a problem with the graphic card or with opengl can i force this?...

???


Face Problems when Z-Near down!!! - OneSadCookie - Oct 28, 2005 01:54 PM

You have to create a fake face inside the viewing volume if you want to see it.


Face Problems when Z-Near down!!! - leodeus - Oct 29, 2005 10:43 AM

Fake face!!!!???? How??


Face Problems when Z-Near down!!! - OneSadCookie - Oct 29, 2005 03:01 PM

just make a new quad where you want it (just in front of the near plane).


Face Problems when Z-Near down!!! - leodeus - Oct 31, 2005 04:10 AM

Hummm ... ok...
but i want down and down the Z-Near at touch in Z-Far, so that i have make manually many and many quads.... this is not " my" the solution.

Some other ideias?? how to know in there pixeis (case 2 ) I have a face?

Thanks


Face Problems when Z-Near down!!! - OneSadCookie - Oct 31, 2005 12:14 PM

you don't have to make many quads, just a different one each time.

In order to find out what kind of "cap" you need to draw, you will have to calculate the intersection of the near plane with your edges to get a new set of vertices, then somehow (perhaps with the GLU tessellator) turn those into triangles.