| |
| |
| |
|
Comments:
<0> is there a reason why polygons would be drawn out of order in OpenGL? I'm using orthographic projection <1> Journey = Do you have depth testing enabled? <0> yes <0> glEnable(GL_DEPTH_TEST) <2> Journey: How do you draw your elements?
<2> And how many dimensions do you define for your vertices? <2> I'll be right back to help. Need a smoke. <0> I'll show you the screenshot http://i14.photobucket.com/albums/a350/luisjoseromero/out_of_order.jpg <0> I define 3 dimensions for each vertex <0> here's the post also http://www.gamedev.net/community/forums/topic.asp?topic_id=409143 <2> Well, what's wrong with your screenshot? <2> Are they drawn in a wrong order? <2> Have you specified a depth buffer? <0> yes <0> glEnable(GL_DEPTH_TEST) <0> I'll post more screenshots <0> http://i14.photobucket.com/albums/a350/luisjoseromero/out_of_order3.jpg <0> http://i14.photobucket.com/albums/a350/luisjoseromero/out_of_order2.jpg <0> they are bezier surfaces <0> drawn each on top of the other <2> glEnable(GL_DEPTH_TEST); doesn't tell me anything. <2> I asked you if you have specified a depth buffer. <3> are they always in the exact opposite order of what you want?
<2> Hehe. <2> In that case, near > far <0> ok sorry but how do I specify the depth buffer? <2> It's hard to tell how you manage to setup an opengl context without knowing about the different framebuffer attributes. <2> managed* <2> Consult your OS-specific window API you use for setting up a valid context. <2> For Windows, this info is in a PIXELFORMATDESCRIPTOR struct. In SDL you set the depth buffer precision with SDL_GL_SetAttribute <3> it might also be a misunderstanding of the coordinate system <3> or an improper depth test function being used <2> True, it could be GL_GREATER, but wouldn't he remember so, if he made it that way? <3> that's why I said a misunderstanding of the coordinate system first :) <0> I'm using a 16 bit z buffer <3> hah, http://youtube.com/watch?v=3aJEcD4wKlc <4> /me vote's wii <4> o.O <4> Actually, **** it, I vote her. <4> Who cares abotu consoles anyway <5> Journey, how are you doing your interface? Is that just standard windows mfc, or are you using a library? <6> Tox|k, try another efnet IRC server
Return to
#opengl or Go to some related
logs:
#beginner #worldcup zombietimes
those were people who died, died... #gamedev #delphi rotting skin #computers centos sucks paludis stage3
|
|