Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: RapidShading 0.4 - Graph Shader Editor

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    Melbourne, AUS
    Posts
    4

    RapidShading 0.4 - Graph Shader Editor

    Hi!
    I just finished my degree and developed a tool during my bachelor thesis that evaluated the use of procedural texturing on the GPU. I called it RapidShading. It's a graph-editor to graphically develop GLSL Shaders.
    My focus hereby was on procedural textures on GPU.
    I'd like to make my tool available to a bigger audience, and make it more of a community project. The application has a few interfaces, that make it easily expanpable via plugIns. So I'm looking for developers to help as well. I'm just working on a good documentation of the interfaces.

    The whole application is based on Java and OpenGL (jogl). So when you download the application make sure you have the jogl libraries for your system.

    With the download comes a marble texture as seen in the screenshot below, that is entirely rendered on the GPU without texture mapping.

    I'd be very happy to receive some feedback. But keep in mind that this project is still in an early stage of development. There are a few bugs that need to be fixed and a few features that need to be completed.

    My questions:
    Do you think this approach of ShaderDevelopment has a future?
    Does the UI structure make sense to you?
    What are you missing?
    What other ideas do you generate according to this tool?

    http://www.procedural-texturing.com/

    Thanks!!!

    Screenshot:

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2006
    Posts
    26

    Re: RapidShading 0.4 - Graph Shader Editor

    First of all it is a great and very promissing tool.

    But I have a few points where things could be improved:

    0. :-)
    Pack the application so that it unzips a directory. Like it is now it behaves like a tarbomb and just unzips it's files into the current directory.


    1.
    It is very unpractical to have to switch between tabs or right-click-option the "Node In & Output vars" and "Node Properties" tabs. Both tabs should be visible all the time. Just make them so one can minimize them like the Shader code output window (which is not important in the design process).

    2.
    I am coming from the Linux world so:
    Deleting nodes should be possible with the DEL key.
    Switching tabs (if they remain) should be possible with the ALT-1, ALT-2 ... ALT-n keys (this is how it is done in many Linux tools and also the Firefox web browser).

    3.
    "Show Variable Types & Names" should be enabled by default, as it will help beginners like me a lot to see where each input and output is.

    4.
    If several connections are made to a single connector it is sometimes impossible to move the end of one connector individually. Both connectors ends will stick together. Also it seems to be impossible to delete connections (right-clicking or anything did not show an option).

    5.
    A warning or error message was displayed on the preview window and afterwards the preview was not refreshed, leaving a white box inside it. Maybe the message should be displayed in the graph window.

    6.
    Copying nodes might be practical in the future.

    2 bugs I discovered:

    1.
    I don't remember what exactly I did, but I think I created a "mix" and a diffuse in the brick demo and messed around with linking diffuse to that mix and also the output of the existing mix to that mix. I changed it around between various inputs and output. Then I grabbed the 2 connectors that where linked onto the same mix input and dragged them to the output of the existing "To vec4" and then the application froze and the console showed an exception that seemed to be stuck in a loop:
    Code :
    ...
     at sperling.RapidShading.ShaderNode.resolveOutputDataType(ShaderNode.java:122)
            at sperling.RapidShading.ShaderProgramInVariable.resolveDataType(ShaderProgramInVariable.java:149)
            at sperling.RapidShading.ShaderPrograms.GLSL.DataTypeConverter.resolveOutputDataType(DataTypeConverterFactory.java:242)
            at sperling.RapidShading.ShaderProgramOutVariable.resolveDataType(ShaderProgramOutVariable.java:150)
            at sperling.RapidShading.ShaderNode.resolveOutputDataType(ShaderNode.java:122)
            at sperling.RapidShading.ShaderProgramInVariable.resolveDataType(ShaderProgramInVariable.java:149)
            at sperling.RapidShading.ShaderPrograms.GLSL.DataTypeConverter.resolveOutputDataType(DataTypeConverterFactory.java:242)
            at sperling.RapidShading.ShaderProgramOutVariable.resolveDataType(ShaderProgramOutVariable.java:150)
    ...
    I can't seem to reproduce it since I do not remember exactly how I did it and the application seem to prohibit dual connectors on the mix inputs now.

    2.
    When creating new nodes, it always created 3 instead of one.

    Anyway great tool that I might use in the near future (my engine has no dedicated renderer yet).

    EDIT: oh yea I tested on Linux with an AMD64.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    Melbourne, AUS
    Posts
    4

    Re: RapidShading 0.4 - Graph Shader Editor

    Thanks a lot for your detailed feedback!
    I'll see what I can do. There are some good point, that are not even too hard to fix.

    So thanks for that again.


    Waiting for more... feedback

  4. #4
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: RapidShading 0.4 - Graph Shader Editor

    no go with me

    Exception in thread "main" java.lang.UnsupportedClassVersionError: sperling/RapidShading/Editor (Unsupported major.minor version 50.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  5. #5
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: RapidShading 0.4 - Graph Shader Editor

    zed, you need to use java 1.6

  6. #6
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: RapidShading 0.4 - Graph Shader Editor

    yeah thanks i see that in the http://www.procedural-texturing.com/ page
    sam7 you need to stick this info in the readme which is what most ppl read if they have problems (+ sometimes even before they run the app )

  7. #7
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: RapidShading 0.4 - Graph Shader Editor

    Interesting.
    Why the connectable yellow ticks don't show a label ?
    At least an initial would be great. Waiting for the tooltip to appear is annoying.

  8. #8
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    Melbourne, AUS
    Posts
    4

    Re: RapidShading 0.4 - Graph Shader Editor

    @ZbuffeR

    Just use the Ctrl + V shortcut to activate the
    "Show Variable Types & Names" Option.

  9. #9
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: RapidShading 0.4 - Graph Shader Editor

    Such "beginner options" are great when activated by default. Experts know how to deactivate them

  10. #10
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: RapidShading 0.4 - Graph Shader Editor

    yeah first time ild load up with a simple project as well, instead of nothing (next time around loadup last project/default project/empty project etc)

    i found the interface a nit laggy (perhaps thats standard with the java/ogl combination donno ive no experience with it)

    also the lines between the boxes in the graph were practically invisable (due to my desktop colors). perhaps have your own color scheme

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •