Commit 18d406479d54b056f223c71174d02120e2a58d7c
1 parent
dd8ca6b9
fixed the issue with the improperly visualized textures as well as the cost func…
…tion. The cost and gl/cuda/gl ping-pong is fully functional
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
TextureTest.cu
@@ -106,7 +106,7 @@ glInit() | @@ -106,7 +106,7 @@ glInit() | ||
106 | glMatrixMode(GL_MODELVIEW); | 106 | glMatrixMode(GL_MODELVIEW); |
107 | spidey = stim::gl_spider<float>(0.515372, 0.564174, 0.494553, | 107 | spidey = stim::gl_spider<float>(0.515372, 0.564174, 0.494553, |
108 | 0.130563, -0.98295, -0.129467, | 108 | 0.130563, -0.98295, -0.129467, |
109 | - 0.5, 0.5); | 109 | + 0.03, 0.03); |
110 | spidey.attachSpider(texID); | 110 | spidey.attachSpider(texID); |
111 | Parker.setPosition(spidey.getPosition()); | 111 | Parker.setPosition(spidey.getPosition()); |
112 | Parker.LookAt(spidey.getDirection()); | 112 | Parker.LookAt(spidey.getDirection()); |