Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 Jun 2005
Offline Last Active Today, 05:41 AM

Posts I've Made

In Topic: Quake 3 BSP rendering problem

18 October 2014 - 05:15 PM

Well, I wasn't saying that switching to GL_TRIANGLE_WHATEVER would automatically fix it.  It's dependent on how your vertex data is stored/ordered after reading it from the .bsp.  Also, since I haven't seen your code, I can only guess as to what your problem is based on what others have had before.


Can you elaborate on why OpenGL ES 3.0 "allows" rendering without glVertexArrays and core OpenGL 3.x DOES require glVertexArrays?  As I suggested before, I recommend using indexed vertices if you haven't already.  That saved me tremedous headache.



In Topic: Quake 3 BSP rendering problem

18 October 2014 - 12:50 AM

I'm sorry, I meant to ask if you were using GL_TRIANGLE_FAN, because there are lots of tutorials that use this, which doesn't work on many of the modern and more advanced maps.


Interestingly enough, I googled "quake3 bsp Direct3D" and I dug up a thread where I helped someone with the exact same issue.  I posted my code there, and the entire thread is worth reading.  Link: http://www.gamedev.net/topic/638950-problem-rendering-quake-3-bsp-files/


Let me know if this helps.



In Topic: Quake 3 BSP rendering problem

17 October 2014 - 03:16 PM

You're not using triangle strips, are you?  If so, that's part of your problem.  I've ran into this before, and fixed it by using GL_TRIANGLES appropriately.  I can't remember exactly what I did, but it's more complicated than just switching to GL_TRIANGLES.  It's best to use indexed vertices and triangle lists for most things, except patches; you should use strips for those.  Sadly, most Q3 BSP renderers don't do this correctly, and this is a fairly common problem.


I have one that I wrote years ago, but it uses Direct3D, not OpenGL.  I can dig that up if it helps.



In Topic: Post your desktop (2014)

08 October 2014 - 02:30 AM


Attached File  Screenshot2012-05-05at124812AM.png   952.26KB   1 downloads


Windows (this is cgi, btw):

Attached File  Capture4.PNG   772.3KB   1 downloads

In Topic: FBX load model cube.

01 October 2014 - 11:42 PM

Once you have figured it all out


Isn't that your job?