Game Development Community

OpenGL Brush Bug?

by Amos Barrows · in General Discussion · 03/30/2002 (2:16 pm) · 2 replies

I crash everytime I try to use a brush in the Terrain Editor. Wondering if this is a known problem.

On a G4/350/OS9/384RAM w/ RAGE 128 PRO card and latest Apple OpenGL extensions.

Has anyone else had trouble with the Terrain Editor with OpenGL?

And does RW have any built-in debug feature?

About the author

Recent Threads


#1
03/30/2002 (8:43 pm)
Okay. I didn't REALLY have the time to waste hunting this down, but figured it SHOULD work, so I would put in the time. I can't promise that what I'm seeing, and fixed, is the same issue you have, but I'll guess they could easily be the same thing...

I crash or hang immediately under OSX just trying to ENTER terrain editor mode.

It is apparently the same issue with shadows -- CVAs (compiled vertex arrays) in combination with certain areas of GL rendering code seem to be causing lockups and/or crashes on the Mac, at least against ATI boards. I will hopefully swap in a Ge3 and try that out this week too.

I have a note into ATI, and will be sending them a build.

In the meantime, there are things you can try/do:

1. uncomment the "gOpenGLDisableCVA = true;" line that is like line 137 or so in macCarbGL.cc. Note this WILL have performance effects, especially under OSX.

2. from the console (once into the app), type:
$pref::OpenGL::disableEXTCompiledVertexArray = true;
... which will temporarily disable CVAs.

3. (THE EASIEST TEST OF THE THREE WITH NO EXTRA STEPS) the pref in #2 is also in /client/prefs.cs. Set the value in the prefs file for disable CVA to "1", and it should do the same as both above.

Best suggestions until I can get to the bottom of this.

d
#2
03/30/2002 (11:33 pm)
Cool. #3 did the job :-)
Works perfectly now. Thanks!