Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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  
  Shader Eclipse Plugin: Second Release (with GLSL)  (Read 9240 times)
0 Members and 1 Guest are viewing this topic.
Offline Trevidos

Senior Newbie





« Posted 2005-11-09 09:33:53 »

I'm currently coding a cg Eclipse plugin in order to create, compile and edit the cg shaders inside the eclipse IDE.
Ritght now, the compiler and the editor is almost finished.

Some prefrences are ready:


I have to work on new Project and New file action, in order to make it easier to use, but the first realesed will be on the week end.

if you are interessed to see and test it, send me an email trevidos@hotmail.com

Regards
--

Vincent Martinez aka Trevidos
Offline hvor2

Junior Devvie




Beyond mind, there is an awareness...


« Reply #1 - Posted 2005-11-09 09:38:02 »

I am glad to hear this since Eclipse is my favorite and only IDE  Cheesy... Good work!

Offline Tomas

Junior Devvie




Agency9


« Reply #2 - Posted 2005-11-09 15:58:05 »

Cool. Cheesy


CTO Agency9
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline rexguo

Junior Devvie




Real-Time Java


« Reply #3 - Posted 2005-11-10 09:56:04 »

Will it very hard to add GLSL support in the
editor? This will be very helpful for those who
do not use Cg, like me  Grin

.rex

http://www.rexguo.com - Technologist + Designer
Offline Trevidos

Senior Newbie





« Reply #4 - Posted 2005-11-10 14:13:10 »

It's not an hard work to add an editor or a compiler to eclipse, but it can be just a long work...
In order to add GLSL support, I need:
 - an GLSL compiler
 - the full keywords allowed for editor coloring.

Right now, I prefer first finish the Cg Editor (I work on auto-completion, boring work too...) and in a second pass, see GLSL.
If you have any docs, files... give it to me.


<Edit>
Just a question for the Cg users: do you want to keep the asm file generate by the compiler or no? For the moment, I just compile the cg code with -nocode options, because I never keep the asm file.
What about you?
</Edit>
Trevidos
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #5 - Posted 2005-11-10 15:22:22 »

It's not an hard work to add an editor or a compiler to eclipse, but it can be just a long work...
In order to add GLSL support, I need:
 - an GLSL compiler
 - the full keywords allowed for editor coloring.
GLSL's compiler exists in the actual graphics drivers themselves, theres no build-time compilation step needed.

However 3dLabs have a 'verifier' available for free from their website. This is basically a compiler just for checking syntax, so that should be good enough. Not sure if it comes with source but it's a command line tool so I suppose you could always parse the output.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Trevidos

Senior Newbie





« Reply #6 - Posted 2005-11-10 16:08:45 »

However 3dLabs have a 'verifier' available for free from their website. This is basically a compiler just for checking syntax, so that should be good enough. Not sure if it comes with source but it's a command line tool so I suppose you could always parse the output.

That's the way I do for cgc compiler. I only found the source code of the GLSL compiler, and I don't have any C/C++ compiler. I've got only a 56k modem so I can't download a full cygwin/gcc distribution for windows.
Someone can send me the compiler binarys please?

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #7 - Posted 2005-11-10 23:25:23 »

http://developer.3dlabs.com/downloads/glslvalidate/index.htm

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Trevidos

Senior Newbie





« Reply #8 - Posted 2005-11-15 09:16:08 »

CgPlugin for eclipse, first release:

DOWNLOAD:
http://trevidos.free.fr/cgPlugin/cgplugins.zip

DOCS:

download and unzip the plugin file into your eclipse' plugin directory. Then, run eclipse.

To active the runtine compilation of the Cg file, you have to activate this mode via a new popupmenu on the project.

Go into the eclipse preferences and find Cg Preferences. Set the location of your cgc file as:

You can also change the editor prefrences:


After that, rename or create new cg file. To run properly the editor and the compiler, the vertex program files must have the ".vp" extension and the fragment program ".fp"
You can used new file command.


For any question and suggestion, send me an email at trevidos@hotmail.com.

In next release, I'll try to add some cool features: auto-completion, auto-indent, GLSL support...
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #9 - Posted 2005-11-15 15:56:12 »

Very nice. :-)

* Markus_Persson holds breath for a glsl version.

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline rexguo

Junior Devvie




Real-Time Java


« Reply #10 - Posted 2005-11-16 02:59:28 »

* face turns blue in anticipation for a GLSL version *  Grin

http://www.rexguo.com - Technologist + Designer
Offline Trevidos

Senior Newbie





« Reply #11 - Posted 2005-11-17 22:49:05 »

A new version is released. It's my buildnight version, but it seems to work enough to be distribute.
NEW
GLSL editor and Compiler. The support is made by using the 3DLab's front end compiler. see 3Dlab web site for source.
You can download a binary version for windows here: http://trevidos.free.fr/cgPlugin/glslc.zip

The new plugin files are there:
http://trevidos.free.fr/cgPlugin/Shaderplugins.zip

As always, send me an email if you have question/suggestion.

Trevidos
PS:
Markus_Persson, rexguo, you can breath now!
Offline girvine

Junior Devvie




Java games rock!


« Reply #12 - Posted 2005-11-22 08:47:26 »

Any chance you can make an eclipse update site for this rather than just providing the zip files?   Wink
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #13 - Posted 2005-12-17 19:10:04 »


404'd! Anyone got a working link?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Trevidos

Senior Newbie





« Reply #14 - Posted 2005-12-19 18:16:19 »

I'm sorry, i didn't post the new link.

First, the source code is released on sourceforge here: http://sourceforge.net/projects/glshaders/
You can get a zip version of the plugin.

For a web update version, add the site http://trevidos.free.fr/GLShaders to your eclipse update site.

Have fun

Trevidos
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.

rwatson462 (28 views)
2014-12-15 09:26:44

Mr.CodeIt (19 views)
2014-12-14 19:50:38

BurntPizza (37 views)
2014-12-09 22:41:13

BurntPizza (73 views)
2014-12-08 04:46:31

JscottyBieshaar (34 views)
2014-12-05 12:39:02

SHC (47 views)
2014-12-03 16:27:13

CopyableCougar4 (42 views)
2014-11-29 21:32:03

toopeicgaming1999 (110 views)
2014-11-26 15:22:04

toopeicgaming1999 (96 views)
2014-11-26 15:20:36

toopeicgaming1999 (29 views)
2014-11-26 15:20:08
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!