Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (684)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (752)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  LWJGL and glslDevil  (Read 1594 times)
0 Members and 1 Guest are viewing this topic.
Offline Kefwar
« Posted 2014-03-25 20:41:24 »

I'm experiencing a problem with glslDevil when I try to debug my shaders. I'm making a game with LWJGL, but I can't debug the shaders with glslDevil. The problem is that I can't attach glslDevil to the program. Isn't it just possible with LWJGL, or am I doing something wrong?

Offline Danny02
« Reply #1 - Posted 2014-03-25 23:21:14 »

tryed all different OpenGL debuggers a while back and didn't get any to run with Java
Offline Slyth2727
« Reply #2 - Posted 2014-03-25 23:48:17 »

I've never had to use much more than checking if the GL_COMPILE_STATUS equals zero and then printing out glGetShaderInfoLog. Not sure why one would need a debugger, I don't need one even with the largest of my shaders.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Danny02
« Reply #3 - Posted 2014-03-26 00:15:04 »

These debuggers have a huge amount of features which can be very helpful.
  • profile your opengl calls. report unnecessary or costly calls, tell you which render calls took the longest
  • let you investigate why your screen is black. look at the current geometry, matrices ...
  • show active textures and state
  • explain why some pixel has this specific color

tools:
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/codexl/
http://developer.amd.com/tools-and-sdks/graphics-development/gpu-perfstudio-2/
https://developer.nvidia.com/nsight-visual-studio-edition-features
Offline Kefwar
« Reply #4 - Posted 2014-03-26 07:23:04 »

Thanks for the replies.

tryed all different OpenGL debuggers a while back and didn't get any to run with Java

Do you think those tools will work?

Offline Kefwar
« Reply #5 - Posted 2014-03-29 19:15:30 »

I got glslDevil linked, but it crashes my game.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
W! Program Start
|  wglCreateContext(0601201B)
|  wglGetCurrentDC()
|  wglGetCurrentContext()
|  wglMakeCurrent(0601201B, 00010000)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglGetCurrentDC()
|  wglGetExtensionsStringARB(0601201B)
|  wglMakeCurrent(00000000, 00000000)
|  wglMakeCurrent(0601201B, 00010000)
|  glGetString(GL_VERSION)
|  glGetIntegerv(UNKNOWN ENUM!, 063FE6E8)
E! Child process exited
W! Program termination forced!


Any ideas how to fix this? The game works when I just open it normally.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 
orrenravid (253 views)
2016-07-16 03:57:23

theagentd (322 views)
2016-07-11 14:28:54

Hydroque (410 views)
2016-07-06 05:56:57

Hydroque (570 views)
2016-07-03 08:52:54

GrandCastle (428 views)
2016-07-01 09:13:47

GrandCastle (420 views)
2016-07-01 09:09:45

CopyableCougar4 (474 views)
2016-06-25 16:56:52

Hydroque (441 views)
2016-06-22 02:17:53

SwampChicken (405 views)
2016-06-20 13:22:57

SwampChicken (310 views)
2016-06-20 13:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!