Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / General Discussions / Re: Where are you from? on: 2012-12-14 09:49:30
I'm live in south korea.
2  Java Game APIs & Engines / Java 3D / Re: Crosscompiler Java -> GLSL? on: 2012-12-13 10:25:20
Quote
I think a more elegant solution for this would be an IDE plugin or standalone tool that has auto-correct and automatic error checking as you type (for e.g. "error assigning vec3 to vec2").
Yeah i think so too. Maybe IDE plugin has better solution.

Quote
one plus of it would be compile time type checking, does it do that(how verbose is your error output btw?)
No.
That shader java code must be compiled. It is why i used ASM.
Currently, It is throw simple exception. But i will add more error-checking code in the future.

in addition my english is terrible. sorry about that.  Cry
3  Java Game APIs & Engines / Java 3D / Re: Crosscompiler Java -> GLSL? on: 2012-12-13 09:08:00
I released the alpha version.

Check this
http://code.google.com/p/j2glsl/

Source code (SVN)
http://j2glsl.googlecode.com/svn/trunk/

And there included example of using j2glsl.
4  Java Game APIs & Engines / Java 3D / Re: Crosscompiler Java -> GLSL? on: 2012-11-29 12:20:50
I'm trying to make Java2GLSL.(used ASM)
About 3weeks to work, and soon i make the alpha version.

Concept. (Current progress)

Java Code
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
VertexShader vtxShader = new VertexShader() {
   public void main() {
      mat4 mat1 = new mat4();
      mat4 mat2 = new mat4();
      gl_Position = mat1.mult(mat2).mult((vec4)gl_Position);
   }
};
StringWriter writer = new StringWriter();
J2GLSLConverter glslConverter = new J2GLSLConverter();
//glslConverter.debugOpCodeStack = true;
glslConverter.compile( writer, vtxShader );
System.out.println( writer.toString() );


Output GLSL Code
1  
2  
3  
4  
5  
6  
void main(  )
{
   mat4 mat1;
   mat4 mat2;
   gl_Position = mat1 * mat2 * gl_Position;
}

Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

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

Norakomi (44 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (38 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (86 views)
2014-10-11 22:30:10
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!