Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 190 191 [192] 193 194 ... 207
  ignore  |  Print  
  What I did today  (Read 3013656 times)
orange451 and 6 Guests are viewing this topic.
Offline Slyth2727
« Reply #5730 - Posted 2017-11-08 19:22:17 »

Submitted my first grant application for a research project! I've been planning to release 2 papers a year until my I start my PhD and so far I'm right on track - first semester is almost over and I've got one paper being published soon and another one in the works with this grant. I'll be presenting my first one at a local SIAM conference soon so when that comes up I'll try to get a recording or something maybe. Super excited, I'm loving college.

Edit: some of the things I've worked on over the past week.
<a href="http://www.youtube.com/v/GbQQJXAcgo4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/GbQQJXAcgo4?version=3&amp;hl=en_US&amp;start=</a>
Offline elect

JGO Knight


Medals: 60



« Reply #5731 - Posted 2017-11-08 20:24:38 »

topics?
Offline Slyth2727
« Reply #5732 - Posted 2017-11-08 22:04:54 »

The second is a study on reinforcement/adaptive learning in humans and machines. I'm taking a look at improving current RL models. The first was on a algorithm I found to quickly and easily bruteforce a portion of  trigonometric integration on a computer. I know bruteforce and quick doesn't usually go together but I derived a neat formula that allows me to do just that. Not huge leaps and bounds in the fields but it's ok for my first published papers. I may post a link to them after they're published if anyone's interested.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline dime26

JGO Ninja


Medals: 73
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #5733 - Posted 2017-11-10 00:57:13 »

Pixel dailies theme was Cactus, made this:

Offline zngga
« Reply #5734 - Posted 2017-11-10 15:32:47 »

Looks great ^

Do let us know when you have something playable!

My code never has bugs... it just develops unexpected features!
Offline dime26

JGO Ninja


Medals: 73
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #5735 - Posted 2017-11-12 00:29:30 »

Finished tutorial 11, this one goes through creating a basic menu with some buttons.

https://carelesslabs.wordpress.com/2017/11/12/making-a-libgdx-roguelike-survival-game-part-11-custom-menu-buttons-gamedev

I will look at saving & loading next, not sure if this "game" will ever be completed but will hopefully encourage someone to make their own game and help start them off on the right track (Or at least a track of sorts). 
Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5736 - Posted 2017-11-12 15:25:28 »

Yesterday and today I've begun writing the first "code-centric" tutorials on implementing an unbiased importance-sampled path tracer in LWJGL 3 with OpenGL compute shaders. The idea of this kind of tutorial is to read Java and GLSL code from top to bottom and have JavaDocs and comments explaining things as you go. The important thing is that you are always in working source code.
I wanted to pick up on the LWJGL3 GitHub Wiki entry I've written in 2014 and write one working version from start right up to implementing filtering algorithms (such as the 2010 Edge-Avoiding À-Trous Filter paper or Nvidia's 2017 spatiotemporal enhancement of it) to make it suitable for real-time rendering.

Tutorial 1 introduces the LWJGL3 and compute shader setup for very simple primary ray raytracing to intersect with geometry
Tutorial 2 adds unbiased Monte Carlo integration of lambertian/diffuse BRDFs
Tutorial 3 adds unbiased importance sampling of diffuse and specular BRDF components to highlight the "importance" of importance sampling for BRDFs which have strong features in certain directions, such as Phong
Tutorial 4 will add "multiple importance" sampling for efficiently sampling (small) light sources

Tutorial 3 with importance sampling:


Tutorial 3 with uniform hemisphere sampling:


Java sources: https://github.com/LWJGL/lwjgl3-demos/tree/master/src/org/lwjgl/demo/opengl/raytracing/tutorial

EDIT: Added Tutorial 4 with Multiple Importance sampling using Eric Veach's "balance heuristic" weighting and the one-sample model (i.e. randomly sampling either the light or the hemisphere).

Tutorial 4 without MI:


and with MI:


Note that this is a completely unbiased solution, so both images will converge to the exact same result (given enough time for the first one of course).
Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5737 - Posted 2017-11-13 21:28:18 »

Added Tutorial 4 today (see above edit).
Offline h.pernpeintner

JGO Ninja


Medals: 106



« Reply #5738 - Posted 2017-11-13 21:56:14 »

Veeeeeeeery nice Smiley
Offline Mac70
« Reply #5739 - Posted 2017-11-14 12:20:25 »

Working WebKit based web browser in LWJGL 3:


Click to Play


It still requires lots of work, but is very convenient to use (using JavaFX built-in WebEngine and no external libraries at all). The biggest and pretty much the only problem for now is that texture of rendered page is transferred from CPU to GPU on every frame, some kind of streaming should remove most of that overhead.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5740 - Posted 2017-11-14 23:04:30 »

About to finish Tutorial 5 using the "Edge-Avoiding À-Trous Wavelet Filter". On the way to a real-time, game-ready path tracer! Smiley
The following images show a scene with the current tutorial state of the path tracer:

