Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (805)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 71 72 [73] 74 75 ... 216
  ignore  |  Print  
  What I did today  (Read 3670220 times)
0 Members and 6 Guests are viewing this topic.
Offline ziozio
« Reply #2160 - Posted 2015-05-19 20:43:35 »

Finally finished writing an ogg music decoder from scratch and have it hooked in to my openal player for streaming music

I know there is JOrbis out there that does the same thing but JOrbis is a complete line by line clone of an old libvorbis version and it is written in a very c like way (same variable names, same method names etc). It is also pretty complicated to get data out of it.

Partly for reasons of wanting to know more about the ogg vorbis format and partly for wanting a nice, simple and easy to use version I wrote my own version.

I started the project just by using the vorbis spec and used JOrbis/libvorbis as a debugging tool (Either the spec is not 100% accurate in some places, or libvorbis decided to do things differently!!), the only thing I copied from JOrbis was the inverse MDCT code (which was taken from libvorbis)

Offline lcass
« Reply #2161 - Posted 2015-05-19 21:01:08 »

Implemented projectiles and weapon tiles. Been a long time since I have developed this.



Please ignore the laggy gif , this one is usually able to occur at about 100fps (limited to 100fps)

Click to Play
Offline Opiop
« Reply #2162 - Posted 2015-05-20 02:56:22 »

I had to go put down my girlfriend's dog yesterday which was my first direct face-on-face experience with death. It was quite definitely the most "real" moment I've ever had in my life, nothing can prepare you for when you stare death in the face and finally understand how finite life truly is, and how cold and stone-walled death is. Later that night I also had a very spiritual moment where I felt connected to the Earth and to his soul. I can't describe it, and I probably sound crazy, but I felt the Earth in that moment and the universe and the unknown.

Anyway, this isn't high school and I'm not writing a report. This is a programming forum, I'm just fairly worked up over his passing because he was like family to me. Over the past almost two years he's been there for some major changes in my life, both good and bad, and he was just almost comforting in a way to have there everyday. His death kind of symbolized an end of a period of my life for me, my life is much more stable now and now he is gone...

R.I.P. Ralphie, I will miss you and I love you. You were an amazing friend and a great dog. Thank you for anyone who took the time to read this, I really needed to write something about it.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SilverTiger

JGO Coder


Medals: 41
Exp: 3 years


がんばってください!


« Reply #2163 - Posted 2015-05-20 17:22:13 »

Held a lecture about the framework of my thesis at the Colloquium of our University.
Most of my fellow student know nothing about modern OpenGL Clueless

R.I.P. Ralphie, I will miss you and I love you. You were an amazing friend and a great dog. Thank you for anyone who took the time to read this, I really needed to write something about it.
That's sad to hear, you have my sympathy. Sad

Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #2164 - Posted 2015-05-20 19:50:59 »

I had to go put down my girlfriend's dog yesterday which was my first direct face-on-face experience with death.

R.I.P. Ralphie, I will miss you and I love you. You were an amazing friend and a great dog. Thank you for anyone who took the time to read this, I really needed to write something about it.

Tell your girlfriend "Some guy named DarkCart sends his regards"

The darkest of carts.
Offline Spasi
« Reply #2165 - Posted 2015-05-21 11:12:15 »

Added stb bindings to LWJGL 3:

Click to Play


(will post details when the build is up)
Offline Roquen

JGO Kernel


Medals: 518



« Reply #2166 - Posted 2015-05-21 11:28:39 »

Ah..if you've include the voxel library...that should make some people very very happy.
Offline Spasi
« Reply #2167 - Posted 2015-05-21 11:39:29 »

The voxel library is great, but there's no API to configure it; just a bunch of compile-time #defines. So you can't really make bindings to it and keep everyone happy.

Also, I believe such high-level functionality is outside the scope of LWJGL.
Offline Longor1996

JGO Wizard


Medals: 116
Projects: 2
Exp: 8 years


The cake is probably a lie.


« Reply #2168 - Posted 2015-05-21 11:53:05 »

Added stb bindings to LWJGL 3:
-snip-
(will post details when the build is up)

Questions:
- For what platforms will this be available?
- Is this going to be built right into LWJGL3?

Because this looks awesome!

The cake is probably a lie... but it's a delicious lie!
Offline Spasi
« Reply #2169 - Posted 2015-05-21 11:57:33 »

It's a small C library with no dependencies, so built-in and available on all platforms.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 123
Projects: 15


★★★★★


« Reply #2170 - Posted 2015-05-21 11:58:39 »

