Advertisement
Guest User

raytracer shite2

a guest
Jun 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 7.99 KB | None | 0 0
  1. #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  2.         set = {__val = {0, 140737332307715, 93824998967248, 0, 140737332312240, 4147920416, 386183668047020927, 4147920416, 4294954696, 281470681751456, 0, 0, 0, 0, 0, 0}}
  3.         pid = <optimized out>
  4.         tid = <optimized out>
  5.         ret = <optimized out>
  6. #1  0x00007ffff6782801 in __GI_abort () at abort.c:79
  7.         save_stage = 1
  8.         act = {__sigaction_handler = {sa_handler = 0x3f8000003f800000, sa_sigaction = 0x3f8000003f800000}, sa_mask = {__val = {4575657222473777152, 9223372039002259456, 9223372039002259456, 4853928523011937757, 4843672012260070877,
  9.               140737332307715, 140737328770897, 11, 140737332307584, 10, 93825008647488, 140737488348832, 0, 0, 140737328772099, 93825002661896}}, sa_flags = -147219296, sa_restorer = 0x555555f46808}
  10.         sigs = {__val = {32, 0 <repeats 15 times>}}
  11.         __cnt = <optimized out>
  12.         __set = <optimized out>
  13.         __cnt = <optimized out>
  14.         __set = <optimized out>
  15. #2  0x00007ffff73948b7 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  16. No symbol table info available.
  17. #3  0x00007ffff739aa06 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  18. No symbol table info available.
  19. #4  0x00007ffff739aa41 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  20. No symbol table info available.
  21. #5  0x00007ffff739ac74 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  22. No symbol table info available.
  23. #6  0x00007ffff73967b5 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  24. No symbol table info available.
  25. #7  0x0000555555570008 in std::vector<Material, std::allocator<Material> >::_M_range_check (this=0x555555785840 <MyMesh+96>, __n=4294961307) at /usr/include/c++/6/bits/stl_vector.h:804
  26. No locals.
  27. #8  0x000055555556f7c9 in std::vector<Material, std::allocator<Material> >::at (this=0x555555785840 <MyMesh+96>, __n=4294961307) at /usr/include/c++/6/bits/stl_vector.h:825
  28. No locals.
  29. #9  0x0000555555574c67 in performRayTracing (origin=..., dest=...) at /cg-6/code/src/raytracing.cpp:177
  30.         triangle = 0x7fffe73a54f0
  31.         pointNormal = {p = {-0.15661566, -0.722754538, -0.672606051}}
  32.         coordinates = std::vector of length 3, capacity 3 = {0.263715088, 0.638830304, 0.0974546}
  33.         pos = {p = {-1.14799976, 0.293695867, -0.161540151}}
  34.         diffuse = {p = {0.102278814, 0.660524011, 0.264037192}}
  35.         specular = {p = {-0.0144154159, -0.0755214691, -0.0598840788}}
  36.         dir = {p = {-0.941465735, -0.036722064, -0.335102707}}
  37.         found = true
  38.         smallestT = 1.50280535
  39.         index = 21228
  40.         triangles = std::vector of length 282, capacity 282 = {0x7fffe72df868, 0x7fffe7307138, 0x7fffe732bd80, 0x7fffe7350270, 0x7fffe7350298, 0x7fffe73852b8, 0x7fffe73a3ba0, 0x7fffe73a3bf0, 0x7fffe73a3c18, 0x7fffe73abe68,
  41.           0x7fffe73ea3c0, 0x7fffe73ea3e8, 0x7fffe7404298, 0x7fffe72db448, 0x7fffe72ea830, 0x7fffe72ea858, 0x7fffe730ee60, 0x7fffe730ee88, 0x7fffe7334c78, 0x7fffe734b720, 0x7fffe7356198, 0x7fffe735a5e0, 0x7fffe735a608, 0x7fffe7368aa0,
  42.           0x7fffe7368ac8, 0x7fffe7372dc0, 0x7fffe738b988, 0x7fffe73c6100, 0x7fffe73c6128, 0x7fffe73c6150, 0x7fffe73e3d90, 0x7fffe73e6608, 0x7fffe74223b0, 0x7fffe74223d8, 0x7fffe744ca70, 0x7fffe745a300, 0x7fffe745a328, 0x7fffe745a350,
  43.           0x7fffe72df818, 0x7fffe72e10a0, 0x7fffe72e1910, 0x7fffe72ea858, 0x7fffe72f0230, 0x7fffe72f0258, 0x7fffe72f1b80, 0x7fffe72f1ba8, 0x7fffe72f1bd0, 0x7fffe72fc120, 0x7fffe7308c90, 0x7fffe7308cb8, 0x7fffe7308ce0, 0x7fffe7308d08,
  44.           0x7fffe730da38, 0x7fffe730ee60, 0x7fffe730ee88, 0x7fffe7321718, 0x7fffe732a5c0, 0x7fffe732a5e8, 0x7fffe733bbe0, 0x7fffe733bc08, 0x7fffe7342940, 0x7fffe7342968, 0x7fffe7348958, 0x7fffe734f320, 0x7fffe734f348, 0x7fffe7356170,
  45.           0x7fffe7356198, 0x7fffe735a5e0, 0x7fffe735a608, 0x7fffe7368ac8, 0x7fffe736e8b0, 0x7fffe736e8d8, 0x7fffe736e928, 0x7fffe73900a0, 0x7fffe73900c8, 0x7fffe73951e0, 0x7fffe7395208, 0x7fffe739d660, 0x7fffe739d688, 0x7fffe739fe10,
  46.           0x7fffe739fe38, 0x7fffe73a2de0, 0x7fffe73a2e08, 0x7fffe73a54f0, 0x7fffe73a8f60, 0x7fffe73a8f88, 0x7fffe73b4680, 0x7fffe73b46a8, 0x7fffe73b46d0, 0x7fffe73b46f8, 0x7fffe73b4fe0, 0x7fffe73b5008, 0x7fffe73d2950, 0x7fffe73e9790,
  47.           0x7fffe73e97b8, 0x7fffe73ea910, 0x7fffe73ea938, 0x7fffe73ea960, 0x7fffe73ea988, 0x7fffe73f1a30, 0x7fffe73f1a58, 0x7fffe73ff6a8, 0x7fffe7408320, 0x7fffe7408348, 0x7fffe7408370, 0x7fffe7408398, 0x7fffe740e1f8, 0x7fffe740e220,
  48.           0x7fffe740e248, 0x7fffe740e270, 0x7fffe740e298, 0x7fffe7418e50, 0x7fffe7418e78, 0x7fffe74223b0, 0x7fffe74291b0, 0x7fffe744ca70, 0x7fffe7450c10, 0x7fffe7450c60, 0x7fffe7450c88, 0x7fffe745a300, 0x7fffe745a328, 0x7fffe745a350,
  49.           0x7fffe74a7dd0, 0x7fffe74a7df8, 0x7fffe74a9798, 0x7fffe74cb8e8, 0x7fffe74e5720, 0x7fffe74e5748, 0x7fffe72d8c98, 0x7fffe72daac0, 0x7fffe72df818, 0x7fffe72e1910, 0x7fffe72f1b80, 0x7fffe72fadc0, 0x7fffe73016c0, 0x7fffe7304370,
  50.           0x7fffe730da38, 0x7fffe7321718, 0x7fffe7321880, 0x7fffe73218a8, 0x7fffe7323130, 0x7fffe7339a70, 0x7fffe7339a98, 0x7fffe733bc08, 0x7fffe733ebd8, 0x7fffe7348930, 0x7fffe7348958, 0x7fffe7348980, 0x7fffe73489a8, 0x7fffe736d500,
  51.           0x7fffe736e248, 0x7fffe736e8d8, 0x7fffe7387b80, 0x7fffe7387ba8, 0x7fffe739be50, 0x7fffe739be78, 0x7fffe739fe10, 0x7fffe739fe38, 0x7fffe73a54f0, 0x7fffe73a5518, 0x7fffe73b4680, 0x7fffe73b46a8, 0x7fffe73b4fe0, 0x7fffe73b5008,
  52.           0x7fffe73b92e8, 0x7fffe73ba530, 0x7fffe73ba558, 0x7fffe73ca3e0, 0x7fffe73ca408, 0x7fffe73ceee0, 0x7fffe73cef08, 0x7fffe73d2978, 0x7fffe73d5bc8, 0x7fffe73e9790, 0x7fffe73ea910, 0x7fffe73ea938, 0x7fffe73f1a30, 0x7fffe73f1a58,
  53.           0x7fffe73ff680, 0x7fffe73ff6a8, 0x7fffe7418e50, 0x7fffe741c500, 0x7fffe741c550, 0x7fffe741c578, 0x7fffe741c5a0, 0x7fffe741c5c8, 0x7fffe74291b0, 0x7fffe74291d8, 0x7fffe742a100, 0x7fffe742a128, 0x7fffe742d530, 0x7fffe743e628,
  54.           0x7fffe74820d0, 0x7fffe749fe78, 0x7fffe74c65a0, 0x7fffe74c79f0, 0x7fffe752ed30, 0x7fffe72d80b8, 0x7fffe72e1938, 0x7fffe72ecbd0...}
  55. #10 0x0000555555567f80 in makeImage (origin00=..., dest00=..., origin01=..., dest01=..., origin10=..., dest10=..., origin11=..., dest11=..., origin=..., dest=...) at /cg-6/code/src/main.cpp:474
  56.         xscale = 1
  57.         yscale = 1
  58.         rgb = {p = {-10.9994001, -0.0905599967, -3.66802001}}
  59.         x = 0
  60.         percentage = 0
  61.         y = 0
  62.         t1 = {__d = {__r = 1529671075090776101}}
  63.         result = {_image = std::vector of length 120000, capacity 120000 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  64.             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  65.             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...},
  66. ---Type <return> to continue, or q <return> to quit---
  67.           _width = 200, _height = 200}
  68.         oldPercentage = 0
  69.         t2 = {__d = {__r = 0}}
  70.         time_span = {__r = 0}
  71. #11 0x00005555555662b5 in main (argc=2, argv=0x7fffffffe6a8) at /cg-6/code/src/main.cpp:185
  72.         dest01 = {p = {-8.30086994, -7.99727011, 0.424005985}}
  73.         dest10 = {p = {-4.70811987, -1.42244005, -10.3902998}}
  74.         origin11 = {p = {0.275828987, 0.339643002, 0.339423001}}
  75.         origin00 = {p = {0.266840011, 0.34888199, 0.342054009}}
  76.         dest11 = {p = {-2.00963998, -9.3291502, -6.29826021}}
  77.         origin = {p = {0.266840011, 0.34888199, 0.342054009}}
  78.         dest00 = {p = {-10.9994001, -0.0905599967, -3.66802001}}
  79.         origin01 = {p = {0.269537985, 0.340974987, 0.346145988}}
  80.         origin10 = {p = {0.273131013, 0.347550005, 0.335330993}}
  81.         dest = {p = {-10.9994001, -0.0905599967, -3.66802001}}
  82.         LightPos = {0, 0, 2, 0}
  83.         MatSpec = {1, 1, 1, 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement