Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / GLSL Mobile - Display and Edit shaders for AGK

Author
Message
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 9th Sep 2015 03:48 Edited at: 11th Sep 2015 22:34
GLSL Mobile (Windows release, community edition)


GLSL Mobile can help you to visualize your fullscreen shaders for
AGK. The given editor is perfect for modifications and debug of the pixel and vertex shader file.
This program can help you to find your way though AppGameKit shaders and it is quite stable

Written in AGK2 Tier 1 - I learned a hell of things by this project.

Features:

' New shader code examples!

* All shaders are placed in media/shader
* Press F4 to toggle fullscreen


To add shaders, just name them pixel.ps and vertex.vs
(If you have no vertex file, copy one from another project)
Create the project folder and add both files in that.
Place the folder into media/shader











This is a view on the texteditor. Even the current line is displayed on the left side of the window. You can even debug the shader by the given debug note! (Debug note line -1 ^^)




The Empty editor, as retro as I could get.




The open/save dialogue (you can download the source if you need it, somewhere in the forums. Just search for it )




A view on a compiled shader "seascape"





Have fun!

Download: (windows)
http://movies.online-arts.de/Files/GLSLmobile046.zip

Play Store: (android)
https://play.google.com/store/apps/details?id=com.onlinearts.glslmobile
Quote: "
There is still a lot to do. The current project is the syntax highlight. I have to write some optimations to get the full syntax to work. Currently there are over 300 commands in the syntax highlight file, and my code was never optimized for that amount. There should be some work to to, but except of that you can already use this software.
"
solved
Quote: "BTW: I think the editbox input changed recently. I have no explaination for this one. If I create an editbox and set the focus on it, I get a fullscreen text input. Is there a chance to get it away? This will quite destroy my app on android :/
"
solved

Any ideas?


[/url]

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 9th Sep 2015 07:02
That seascape looks awesome!
I'll have to give this a try.
THANKS!


Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 9th Sep 2015 13:12
This looks pretty awesome, love the animated sea scape.

The Amiga and Amos were great!
My website LEAP - Download Paint Pot here!
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 9th Sep 2015 13:38 Edited at: 11th Sep 2015 22:02
Thank you for your positve feedback!
Most of the shader examples are slightply modified from: https://www.shadertoy.com/
Some simpler ones are made by myself


Quote: "I can't get the editbox get to work, since the last update of my AppGameKit player (Icon was white before, now its red)
Every time I use my editbox, it goes fullscreen like this:
http://i.stack.imgur.com/36p5p.png"


Solved by downgrade

That is totally wrong, because I use a offscreen editbox to get the android keyboard running for the input. It definitly changed with the update of AGK2. The strange part in that is, that the fullsceen input only works in landscape mode. In the portrait mode everything seems okay. How can I turn this off? Is this a bug?

Example code (got from the examples)
will get the fullscreen editbox result running on the android player with the current agk version. Quite a bug, is it?



[/url]
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 9th Sep 2015 15:15
Quote: "It definitly changed with the update of AGK2."

My AppGameKit Player is bugged also, only thing i can think of to fix it other than wait for the fix is...Downgrade back to the previous version until the problem is solved. (Im having other issues so i believe your edit box)

very nice work! The sea looks amazing

Beta Test Age of Knights:https://play.google.com/apps/testing/com.CrazyProgrammerProductions.my_AgeOfKnights
Download JellyFish Dive:https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_JellyFishSwim
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 11th Sep 2015 01:47 Edited at: 11th Sep 2015 21:50
Everything works well now, after the downgrade!
Thank you for the hint!


Give it a try on your mobile device!:
https://play.google.com/store/apps/details?id=com.onlinearts.glslmobile

I have to rewrite the syntax highlight function to get better performance. Currently all displayed lines will be refreshed after a change occurs. The next code has to be more dynamic to save ressources and get an even better performance!


[/url]
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 11th Sep 2015 21:58 Edited at: 11th Sep 2015 22:04
Update released! Less bugs for android and the full command syntax is working now


That is quite colorful, isn't it? Some glitches have to be fixed though
Due to a cache system for the highlight it`s possible to get quite a lot syntax highlights, more than GLSL offers


Desktop 0.46:
http://movies.online-arts.de/Files/GLSLmobile046.zip


Current android version:
https://play.google.com/store/apps/details?id=com.onlinearts.glslmobile


[/url]

Login to post a reply

Server time is: 2024-11-22 05:54:16
Your offset time is: 2024-11-22 05:54:16