Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (578)
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 588 times)
0 Members and 1 Guest are viewing this topic.
Online 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.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
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
Online 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?
Online 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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

DarkCart (24 views)
2014-10-31 21:44:48

DarkCart (30 views)
2014-10-31 21:43:57

TehJavaDev (40 views)
2014-10-27 03:28:38

TehJavaDev (31 views)
2014-10-27 03:27:51

DarkCart (45 views)
2014-10-26 19:37:11

Luminem (27 views)
2014-10-26 10:17:50

Luminem (31 views)
2014-10-26 10:14:04

theagentd (36 views)
2014-10-25 15:46:29

Longarmx (64 views)
2014-10-17 03:59:02

Norakomi (62 views)
2014-10-16 15:22:06
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!