Jump to content
  • Advertisement

gregs

Member
  • Content count

    621
  • Joined

  • Last visited

Community Reputation

364 Neutral

About gregs

  • Rank
    GDNet+
  1. It works fine here with VS2009 Standard installed. Are there supposed to be black polygons in the background? Log: Log started at 2009:01:23 23:18:03. 23:18:03 - Retrieving system information. OS: Windows Vista Processor name: AMD Turion(tm) 64 X2 Mobile Technology TL-60 Processor speed: 2000 MHz. Physical memory: 1.93572 GiB. 23:18:03 - Graphics adapter: NVIDIA GeForce 7150M / nForce 630M 23:18:13 - Created texture from file: gfx\nebula.jpg 23:18:14 - Created texture from file: gfx\asteroids.png 23:18:14 - Created texture from file: gfx\target_arw.png 23:18:14 - Created texture from file: gfx\target2.png 23:18:14 - Created texture from file: gfx\black.dds 23:18:14 - Created texture from file: gfx\red.dds 23:18:15 - Created texture from file: gfx\player_ship.dds 23:18:15 - Created texture from file: gfx\player_gun.dds 23:18:15 - Created texture from file: gfx\grain.png 23:18:15 - Created texture from file: gfx\mark.png 23:18:59 - Created texture from file: gfx\spark.png 23:18:59 - Created texture from file: gfx\flame01.png 23:18:59 - Created texture from file: gfx\flame02.png 23:19:01 - Created texture from file: gfx\flame03.png 23:19:17 - Terminated gracefully. Log ended at 2009:01:23 23:19:17.
  2. gregs

    The new NeHe SDK

    This is running on a P4 3.2GHz with 2Gb ram and an nVidia Geforce 6800GT
  3. gregs

    The new NeHe SDK

    Quote:Original post by Ravuya I love that font in the particle program. [grin] It's "ScreenGem" by Ray Larabie, the guy who did the font for the GTA games. Quote:Original post by Emmanuel Deloget FPS: 2222. By Gosh. What kind of screen allows 2222 FPS? [smile] My LCD says it's refreshing at only 75Hz, but I never believed it! Seriously, maybe I should stick a "Wait for Refresh" flag in there somewhere.
  4. gregs

    The new NeHe SDK

    For those of you interested in the new upcoming SDK from the NeHe group, to replace my old NeHe SDK, here are some screenshots [grin] Basic texturing (note, the art was done by other members of the NeHe group): Multi-texturing: Particle system: OBJ file loader: The other big difference is that the new SDK works under linux & MacOSX as well as Windows.
  5. As I'm redoing the Nehe SDK for the updated site, I've been looking into the libraries I can use without licensing problems - in other words licences that won't restrict the use to which the SDK can be put. Viral licenses such as the GPL are therefore a no no. I don't have a personal problem with the GPL, but as a commercial developer I have to know the legal consequences of every third party code I use. This reminded me of a problem that few developers seem to be aware of - libstdc++, the Standard C++ library that ships with gcc is GPL. Most people think that like glibc, it is LGPL. Therefore, whenever you use the standard library in a normal gcc environment (linux, mingw, cygwin, etc), your application automatically falls under the GPL. Fortunately there is a way around it, as well as standardizing your application to a single Standard Library. This is the well known STLPort which has a simple "as is" free license. This standardization also sorts out the STL problems with pre-Visual Studio .net. Hopefully updating the SDK will help me write more in this journal, as my present position isn't especially game related at the moment [sad].
  6. If you have to cater for many platforms, you have to know a great deal about their conventions, especially if you have to mix assembler with your high level languages. Windows XP 64 is no exception, and Microsoft have given us a whole new set of calling conventions that make use of the expanded instruction set. Rather than explain it myself, I will allow such Microsoft luminaries as Raymond Chen and Josh Williams to do it for me. They both explain the same thing from their own point of view, but two explanantions are better than one:)
  7. My hands? They only work intermittently, as I have an arthritic-like illness. Why do you ask? It isn't mentioned above [looksaround] Edit: I see - I really should read my own journal more [grin]
  8. Since I seem to have annoyed Rob Loach with my last entry, this time, I'll write something useful[grin] I have been spending quite a while writing an advanced test framework for my system, as was looking for a simple way of catching system exceptions, which were the main problems with the code being tested. The solution (plus digging through MSDN) was found here on Thunderguy's site. The only problem that I've found with it is that each version of Visual C++ needs a different set of compiler switches to allow it. I've also being doing some Win64 coding, which is fun up to the point that the compiler that comes with the platform SDK doesn't allow inline assembler. Fortunately there's a NASM compatible assembler called YASM here that can handle 64bit assembler that can be linked to Microsoft code. Get the latest snapshot from the downloads page, as the official release (0.4.0) doesn't support 64bit in microsoft format.
  9. gregs

    New Horizons

    It has been a while since my last entry[wink]. I have just been made redundant from my old work as a neuroscientist, so this means I should have a little more time to work on the middleware game solution I've been planning, health aside[sick]. Hopefully, I should be posting more from now on.
  10. gregs

    Documenting

    For those of you that don't know, I spend some of my time at work programming medical software for the treatment ideas my group comes up with. Recently, I have had to write my code so that one of my students can use the libraries I write. I have used most of the major documenting tools on the market, both free and otherwise, and find that it is almost impossible to write comments that are legible in both the source code and the documentation, finding that arcane means are required to get the style I need. Yann L seemed to be having a similar problem, and one of the replies he got (I can't seem to find the thread in question) told him to use NaturalDocs. After some initial annoyance (directories with spaces in seem to confuse it) I found it wonderful - mainly because it used a similar "english" way of laying things out to the way I was doing it before. As my hands are getting less useful, this saves me a huge amount of post-documentation work[grin]
  11. gregs

    Post- or Pre-Increment

    I have been told off quite often for my use of post as opposed to preincrementing integer variables, especially in my NeHe SDK, as it is bad practice, and therefore teaching bad practice. The reason for this is that in certain situations a temporary variable is constructed to hold the value before incrementing, so readability must be compromised in the quest for efficiency. Unfortunately, I try to only use postincrement in for-loops and discrete statements, such as the following example: for(int ct=0; ct
  12. gregs

    First Entry

    Writing cross-platform code is quite useful. It means that you have to research each part, so you have a better understanding of your code. However, porting inline x86 assembly from Windows to Linux causes more difficulties than it solves. The simplest solution appears to be to write assembly routines in their own files, using NASM to assemble them and then re-link them afterwards. Fortunately the ports to the Mac and WinCE don't need the assembly sections, although they may be a little slower because of this.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!