Added stb bindings to LWJGL 3:
Awesome stuff, finally a decent AWT free solution for Java to read/write images and generate fonts on the fly.
Offline Slyth2727
« Reply #2171 - Posted 2015-05-22 02:37:52 »

Made some progress on my OS. Added a GDT and IDT almost successfully. Still some bugs to work out...
But I've got a working cross compiler, vga text, pretty good libc, and some other features Smiley all in a week. Feeling good about this new project. I like OS development me thinks.
Offline Ashedragon

JGO Coder


Medals: 27
Projects: 1
Exp: 4 years


The best person you could possibly be is yourself.


« Reply #2172 - Posted 2015-05-22 02:52:15 »

Finally got my cable that'll allow me to record guitars (as opposed to the vsts that just don't sound as great without spending as much as an actual guitar costs). Played with that for an hour and a half. I need better amps, but I overall really enjoy the sound of it.

I also made this: https://soundcloud.com/literature-corner/the-beach
The levels and balance hasn't been messed with too much, so it's a bit off, but eh.

boo
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #2173 - Posted 2015-05-22 04:56:20 »

Canada Wide Science Fair was a bust, didn't win anything, It was fun though! I've been learning and programming neural networks for about 2 weeks now. Somehow a local summer science camp for teaching kids found me and shot me an interview. So on Saturday I will be going to my first job interview, for teaching PreK to Grade 6 how to program in Java, manage web-servers, and make robots with EV3 / NI-RoboIO platforms.

Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #2174 - Posted 2015-05-22 05:03:34 »

Canada Wide Science Fair was a bust, didn't win anything, It was fun though! I've been learning and programming neural networks for about 2 weeks now.

Reminds me of my first major science fairs, I did neural nets, albeit really basic stuff. Seemed to go over well with judges though, they probably didn't expect that at an 8th grade gig.
You would like this, currently at the top of /r/programming: http://karpathy.github.io/2015/05/21/rnn-effectiveness/
Offline matt_p
« Reply #2175 - Posted 2015-05-22 08:52:04 »

So not really done today, but the last change on my project was that the Android-Implementation doesn't force close any longer if it fails reading some user generated files  Smiley (and reading user generated files is like the one and only purpose of this app) - YAY
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #2176 - Posted 2015-05-23 01:02:22 »

(I think this is becoming a problem)



In other news, I joined Reddit today Cheesy

The darkest of carts.
Offline Opiop
« Reply #2177 - Posted 2015-05-23 01:05:53 »

DarkCart, run away from Reddit quickly. Seriously. Unless you want to be addicted to it like I am and go on it everyday for years and your work productivity nosedives!

If you do decide to stay then check out /r/programmerhumor, its really funny.
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #2178 - Posted 2015-05-23 01:38:16 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
private static void clean(File file) {
   if (file.isDirectory()) {
      for (File child : file.listFiles()) {
         clean(child); // with the holy water...
      }
   } else {
      file.delete();
   }
}


I find myself funny... Grin

Is it sad that I still get a fright when the computer beeps at me...
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #2179 - Posted 2015-05-23 02:35:06 »

Reminds me of my first major science fairs, I did neural nets, albeit really basic stuff. Seemed to go over well with judges though, they probably didn't expect that at an 8th grade gig.
You would like this, currently at the top of /r/programming: http://karpathy.github.io/2015/05/21/rnn-effectiveness/

Bookmarked. Smiley
RNNs always seemed very interesting to me... In every example of ANNs, they always avoided RNNs, and here they are doing awesome stuff like I thought they would.

Added stb bindings to LWJGL 3:

Finally, for the decades LWJGL has existed, we now have a good font library. Seriously, awesome work you guys are doing.

Offline Slyth2727
« Reply #2180 - Posted 2015-05-23 05:52:39 »

This is pure happiness.

Offline Icecore
« Reply #2181 - Posted 2015-05-23 08:58:17 »

I find myself funny... Grin
Don’t delete folders like that, really )
Simple delete Top folder.
It may be strange but File manager that i use Multi commander (like it color customization)
Delete files such way and this is nightmare, Why hi doing this???

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline Riven
Administrator

« JGO Overlord »


Medals: 1371
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #2182 - Posted 2015-05-23 10:25:32 »

There is no other way than to delete directory structures recursively.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #2183 - Posted 2015-05-23 20:45:38 »

DarkCart, run away from Reddit quickly. Seriously. Unless you want to be addicted to it like I am and go on it everyday for years and your work productivity nosedives!

If you do decide to stay then check out /r/programmerhumor, its really funny.

