Page 1 of 3 1 2 3

Search: Type: Posts; User: CmdrMatthew Search took 0.01 seconds.

  • Replies
    1,496
    Views
    73,497

    I saw the Pratt Parsers article in FPP and...

    I saw the Pratt Parsers article in FPP and started to make my own little toy language from it.
    http://i.imgur.com/Qdl0aK6.png
  • Replies
    1,496
    Views
    73,497

    That depends completely on the hardware. Newer...

    That depends completely on the hardware. Newer NVidia cards tend to be primarily SIMT (scalar), but quite a few gpu's actually use SIMD hardware.

    It's almost always better to use smaller types...
  • Replies
    3,385
    Views
    108,702

    You could use APNG. It works for non gold members.

    You could use APNG. It works for non gold members.
  • Replies
    3,385
    Views
    108,702

    Because I had no idea what I was doing when I...

    Because I had no idea what I was doing when I bought it.
  • Replies
    3,385
    Views
    108,702

    Yeah, luckily I haven't had to use it much, just...

    Yeah, luckily I haven't had to use it much, just for making connections. I'm going to have to buy a larger one soon when I get more into this kind of stuff.

    I finally got it blinking, turns out my...
  • Replies
    3,385
    Views
    108,702

    http://i.imgur.com/cVZvz1i.jpg Attempting to...

    http://i.imgur.com/cVZvz1i.jpg
    Attempting to use my Arduino to program an ATTiny44A in system, so far got a light to turn on, can't figure out how to turn it off though...
  • You could go into a field of engineering that can...

    You could go into a field of engineering that can involve some programming like electrical or computer engineering.
  • Replies
    1,312
    Views
    82,304

    Having fun with gravity, hit detection and lag...

    Having fun with gravity, hit detection and lag compensation.
    http://i.imgur.com/AXwstng.png
    http://i.imgur.com/qkZOKcs.gif
    Does anyone know a good (free) way to record gifs that doesn't have dots...
  • Replies
    1,312
    Views
    82,304

    Why not just do it on the cpu? By the time you...

    Why not just do it on the cpu? By the time you set the uniform and push it to the gpu, you might as well have just multiplied it. It also probably takes more gpu time than cpu time to calculate.
    ...
  • Replies
    1,339
    Views
    89,582

    What did you use to get those code metrics?

    What did you use to get those code metrics?
  • Replies
    1,419
    Views
    96,221

    We just need to hardware accelerate them.

    We just need to hardware accelerate them.
  • Replies
    1,419
    Views
    96,221

    Definitely. I use the Factory pattern to create...

    Definitely. I use the Factory pattern to create entities from their string names in my game and I'm sure I use the Observer pattern or something like it elsewhere.
  • Replies
    1,436
    Views
    94,670

    Winsock is the lowest level above hardware and...

    Winsock is the lowest level above hardware and raw sockets, so it has the lowest possible overhead. Anything else would just have more overhead.
    Are you sure you aren't blocking on your main thread...
  • The "magic number" can be useful in the event...

    The "magic number" can be useful in the event that another program tries to communicate over the same ports that you are using. You can just simply drop packets that clearly don't go with your...
  • Replies
    1,512
    Views
    93,317

    For one, I can't get "auto" to work for the life...

    For one, I can't get "auto" to work for the life of me, it has magical bugs, and it can't tell when >> signifies the end of a template with an embedded template.
  • Replies
    1,512
    Views
    93,317

    Honestly, every single one of those tools, aside...

    Honestly, every single one of those tools, aside from VIM, can be used and integrated in Visual Studio quite easily.
    I use GCC, GDB, and CMake, all on Windows regularly and have Visual Studio set up...
  • Replies
    1,512
    Views
    93,317

    That's because it is deterministic depending on...

    That's because it is deterministic depending on the seed you give it.
    You need to seed it with a different value each time you use it in a program, or else it will just output the same results every...
  • Replies
    12,603
    Views
    781,645

    I find this to be completely false, it's a very...

    I find this to be completely false, it's a very powerful and useful feature with only a small impact on speed. I use it all the time.
    It's about just as good as any other system you could come up...
  • Replies
    12,603
    Views
    781,645

    It is closesocket(); to close and WSAStartup();...

    It is closesocket(); to close and WSAStartup(); to start.
    I don't why its set up that way for starting it up, but the closesocket() makes much more sense than close() IMO.
  • Replies
    12,603
    Views
    781,645

    I have never had that sweating issue and the...

    I have never had that sweating issue and the heart rate monitor isn't really a point of comparison since neither have one built in.
  • Replies
    12,603
    Views
    781,645

    Motoactiv. It has built in GPS, radio and mp3...

    Motoactiv. It has built in GPS, radio and mp3 player and is great for running.
    Pebble pretty much can't do anything without a phone which is silly.
  • Replies
    12,603
    Views
    781,645

    If you were doing this with people, that would be...

    If you were doing this with people, that would be pretty accurate.
  • Replies
    12,603
    Views
    781,645

    I find that minimizing overdraw and pixel shader...

    I find that minimizing overdraw and pixel shader complexity is far more important. An extra full screen, alpha blended quad can bring frame time up a lot, where hundreds of draw calls has little to...
  • Replies
    12,603
    Views
    781,645

    Pretty much any IDE can do this. Try Visual...

    Pretty much any IDE can do this. Try Visual Studio or Eclipse.
  • Replies
    12,603
    Views
    781,645

    It depends on the row/column order or something,...

    It depends on the row/column order or something, but normally it is model->view->projection because you first transform the positions to world space, then to view space, then to projection(screen)...
  • Replies
    12,603
    Views
    781,645

    Very yes.

    Very yes.
  • Replies
    12,603
    Views
    781,645

    Very. Doing it the way you are creates a massive...

    Very. Doing it the way you are creates a massive CPU bottleneck and severely limits what you can do visually.
  • Replies
    12,603
    Views
    781,645

    Um, what. You could always use the factory...

    Um, what. You could always use the factory pattern in C++.
  • Replies
    12,603
    Views
    781,645

    Try constraining the area that you search to just...

    Try constraining the area that you search to just the square with the size of the radius times two containing the circle. Everything outside of that square has to be outside of the circle.
  • Replies
    12,603
    Views
    781,645

    Mass doesn't have any effect on flight path....

    Mass doesn't have any effect on flight path. Volume just affects air resistance which will shorten the distance traveled, but air resistance is typically not taken into account under most...
  • Replies
    12,603
    Views
    781,645

    Why not do a particle per packet, and scale that...

    Why not do a particle per packet, and scale that particle by the packet size?
  • Replies
    12,603
    Views
    781,645

    Just rock right now, but I am thinking of having...

    Just rock right now, but I am thinking of having magma there or something like that.
  • Replies
    12,603
    Views
    781,645

    Messing around with making voxel planets. Cube...

    Messing around with making voxel planets.
    Cube Planet (I think this works out the best)
    http://i.imgur.com/iGegDZY.png

    My first attempt at mapping to a sphere
    http://i.imgur.com/qUu90ZS.jpg
    ...
  • Replies
    5,780
    Views
    167,692

    Packet loss occurs only to a very small...

    Packet loss occurs only to a very small percentage of packets (~1%) if there are no problems with the connection. To be safe, it is best to assume that it will happen to any packet, at any time....
  • Replies
    12,603
    Views
    781,645

    If its an Apple keyboard they do.

    If its an Apple keyboard they do.
  • Replies
    12,603
    Views
    781,645

    Try this: #include #define o...

    Try this:

    #include<iostream>
    #define o std::cout<<
    int main(){int i,a,b;while(i++<100){if(a=i%3<1)o"Fizz";if(b=i%5<1)o"Buzz";if(!a&!b)o i;o"\n";}}
  • Replies
    12,603
    Views
    781,645

    It would make a good sound effect for fire.

    It would make a good sound effect for fire.
  • Replies
    12,603
    Views
    781,645

    It is also correct for inelastic collisions since...

    It is also correct for inelastic collisions since it is just simple conservation of momentum. FYI linear momentum is just mass times velocity and is the same before and after a collision.
  • Replies
    12,603
    Views
    781,645

    Um, no. At least not in IPv4. typedef struct...

    Um, no. At least not in IPv4.

    typedef struct sockaddr_in {

    #if(_WIN32_WINNT < 0x0600)
    short sin_family;
    #else //(_WIN32_WINNT < 0x0600)
    ADDRESS_FAMILY sin_family;
    #endif...
  • Replies
    12,603
    Views
    781,645

    I would make one. Tablets have so much more space...

    I would make one. Tablets have so much more space compared to phones, and it's really ugly if everything is just scaled up.
    You could take advantage of the screen space, especially in landscape...
  • Replies
    1,000
    Views
    63,537

    -snip- just do what Darwin said.

    -snip- just do what Darwin said.
  • These contests need to allow some more room for...

    These contests need to allow some more room for creativity. This and the last contest just involved remaking existing games.
  • Replies
    1,000
    Views
    63,537

    Now that's just unfair. That's like having Amazon...

    Now that's just unfair. That's like having Amazon EC2 join.
  • Thread: GDC 2013

    by CmdrMatthew
    Replies
    13
    Views
    1,360

    Valve does it all the time in their code. I find...

    Valve does it all the time in their code. I find it pretty funny.
    But yeah, I view it as unprofessional and probably most real professionals feel the same.
  • Replies
    1,001
    Views
    63,744

    You mean 2,073,600 pixels.

    You mean 2,073,600 pixels.
  • Replies
    1,706
    Views
    103,687

    It is possible because that range should be afaik...

    It is possible because that range should be afaik -180 - 180.
  • Replies
    1,706
    Views
    103,687

    I'm pretty sure that you are finding the angles...

    I'm pretty sure that you are finding the angles of the matrix incorrectly. That method is fastest, but it only works for most cases.
    ...
  • Replies
    1,706
    Views
    103,687

    You must be doing something wrong then. There's...

    You must be doing something wrong then. There's no reason this method wouldn't work if the two transformations produce the correct results.
  • Replies
    1,706
    Views
    103,687

    Just extract the angle from that quaternion or...

    Just extract the angle from that quaternion or matrix then.
  • Replies
    1,706
    Views
    103,687

    Just perform the rotation twice, once for each...

    Just perform the rotation twice, once for each angle. You can do this with straight matrices or use quaternions. Quaternions will probably be more efficient afaik if you just want the resultant angle.
  • Results 1 to 50 of 113
    Page 1 of 3 1 2 3