Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: None  |  size: 1.45 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (gdb) frame 1
  2. #1  0x5deacf0a in WWMath::computeRayFromScreenPoint (x=480, y=270, modelview=
  3.           {static IDENTITY_MATRIX = {static IDENTITY_MATRIX = <same as static member of an already seen type>, m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}}, m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, -16778137}, {0, 0, 0, 1}}}, projection=
  4.           {static IDENTITY_MATRIX = {static IDENTITY_MATRIX = <same as static member of an already seen type>, m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}}, m = {{2.4142135623730949, 0, 0, 0}, {0, 4.2919352219966136, 0, 0}, {0, 0, -1.0749924060256948, -1163773.0533804223}, {0, 0, -1, 0}}},
  5.     viewport=@0xb86a10, result=@0x5db289f0) at jni/src/core/util/WWMath.cpp:200
  6. 200             if (!unProject(x, y, 0, tMvp, viewport, mNearPoint))
  7. (gdb) print tMvp.m
  8. $1 = {{2.4142135623730949, 0, 0, 0}, {0, 4.2919352219966136, 0, 0}, {0, 0, -1.0749924060256948,
  9.     16872596.80887831}, {0, 0, -1, 16778137}}
  10. (gdb) frame 0
  11. #0  WWMath::unProject (x=480, y=270, z=0, mvpMatrix=
  12.           {static IDENTITY_MATRIX = {static IDENTITY_MATRIX = <same as static member of an already seen type>, m = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}}, m = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}}, viewport=@0xb86a10, result=@0x5e1b1e28)
  13.     at jni/src/core/util/WWMath.cpp:115
  14. 115             double w = 1.0 / result.getW();
  15. (gdb) print mvpMatrix.m
  16. $2 = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}