• Advertisement

Tachikoma

Member
  • Content count

    723
  • Joined

  • Last visited

Community Reputation

575 Good

About Tachikoma

  • Rank
    Advanced Member

Personal Information

  • Interests
    Programming
  1. Fast Discrete Natural Neighbour Interpolation

    Great article. However, photobucket seems to be temperamental and the images fail to load. Hopefully this is temporary. I recommend using imgur for image hosting.
  2. Singleton pattern abuse

    I would be interested to read comments on how some of you mitigate duplicate resources without a global-like resource pool pattern that uses reference counting, and so on. I suppose laungages with GC capability helps in that respect, and so does auto_ptr/shared_ptr to some extent...
  3. [quote]Converting the images (and the code that uses them) to be POT compatible is out of the question.[/quote] While reading the NPOT textures from file, you could resample them to the nearest POT dimensions in software. If you don't want to lose detail, you might want to resample up only, rather than nearest. After buffering the resulting POT textures to GL, use a texture matrix to scale the bound textures to the correct aspect ratio on the geometry.
  4. How the hell do you answer a phone?

    At home: "Yep...." At work: "<company_name>; <my_name> speaking..."
  5. Aspect Ratio in 3D

    Well, the 3D side of things are completely independent of the display space. The only connection between the two are matrices, more importantly, the projection matrix. So that means the aspect ratio is usually defined by the projection matrix. Now, to accomodate different aspect ratios, you could choose from several methids. One trick is to keep the vertical FOV (field of view) constant, and only change the horizontal FOV. Other method keeps the horizontal fixed and changes the vertical one. Or you could also use some combination of both. Your real problem is the display resolution vs. the display aspect ratio. For example, the graphics card may expose a bunch of display resolutions with 4:3 aspect ratios, even though the display itself is 16:9 or 16:10. The reverse may also be true. By looking at the display mode list, there is no reliable way to know what physical aspect ratio the display uses, unless you do some OS specific queries about the display hardware and its native resolution. Even then, such info may not be available. I guess your "fail safe" option is to allow your users to explicity chage the projection matrix aspect ratio, if needed.
  6. Finding a suitable dedicated girlfriend

    This thread is really confusing.
  7. C First?

    I think threads like these perfectly illustrates how differently people approach languages. [quote name='Cornstalks' timestamp='1328671639' post='4910754']Learning C can be useful, yes, but that doesn't mean it should be learned before C++ (nor does it mean C++ should be learned before C). [...] Learning C just for the syntax is unnecessary. The syntax is such a small part of programming.[/quote] In all honestly, I can only speak for myself here. The learning approach I mentioned earlier was very useful, particularly syntax part. When you have never written a line of code before, syntax is everything, and learning it is one of the first fundamental steps for understanding what you are looking at. And when you switch over to some other language with a familiar syntax, learning that will be also a hell of a lot easier. I probably would have struggled with C++ if it weren't for C.
  8. C First?

    Depends what platform you want to break into. Personally I say learning C first is very useful. It exposes you to some fundamental programming concepts and gives you an insight how machines work one level up from assembly. Also, many laguages "borrow" the C syntax in various forms, and some laguages is even a superset of the C standard. Objective-C is one such example.
  9. Looks nice, it only models Earth like scattering, yeah?
  10. If you started development recently, by the time you're done the landscape would have shifted somewhat anyway - i.e. more devices would be supporting newer GL versions.
  11. Rate your own intelligence from 1 to 10.

    I know how to forage for food...
  12. Staying up all night.. how often? healthy?

    I am a night owl, but usually sleep 7 hours. Still tired afterwards. In fact, my problem is constant tiredness. I hate it.
  13. Infinite Night

    With some specifics aside, sounds like a formula that has been done a few times before. Nothing wrong with it, of course, it does sound like fun. It all comes down to portraying the personalities of your undead creatures in an interesting manner. Perhaps you could give some thought about the psychological burdens of a human changing into a supernatural being. (Personally I like the classical Dracula, particularly Werner Herzog's adaptation of Nosferatu.)
  14. [quote name='clb' timestamp='1327168255' post='4904881'] Also, for people who want to try to hack normalizations to be faster, this is a [b]very[/b] interesting read: [url="http://www.lomont.org/Software/..%5CMath/Papers/2003/InvSqrt.pdf"]Chris Lomont - Fast Inverse Square Root[/url]. [/quote] As others have already mentioned in this thread, that algorithm is no longer practical on a modern architecture. But it remains as a mathematical curiously none the less.
  15. Eugenics is a necessity.

    It's all pseudoscience. Evolutionary development makes no disctiontion in the same way as we do thorugh eugenics on what makes a particular species successful. This basically implies that a mentally challenged person could conceivably have an advantage over most people if a special scenario should arise. Selection pressure due to environmental factors can dramatically change the characteristic of any species... or wipe them out. One or the other.
  • Advertisement