Alimonster

Members
  • Content count

    1042
  • Joined

  • Last visited

Community Reputation

185 Neutral

About Alimonster

  • Rank
    Contributor
  1. Anybody left from the 2003 crowd?

    Are we having a nostalgia-fest?  Here are some things I remember from long ago: Sabreman talking about Lisp/dissing C++ wherever humanly possible Someone using the term 'poppet' a lot (YodaTheCoda?) Pouya posting a ridiculously obfuscated, tiny Arkanoid-style game The Radeon advert bishop_pass posting lots of interesting photos (and talking about horses) Yann L posting amazing screenshots every so often, causing threads to digress
  2. You can make use of the aggregate function "count", along with "group by" and a "having" clause: Count function Group By Having Something like this (untested): select address, count(address) as num_families from my_address_table_here group by address having num_families > 1
  3. They're called Metadata in Actionscript 3 (Flex).
  4. Favourite Firefox Extensions?

    Linkification (turns non-href'd bits of text into actual hyperlinks) Download Statusbar (a small progress bar for downloads on the bottom of a page; much cleaner than having a separate window!) Nuke Anything Enhanced (remove any element whatsoever from a page) Firefox Showcase (customize your toolbar to include a link to the sidebar icon once installed)
  5. Beginner needs help with Delphi and OpenGL Please

    In the NeHe tutorials, you'll probably have noticed the CreateWindow bit to make your main window - this results in an HWND. Windowed controls allow you access to this using the Handle property. To get the HDC, you pass in a window handle to the GetDC function in Win32. However, the Delphi side encapsulates this behind the canvases; if you reference SomeObject.Canvas.Handle, it checks to ensure that it has a valid DC and returns that to you. This is the same idea as using GetDC(MyObject.Handle). You'll find that anything in Win32 is neatly wrapped up in some form or another in the VCL, and handles are no exception. I've found some examples of doing OpenGL in a TPanel (I knew I'd seen examples!): Nitrogen (for example, his lightmapping thing). I've not done medical imaging stuff like this before so I don't know the best way to do it. It does look like it could be done if you use blending (making sure it's sorted so the furthest away slice is drawn first). You might want to check out voxels, however, since I believe they're useful for this purpose. Voxels are just 3d pixels (so instead of thinking of pixels as 2d squares, you think of voxels as 3d cubes). For example, searching for "medical imaging voxel" in Google lead to this paper, which contains a few tidbits of information. This may or may not be a red herring, but you should look into it - caveat emptor and all that.
  6. Beginner needs help with Delphi and OpenGL Please

    Here's a quick example I've whipped up: opengl_vcl.zip (213K). It's drawing to the main window rather than a TPanel but the idea is there; it should just be a case of changing a few handles. When you're dealing with the VCL, most objects have "handles", which are the actual Win32 handles - for example, HWNDs (most objects) or HDCs (for TCanvas). Apologies if I've overlooked something - I usually do fullscreen, window-only things rather than using the VCL. You'll want to improve the timing method, incidentally, as TTimer sucks for precise frame rate updates. Also, you'll probably recognise a fair bit of the code from NeHe. You might want to have a look at Delphi3d, and the DOT library there, as I seem to remember Tom's examples being windowed. Also, take a look at Pascal Game Development.
  7. Oblivion Mods

    Oblivion "Make It Pretty" mod and associated article. You might want to check out the Oblivion Overhaul.
  8. If you are using OpenGL12.pas then make sure it's included in your library path. Tools->Environment Options->Library, then click the button beside "Library Path". Include the path and you're done. If you're not using it then make sure you've not included it in the "uses" part of your code. Delphi3d is a good place to get an up-to-date OpenGL implementation. You might also want to check out Pascal Game Development for other Delphi questions.
  9. Internet WORM Detected

    Quote:Original post by KulSeran You might consider getting a "hosts" file for your computer, or a similar solution. This could definatly be a not so benign ad that is getting loaded when you vist the site. There appears to be minimal connection between the ad and the actual gamedev.net website, though the ad are mostly targeted towards the comuity, there is always that stray ad that seems to sneek in. That is one posiblility you could think about. Here's a useful hosts file
  10. Photos into 3D

    Not quite what you're talking about, but cool anyway
  11. What's Your Programmer Personality Type?

    Quote:Your programmer personality type is: PLTB You're a Planner. You may be slow, but you'll usually find the best solution. If something's worth doing, it's worth doing right. You like coding at a Low level. You're from the old school of programming and believe that you should have an intimate relationship with the computer. You don't mind juggling registers around and spending hours getting a 5% performance increase in an algorithm. You work best in a Team. A good group is better than the sum of it's parts. The only thing better than a genius programmer is a cohesive group of genius programmers. You are a liBeral programmer. Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need. That seems about right (except that I'm only "slow" when I'm skiving off ;)).
  12. CORRUPTED .PAS NEED HELP!

    Delphi can make backups of code files - check for any files with a ~pas (source code) or ~dfm (form data) extension and you might get lucky. Also, download GExperts if you can, as it has a utility to backup a project to a zip file.