Unfiltered (1 sample per pixel):


Filtered (1 sample per pixel):


Ground truth (1000 samples per pixel):


The downside of that edge-avoiding filter is that it requires per-scene tweaking of the various weighting parameters involved. I'm pretty sure the authors spent a whole lot of time to find the right weight coefficients for the still images shown in their paper.

EDIT: Tutorial 5 (more like a demo really than a "tutorial") is in: https://github.com/LWJGL/lwjgl3-demos/tree/master/src/org/lwjgl/demo/opengl/raytracing/tutorial
Offline Sickan
« Reply #5741 - Posted 2017-11-16 10:57:05 »

This morning I wrote a garbage collector. GC has always seemed to be some kind of impossible mystery that only extremely talents folks like JVM engineers could understand. Turns out a basic tracing garbage collector isn't very complicated.

Take a look: https://github.com/snordgren/goose
Offline princec

« JGO Spiffy Duke »


Medals: 1060
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #5742 - Posted 2017-11-16 11:00:55 »

It isn't very complicated until you have to handle references in registers, concurrency, threads and cache coherency, finalizers, and references...

Cas Smiley

Offline Riven
Administrator

« JGO Overlord »


Medals: 1357
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5743 - Posted 2017-11-16 12:41:30 »

.. and optimisations by the JIT. You can have multiple (inlined) implementations of 1 callsite at a time, which all store these references in different registers, or (differently laid out) stack memory.

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

« JGO Spiffy Duke »


Medals: 1060
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #5744 - Posted 2017-11-16 12:46:42 »

The way Azul's Zing VM handles all this is quite remarkably sensible... start here https://www.azul.com/products/zing/pgc/

Cas Smiley

Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5745 - Posted 2017-11-16 23:11:02 »

