What I did today

We started a new project in college, we formed as teams of 4 members, and we started teaching on Fridays to freshers in college under the name ALLIANCE. Our aim is to teach programming and modern technologies that college doesn’t teach as part of curriculum, and I’m taking charge of Java.

My goal is to start with the basics (I’m going to teach freshers, who have absolutely no idea of programming) and slowly take them to GUI. However, I plan not to touch AWT/Swing, but instead focus on JavaFX. I also don’t want to touch applets. This goes on for three months, and then I’ll show them design patterns and take them as assistants in my final year projects.

The main goal is that (since we lost hope that the university will update the syllabus, it last updated 5 years ago and is having Java 5 in the syllabus) we introduce modern Java (Java 8, we also want to teach functional programming basics) and inculcate it in the fresh minds before they are polluted by the time they start old Java as part of syllabus. We are teaching to students one year early, and faculty also agreed to not focus more on Applets and J2ME which are the two main roadblocks as part of the syllabus here. I think they should only be taught to the point that they can write the exam for score.

By the way, I’m going to replace the Graphics2D part with Processing.

Nice work! Really fine production.

Just published a blog post explaining AABB Trees for collision detection!

https://goharsha.com/blog/aabb-trees-for-collision-detection/

Special thanks for Box2D author Erin Catto and Bullet author Nathanael Presson for opensourcing their implementations.

Actually published a game. The game in question is a super-simple LibGDX clicker game. Looks like this, took a few hours to make. Most of the time was spent looking up how Android and Google Play publishing actually works. It looks like this.

It’s not the most fully featured game but it was a great learning experience. The younger cousins liked playing it quite a bit, so much they hogged my phone half Christmas eve. Too bad they all have iPhones.

I got the t-molding on my arcade cabinet. No pictures yet - but it’s amazing how it makes the cabinet really come together.

Here’s a little something from Robot Farm. I was going to save it for later, but I couldn’t resist.

Added a modal dialog API to SilenceEngine, that pauses the game while the dialog is showing.


if (SilenceEngine.display.confirm("Do you want to run dialogs test?"))
{
    String value = SilenceEngine.display.prompt("Enter something!");
    SilenceEngine.display.alert("You've entered " + value);

    value = SilenceEngine.display.prompt("Enter something again!!", "why not?");
    SilenceEngine.display.alert("You've entered " + value);
}

It produces the dialogs like this:

More in this link: http://imgur.com/a/QNOt0

The desktop version uses TinyFileDialogs that come with LWJGL 3, while in HTML5 and Android, I use the native dialog implementations.

Made a little demo thing to show off that block filtering idea I had.

It’s much faster than mip mapping but isn’t as good visually.

Both planes are identical except that the top plane doesn’t have block filtering enabled.
You can see how the lines in the texture are preserved in the bottom plane.

EDIT:

And now im competing with orange451 (jk)

W48NFeec-sU

had another turn on normal mapping and texture space.

material ID …

http://memleaks.net/things/human_a_id.jpg

plus texture coords …

http://memleaks.net/things/human_b_st.jpg

plus vertex-normals …

http://memleaks.net/things/human_c_normal.jpg

plus tangent vectors …

http://memleaks.net/things/human_d_tangent.jpg

plus bi-tangent vectors …

http://memleaks.net/things/human_e_bitangent.jpg

plus normal textures …

http://memleaks.net/things/human_f_map.jpg

plus diffuse textures …

http://memleaks.net/things/human_g_diffuse.jpg

equals something shaded at least not incorrect :slight_smile:

http://memleaks.net/things/human_h_shaded.jpg

now this lacks proper shadows.

Today I read JGO again, it’s been a while.

Kev

Welcome back Kev, where you been?

Cas :slight_smile:

Oh no where significant, onwards… pixels pixels pixels…

Kev

Did you make that model yourself? The amount of detail is very impressive.

no no, i found this model on sketchfab. it’s a reference.

Made JOML build on JDK9 to produce Java 1.4-compatible class files, because JDK9’s javac cannot produce < 1.6 class files anymore…
Simply patching the class file version works, because no > 1.1 language features are being used.
(1.4 is solely used because the Java NIO classes are required/expected at runtime, though not a language feature)

EDIT: Turned out, one conditionally loaded class was using a 1.6 bytecode feature and string concatenation. So, a bit of class transformation had to be done.

Made my first commit of this new year 2017 at 12:04 AM IST (Indian Standard Time, +5:30 GMT).

Starting to implement mouse picking!

Regardless, your work looks really good. Props!

http://www.mediafire.com/file/jg50qzkvfueoumw/dither.jar

I made a cute demo for paletted dithering. Download here^

press R, G, B to increase the shades of R, G, B in the palette
press W to turn on rotation of the triangle
press A to reset rotation

If you want to see the class for this demo, it’s right here:
http://pastebin.java-gaming.org/60dd5420e521d

I’ve been mostly in C++ for school lately but I decided last night to finally dive into some machine learning. Got a simple NEAT-based neural network running on pong (in java).

The top paddle just has it’s x set to the s of the ball so it cant miss. The bottom paddle is the AI controlled one. The blue squares are inputs (paddle x, paddlex-ballx, bally). The red squares are outputs (move left, move right).

After many unfinished prototypes I think I have something that will work. It’s actually based on something I designed when I was a kid but didn’t have any skills to create it back then. It’s a pseudo-3d orthographic rendering in third person, with free rotating camera. Today I did some work on improving the fog (which looks more interesting when its moving).