Search found 128 matches
- Oct 16, 2012 19:09
- Forum: Projects
- Topic: MyDDDungeonsGL free 3D mod of DDDungeons
- Replies: 24
- Views: 4700
The lines between the blocks are very likely due to linear filtering i.e. texture bleeding in from the adjacent tile in the tileset. One way to fix it would be to use GL_NEAREST texture filtering. I think with such low-res resources, the pixelated look would also look nicer than the current blurry o...
Generally speaking killing a thread is considered dangerous, unsafe operation that should not be done (and FB library doesn't provide a way to do it). The way these are normally handled is that a blocking function has a timeout after which it returns, so with threading, you would call a blocking fun...
I didn't really understand much of your post but here's a couple of pointers: * All threads of a process have the same PID (Process ID), creating new threads within a process won't create new PIDs * You must not run 98k threads at the same time * If you are doing a lot of small tasks in rapid succes...
- Dec 29, 2011 8:35
- Forum: Community Discussion
- Topic: I will not let die Basic4GL.
- Replies: 66
- Views: 9943
The next unic feature are the GL slang inside the main program. I never saw this feature in any other language. Technically you can have shaders in main program in any language by wrapping them in strings. But I guess that's a bit cheating, since you need to add manual line endings and there's no p...
- Dec 01, 2011 14:09
- Forum: Libraries
- Topic: Simple Physics Engine wrapper for FreeBASIC
- Replies: 7
- Views: 2669
Hadn't heard about SPE before. I checked their (linux) demo and it seemed nice. However, there are a lot of free and open source physics libraries: Bullet, Newton, ODE... (that are commercial game quality, even feature films). Do you happen to know any advantages with SPE and how did you end up choo...
- Nov 16, 2011 21:53
- Forum: Windows
- Topic: How to get My Documents and My Pictures paths?
- Replies: 14
- Views: 1419
@sir_mud: The Linux part assumes English language and as such, will fail miserably with localized systems. I think the way to obtain the localized paths is desktop environment (GNOME, KDE, XFCE etc.) specific, and as such not an easy task to implement. Also, after a quick glance it seems to me that ...
Modern distros use "~/.config/ApplicationName/" for configuration files. And for data such as save games and screenshots: ~/.local/share/ApplicationName And for cache files that can be regenerated automatically: ~/.cache/ApplicationName This intends to avoid polluting the user's home dir with horde...
dodicat wrote:For Linux users, please shell some other editor, other than notepad, for the saved file (mygl.txt).
Amusingly it actually works out of the box on Linux since I have Wine installed and it seems to also install notepad (or a notepad clone).
Great to see some newer OpenGL examples. Extra points for using VBOs and going beyond the old OpenGL 2.0 and using GLSL from OpenGL 3.1 (note for people with 2.0 only: see the readme). EDIT: Examples run fine on Linux, but I needed to add a definition of NULL to shader.bi: #Ifndef NULL #Define NULL ...