Worked on a new demo today. This time we make a few big steps:
- externalize the scene description out of the shader (the example will use LWJGL 3's Assimp binding to load a scene with meshes)
- that means, we are adding the ability to trace triangle meshes for the first time and getting closer to actual usefulness
- with any triangle meshes bigger than like 32 vertices there now comes the necessity to use a spatial acceleration structure. The already existing LWJGL 3 demos have some ready which we will use for this (most importantly KDTree.java)
- Adding stackless kd-tree traversal as per this fine paper (lwjgl3-demos also already has a shader implementation ready which we will use and integrate into our path tracer)
- Interpolating the normals using barycentric coordinates
- Hybrid rasterization and ray tracing. The benefit of rasterization is that we can use it to "shoot" the primary rays and let them intersect with scene geometry (simply by means of projection/rasterization; this has been done like 20 years ago, nothing of that is new!) and write normals and depth into a texture, which the actual path tracer can then sample to know where to start shooting the secondary rays from (this is basically only a performance optimization, but a very worthy one, especially when we are now talking about traversing lots of kd-tree nodes and testing triangles). The good thing also is that all optimizations for rasterization algorithms apply here as well, such as frustum culling and occlusion culling.

Here is a development image visualizing the kd-tree traversal without rasterization (so, primary rays are being shot by the raytracer) (lighter orange means more kd-tree nodes being traversed) with vertex normals interpolated in the raytracer using the barycentric coordinates returned from the ray-triangle intersection tests:


(sorry for the rather poor image compared to the previous ones, but remember, this is a debug render) Smiley
Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5746 - Posted 2017-11-18 21:37:02 »

Today I worked on completing the next demo, which is almost ready. Like mentioned it features hybrid rasterization and path tracing of triangle meshes using stackless kd-tree traversal. The following images show renders of Crytek's popular Sponza model with the primary rays being rasterized and two additional bounces being path traced at FullHD.

Offline girthquake
« Reply #5747 - Posted 2017-11-19 06:59:46 »

Decided to start learning some 3D with libGDX. Got inspired by this to make some 3D grass.

<a href="http://www.youtube.com/v/dboU8KWxQ70?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/dboU8KWxQ70?version=3&amp;hl=en_US&amp;start=</a>

It uses 30,000 decals. Took me a couple weeks to smash my head against it, made the wind adjustable today Yawn

Offline h.pernpeintner

JGO Ninja


Medals: 106



« Reply #5748 - Posted 2017-11-19 14:09:09 »

VERY NICE!! Smiley

I nearly finished my implementation of compute shader based two-phase occlusion culling for a self-feeding gpu render pipeline Smiley Inspired by the slides from RedLynx. Very impressive that this system can simply be put on top of an existing renderer and performs like f* hell.... and provides proper occlusion culling for arbitrary scenes without the need to distinguish between occluders and occludees. Just a perfect system Oo

EDIT: The system uses a highz depth pyramid from the last frame, culls bounding boxes of all objects against it, renders the visible objects, refreshes the depth pyramid and renders the false occluded objects. Made a demonstration video, sorry for the crappy assets and the crappy demo Smiley The 7-8 cars have roughly a million vertices combined. In the video, I switch between occlusion culling enabled/disabled and set the occluding plane visible/invisble, to show how occlusion culling influences the frame time.

<a href="http://www.youtube.com/v/hIJHpLpGidQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/hIJHpLpGidQ?version=3&amp;hl=en_US&amp;start=</a>
Offline Ecumene

JGO Kernel


Medals: 197
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #5749 - Posted 2017-11-26 05:02:53 »

I spent a week filling my wordpress site with my projects and I just made my first post about Silicon Tycoon! Check it out here http://ecumene.xyz

This was also posted in the Silicon Tycoon thread, but it doesn't look like that has many watchers so I might just quietly work on the game on my wordpress.

Offline abcdef
« Reply #5750 - Posted 2017-11-27 04:22:44 »

In my quest to make my current project GWT compatible I wrote a pure java zlib inflater for my PNG decoder
Offline Slyth2727
« Reply #5751 - Posted 2017-11-28 05:10:33 »

Created a visualization of a method used to solve the inscribed rectangle problem (an easier variant of the inscribed square problem https://en.wikipedia.org/wiki/Inscribed_square_problem). The points where the mesh intersects are solution points for the center of the rectangle, one part of the method.

Offline Mac70
« Reply #5752 - Posted 2017-11-29 00:09:39 »

Started making automatic updater for one of my applications receiving long-time support:



It fetches informations about last updates from GitHub releases API and then compares version number to currently installed version - if it's higher than current version, changelog entry gets appended. UI is not finished yet and automatic updating and installing is work in progress, but I'm happy with how it turned out so far.
Offline Guerra2442

JGO Coder


Medals: 52
Exp: 3 years


Guerra24


« Reply #5753 - Posted 2017-11-29 08:57:37 »

Implemented 3D Volumetric Light by raytracing the scene and calculating the volume using the shadow map.

Click to Play


Volume only. It's rendered at half-res + gaussian blur(also at half-res).

Click to Play

Working on Light Engine.
Offline princec

« JGO Spiffy Duke »


Medals: 1060
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #5754 - Posted 2017-11-29 09:09:47 »

Looks ace. Volumetric lighting is one of the nicest effects.

Cas Smiley

Offline KaiHH

JGO Kernel


Medals: 650



« Reply #5755 - Posted 2017-12-06 22:03:28 »

Today (actually the last five days) I started my first electronics project ever (never soldered before or did _anything_ in that regards). So I got myself covered with electronics stuff, a soldering iron, a multimeter (I basically had NOTHING!) and practiced soldering on male headers and prototype boards. Then I was going to go into Arduino development with a small Arduino Nano. Read a little bit about it until I found out about the popular and veeeery cheap ESP8266-01 2.4GHz WiFi module. That is a more capable microcontroller in its own (faster (even 32-bit) CPU, more (1MB) flash memory and... yeah... WiFi!) than the Arduinos and decided to build a small WLAN repeater using the fantastic esp_wifi_repeater project.
Was a lot of fun figuring out the wiring and an actual _working_ way to flash a new boot image/firmware onto the ESP module and this is the working result:

(soldering bridges is a freaking nightmare)

In the end I have to conclude: Writing Java and running it on a PC is still more fun!
Offline CommanderKeith
« Reply #5756 - Posted 2017-12-07 00:06:12 »

Nice project Kai!
I've been enjoying electronics lately too. I soldered my broken car key remote and bought a bunch of electronics on ebay. Servos,  sensors and arduinos, to have some fun with soon.
I've been enjoying this blog to keep up to date with what's going on in the system on a chip SOC and single board computer SBC market:
https://www.cnx-software.com/2017/12/04/top-5-most-powerful-arm-sbcs-development-boards-in-2017-early-2018/


Offline Gornova
« Reply #5757 - Posted 2017-12-07 08:34:08 »

Yesterday I've updated my prototype Drone Swarm to version 0.4, more info here

I've also put more effort on blog side and explained some thoughts on gameplay and focus on my blog

As usual is very hard to get some feedback on games in early (very early) development, so idea on how improve on that side is welcome

Blog | Last game Drone Swarm
Offline FabulousFellini
« Reply #5758 - Posted 2017-12-07 22:54:02 »

I started to learn LibGDX while I watched the entire Defenders series, and made the basis of a pong game to learn the basics and set up.  You can play 2 player and hit the ball back and forth and score, but that's it so far. 

-FabulousFellini
www.fabulousfellini.com
Offline abcdef
« Reply #5759 - Posted 2017-12-10 11:26:12 »

Finished up getting my html renderer to work by using GWT. One thing I have noticed is, is that webgl is much stricter when it comes to the standards than opengl is. I have had many issues on the implementation that needed fixing because my opengl code worked but was not strictly correct
Pages: 1 ... 190 191 [192] 193 194 ... 207
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

nelsongames (1630 views)
2018-04-24 18:15:36

nelsongames (2278 views)
2018-04-24 18:14:32
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

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
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!