Summer vacation's coming up for me, I've got time Wink I did check out /r/programmerhumor, I accidentally posted a programming joke in the /r/joke subreddit instead  Roll Eyes

The darkest of carts.
Offline Icecore
« Reply #2184 - Posted 2015-05-23 23:10:22 »

There is no other way than to delete directory structures recursively.
Lol, Yes you right - even don't now how i forgot this XD
I think about move folder to recycle Bin windows,
(because file manager move separately all files and folders and java simple delete all)
its no so easy in java, but it possible using JNI.
http://en.wikipedia.org/wiki/Java_Native_Access

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #2185 - Posted 2015-05-24 05:56:56 »

My whole day has been summed up into a single 2D array.
1  
[[0, -1, 1, -1], [-1, 0, -1, 1], [1, -1, 0, -1], [-1, 1, -1, 0]]

It's a bit complex to explain, but it is a weight matrix to simulate enumerated connections between X# of neurons. I got it first try :O

Offline Slyth2727
« Reply #2186 - Posted 2015-05-24 08:07:52 »

Successfully wrote a complete keyboard driver with an stdin stream + a few input functions (getch, getchar, gets). Implemented a little shell with a couple commands too! I think I'll work on paging next so my stdin and stuff actually mean something..

Check out the code for it if you wish: https://github.com/CMatri/casteOS

Edit: Cool new things

Offline kingroka123
« Reply #2187 - Posted 2015-05-24 22:58:35 »

tested out an extremely simple city generation algorithm
Offline Opiop
« Reply #2188 - Posted 2015-05-26 12:49:24 »

I'm about to walk into my first day at my internship, let's hope this goes good!
Offline theagentd
« Reply #2189 - Posted 2015-05-26 19:44:07 »

Improved the antialiasing of WSW. I had been "cheating" when upsampling the transparent effects. The whole thing was extremely complicated since I had the current frame, the previous frame, motion vectors, MSAA depth values, etc, and the shader was sampling 10 different textures and a total of ~40+ texture samples for each pixel. To simplify a bit, the transparency was overlaid after the anti-aliasing had been applied, so it did not correctly block individual samples. If an object was standing in front of a fog cloud, the edge samples of the object would get occluded by the fog behind it while the background along the same edge behind the fog would be slightly visible. Upscaling the transparency for each sample turned out to be prohibitively expensive though.

At the same time, I realized that the performance I was getting did not make sense. The shader that did anti-aliasing also did motion blur. Adding motion blur had a cost of around 0.3ms, while adding anti-aliasing had a cost of 1.5ms. However, adding both made the shader skyrocket to 3-4ms, far over the sum of the two. Somehow, GPUs couldn't handle the massive shader (~1500-2000 instructions and 40+ texture samples), most likely due to not being able to have enough shader invocations in registers at the same time which reduced the occupancy...

I decided to extract the motion blur to a separate pass before applying anti-aliasing. I realized that motion blur was essentially a transparent effect that was applied in-between other transparent effects and the opaque geometry, so the first pass both calculates motion blur and upsamples the transparency effects and outputs a preblended version if this. The anti-aliasing shader can then use this precomputed texture to achieve anti-aliasing of transparent effects the same way as it achieves anti-aliasing of opaque objects. Sadly, this didn't work as good as I hoped, so in the end I had to do some vast rewrites to it, but I eventually got it working as good as possible.

Splitting the shader into 2 smaller ones did help with performance, but the cost of accurate transparency anti-aliasing killed most actual gains. At 2x AA, performance is down, at 4x AA performance is the same and at 8x AA performance is up a bit. The quality when opaque objects are standing in front of transparent objects is up a lot though.

Before:


After:


No more dark or bright halos around objects. The single black pixel at his hand is due to the lack of transparency data (transparency is done at half resolution, so not all pixels have accurate data.

Myomyomyo.
Pages: 1 ... 71 72 [73] 74 75 ... 216
  ignore  |  Print  
 
 

 
Riven (585 views)
2019-09-04 15:33:17

hadezbladez (5526 views)
2018-11-16 13:46:03

hadezbladez (2407 views)
2018-11-16 13:41:33

hadezbladez (5788 views)
2018-11-16 13:35:35

hadezbladez (1228 views)
2018-11-16 13:32:03

EgonOlsen (4667 views)
2018-06-10 19:43:48

EgonOlsen (5685 views)
2018-06-10 19:43:44

EgonOlsen (3200 views)
2018-06-10 19:43:20

DesertCoockie (4102 views)
2018-05-13 18:23:11

nelsongames (5118 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08
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!