• Advertisement

Zook

Member
  • Content count

    123
  • Joined

  • Last visited

Community Reputation

134 Neutral

About Zook

  • Rank
    Member
  1. object rotations

    When you update the orientation you only need to apply the latest change. So, using YawLeft as an example, try replacing "yaw -= rotationSpeed;" with "yaw = -rotationSpeed;". Also, you may find this rotation tutorial interesting.
  2. I've had the exact same problem for a long time. I haven't noticed significant jerkiness in other apps than mine before, but I checked out the Shadowmap sample that you mentioned and the jerkyness was there too. And when I unplugged the network cable the jerkyness disappeared. I've also found a completely different way to "fix" the problem: run the app in fullscreen mode using the debug directx-runtimes. Works both in my program and the Shadowmap sample. The specs: Windows XP Home SP2 P4 2.8 GHz Geforce 5900U Asus P4P800 Deluxe with 3Com Gigabit LOM integrated network adapter Netgear RP114 router
  3. AFAIK it's not supported by any nvidia cards.
  4. prayer and healing

    Quote:Original post by d000hg I've only just seen this thread - I'm responding to the original post so sorry if it's changed tack since then... What about those who claim they have [i]been[i] healed in a miraculous manner? Not that they got better a bit quicker from surgery but that they recovered lost sight, regained the ability to walk - biblical type stuff?! Earlier post
  5. prayer and healing

    Quote:Original post by WillC Quote:Original post by Zook Anyway, he mentioned lots of other diseases and said that if he had mentioned your disease, you should check if it was gone, to do something you couldn't do before. Wow, that's amazing. He mentioned a long list of possible diseases and problems, and there were actually people in the audience that happened to suffer from them. What are the chances of that? That's not the point. Like I said, I was sceptical myself, but I know what happened to me.
  6. prayer and healing

    Empirical evidence is good, I love science etc, but it doesn't change an experience I had a couple of years ago. I went to a church meeting with some preacher who was known for all these healings that supposedly took place in his meetings. I did believe in miracles and stuff (yes I'm a christian) so I went there with the hopes of being healed in my eyes, since I was (and still am) visually handicapped. Although I didn't get my eyesight back, something else happened. I was sitting there with intense back pains, that had started several years earlier, and the preacher starts describing my pain in detail. He says in what part of the room I sit. He says that it's much work in front of the computer, and synth-playing that causes it. And he says God is healing me. I couldn't quite believe he was talking about me though. I mean I got these problems before I got my synth. And I didn't even know what caused it. Anyway, he mentioned lots of other diseases and said that if he had mentioned your disease, you should check if it was gone, to do something you couldn't do before. I thought why not and moved my arm. For the first time in several years I could move it without effort, and suddenly I realised that all the pain was gone and that all muscles in my body was completely relaxed, in fact more relaxed than I could remember that they'd ever been. Again, scientific studies are great, but to me they can't prove there's no God or that he can't heal you. I could go on (and I will :P) to tell about my dad who got healed from cerebral haemorrhage over 15 years ago. The doctors said they didn't know if he would live, it could go either way. Well they prayed for him in church. 18:15 the pastor said (translated from Swedish) "It's turning around now." The first thing the nurses said to mom when she came to the hospital afterwards was: "It's amazing, at 18:15 it turned around just like that". Some weeks later he was fully recovered (except for a minor eyesight condition that had been caused by the disease). [Edited by - Zook on March 31, 2006 8:45:40 PM]
  7. 3D Cameras

    Are you saying you want to rotate around any of the three axes in your current orientation (up, right, look)? Then it's as simple as D3DXMatrixRotationYawPitchRoll. To make the rotation relative to your current orientation you need to concatenate the rotation matrix with a matrix that you use to store your current orientation. Something like this: D3DXMATRIX orientation; //Current orientation(class member) Iinitialize it as the identity matrix which makes right=(1,0,0), up=(0,1,0), look=(0,0,1) D3DXMatrixIdentity(&orientation); Then every frame calculate the rotation matrix and use it to update the current orientation: D3DXMATRIX rotation; D3DXMatrixRotationYawPitchRoll(&rotation, yaw, pitch, roll); orientation = rotation * orientation; Then use row 2 and 3 from the orientation matrix as described in my last post. Remember that the order by which you multiply matrices is important. orientation = rotation * orientation; is correct orientation = orientation * rotation; will give strange results Hope this helps! [Edited by - Zook on November 26, 2005 7:38:32 AM]
  8. 3D Cameras

    When you have the rotation matrix from D3DXMatrixRotationAxis or whichever way you use to calculate it, all you need to do is: Get the updated Up and Look vectors from row 2 and 3 in the matrix. Then call D3DXMatrixLookAtLH(&viewMat, &Position, &(Position + Look), &Up);
  9. 3D Cameras

    Quote:Original post by sakky 2. ) To rotate, I use D3DXRotationAxis to rotate the camera on any axis I choose. You mean D3DXMatrixRotationAxis? Then the resulting matrix contains all the vectors you need. If I remember correctly first row is right vector, second is up vector and third is look-at vector.
  10. guess the game II

    Doh! Maybe even faster this time!
  11. guess the game II

    My last one was too easy. This one is probably a little harder.
  12. guess the game II

    Quote:Original post by Marmin loderunner? Correct! :)
  13. guess the game II

    Now what could this be? And have anyone actually beaten this game? I have a savestate on level 123 and no end in sight...
  14. The Zontar thread was quite funny. And this tetris tutorial. Also the single word game had some really funny stuff in it.
  15. The easiest way to do this is to use buffered input IMO. That will give you a messsage that a key has been pressed(or released) and which key it is. Since you only get a message when the state of the keyboard changes this will automatically solve your problem. Look up GetDeviceData (I'm pretty sure that's the name) in the SDK docs.
  • Advertisement