Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (798)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 212 213 [214]
  ignore  |  Print  
  What I did today  (Read 3463951 times)
0 Members and 2 Guests are viewing this topic.
Offline SugarBlood
« Reply #6390 - Posted 2019-09-17 16:51:03 »

@dime26, Hello, I tried your game, its very nice for 48 hours Cheesy But on level 19 you have only 1 second to clear it, I don't understeand something? Huh

Hi, @VaTTeRGeR, I remember, I saw some interview about some VR archery game, and they said something like - you don't really have a bow in your hands, but you can feel it, when it's string is triggered Cheesy
Offline philfrei
« Reply #6391 - Posted 2019-09-17 20:28:38 »

VR is pretty fun, when it works. But I think it is going to have to become easier to use before it really catches on. A couple months ago, I brought my wife to a shop that supports gaming, where they had a corner roped off for VR with VIVE and there were all sorts of problems just setting up and getting programs to run correctly. The store employees rolled back the clock a couple of times (we were renting time) while trying to figure it out. Also there is a definite learning curve, trying to get used to the controllers, even with simple things like picking stuff up, and the programs themselves often don't do a good job of introducing themselves to novices. Somehow, I think it is easy to expect it to be a lot more intuitive (and thus leave disappointed but hopeful for improvements), but maybe any time one experiences a new medium, there is going to be a lot to learn in order to use it. My wife was gaga about an underwater adventure she took where a massive whale sidles up and looks her in the eye. One really can get a sense of space from these illusions.

My day: (after a couple days offloading data from my desktop PC), I have made a bootable USB with Ubuntu Server, but made the mistake(?) of running chkdsk on my Windows 10 machine. We've been sitting at "Scanning and repairing drive (C:): 12% complete" for 4 hours so far. Am heading out to run some errands. Maybe it will finish before I come back?

How long to give it before pulling the plug?

I don't want to damage the disk.
A prior, read-only run of chkdsk revealed three items to fix (and only took 5 or 10 minutes to execute).
At this point, I only hear the fan. I'm not hearing hard drive activity, as I was earlier.

I'm keeping my laptop (Windows 10) as my main dev environment, but I really want to learn more about working "full stack" and especially about the server level.

Am reading this: "Linux Administration: A Beginner's Guide, 7th Edition"
The "beginners" word is a bit deceptive. They are assuming that the reader knows a fair bit about Windows at the OS level and are just new to Linux. I know a bit about Windows OS, but am not an expert. Still, it's the closest book I found that matches my current level of knowledge.

music and music apps: http://adonax.com
Offline VaTTeRGeR
« Reply #6392 - Posted 2019-09-17 21:34:04 »

@SugarBlood Yep, that pretty much describes it, your mind fills in the gaps.

@philfrei I think/hope it will go the way of graphics cards with unified APIs like OpenGL for rendering/input and the most successful hardware designs becoming the common denominator. My experience with the Rift S was surprisingly painless but also only around 5 minutes long. I definitely won't be buying any VR headset anytime soon though, the combination of GPU and headset is just too expensive right now but that'll change at some point.

Can't really help you with that disk though, I would try to force windows to perform a shutdown if your goal is to install Linux on that disk anyway  Huh
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #6393 - Posted 2019-09-18 15:35:26 »

The decision on whether to shut down was decided for me. Right before leaving for a cowork space, our power went out! Good old CA-PG&E power grid. I just ran a read-only chkdsk and the results are worse than before, a dozen corrupt entries instead of 3.

I asked about this at the cowork space, and the consensus was that the hard drive should be replaced. I probably should have done this months ago, when the "disk" reading from the Windows TaskManager started routinely pinning 100% for the first 5 then 10 then 15 minutes when starting up. Always trying to save a buck, kept putting it off and just shifted more work to the laptop.

EDIT: Just sent off for a new SSD. Meanwhile, a chkdsk with /f only (fix, don't bother to try and recover) managed to execute and not hang. So maybe I will go ahead and try installing Ubuntu-Server today. Not a big deal having to do it over again in a week.

music and music apps: http://adonax.com
Offline dime26

JGO Wizard


Medals: 90
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #6394 - Posted 2019-09-20 22:34:50 »

@dime26, Hello, I tried your game, its very nice for 48 hours Cheesy But on level 19 you have only 1 second to clear it, I don't understeand something? Huh

Hi, @VaTTeRGeR, I remember, I saw some interview about some VR archery game, and they said something like - you don't really have a bow in your hands, but you can feel it, when it's string is triggered Cheesy

You have limited time to complete the game, if you run out of it then you need to go back to the start and do better on some of the levels to re-claim time.

You start with I think 300 seconds and use up time on each level, only your fastest time on each level is taken from the total. I probably should have had no time limit per level but kept a total and shown which levels were done too slow.
Offline SugarBlood
« Reply #6395 - Posted 2019-09-22 16:16:22 »

@dime26

Oh, got it, almost cleared it, but stuck on level 21
Offline KaiHH

JGO Kernel


Medals: 732



« Reply #6396 - Posted 2019-09-26 22:50:07 »

Had fun adding "Swept AABB/AABB" collision detection and response into a small demo, as I want to develop the render/OpenGL demos more into being an actual playable game.
Doing collision detection robustly was quite challenging, including not colliding with the "side" between two adjacent voxels. The nice thing is that I could reuse the already existing kd-tree, which was used for ray-tracing, for the broadphase collision detection to quickly collect potential candidate voxels given the swept/extended player AABB.
<a href="http://www.youtube.com/v/cGQQFSXdCxI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/cGQQFSXdCxI?version=3&amp;hl=en_US&amp;start=</a>
(sorry for the weird colors, it's just a quick debug render)
Offline philfrei
« Reply #6397 - Posted 2019-09-29 19:27:17 »

Been slowly working through textbook and tutorials on Ubuntu-Server which I installed on my desktop this last week. Today's first task is a tutorial on compiling the gnu "Hello World" program. Got to start somewhere! Also my first SSD memory is in the mail, should arrive any day. Need to look at the vendors sites/info on prepping the hard drive for the switchover.

I got a super nice audio distortion algorithm working on my theremin on Thurs/Fri! It turns out the Java Math.tanh function sounds awesome and is super easy to use. I'm feeding it with an open fifth with a lot of built in phasing, so the source sound has some nice internal movement to keep the sound alive, as well as the FM equivalent of a low pass filter (sounds like a middling/mild Q, not super funky). Am calling this theremin voice/setting "PowerChord". Next up is figuring out how to cope with the aliasing the distortion function causes. (Plan--oversample plus filter, listen to hear how that works. But the effect will mostly be used at lower pitches, I assume.)

music and music apps: http://adonax.com
Offline mudlee
« Reply #6398 - Posted 2019-09-30 02:23:04 »

I’ve been in game dev for 3 years now. I made three small games for jams with Unity and Godot. I tried out Unreal, I like all, but still, the joy I have when I run my own rendering code is still bigger... so yesterday I finaly managed to update the rendering and obj loading logic to be able to load obj files with submeshes and materials. It worked at the first run, and tests were also green for first!
Offline orange451

JGO Kernel


Medals: 539
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #6399 - Posted 2019-09-30 13:37:48 »

We're gunna need some pics persecutioncomplex

First Recon. A java made online first person shooter!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mudlee
« Reply #6400 - Posted 2019-09-30 19:30:51 »

Here it is Smiley https://drive.google.com/file/d/1YKeQBPKglP0nARTYqaRzsTT8z5nSYh05/view?usp=drivesdk

Today I managed to refactor my camera into something more general (Camera interface + AbstractCamera parent), and now with a small code change I now have an RPGCamera that has the right view angle and movement. Initally I wanted to create a camera arm that holds the camera itself. It tought its easier to have a camera rotated and the arm moved, but I use ECS amd when I started to think on parent-child relationship between transforms I realised that ECS is not meant for this Smiley So I ended up with a Camera refactor.
Offline KaiHH

JGO Kernel


Medals: 732



« Reply #6401 - Posted 2019-09-30 22:06:39 »

Today: Greedy Meshing

Up until now I only used actual cube and cuboid primitives to ray trace the scene, but a triangle mesh allows to:
1. do a raster pre-pass to compute "primary rays" giving the hit point position and normal to start any secondary rays from that point
2. use Nvidia Vulkan Ray Tracing, which gives a massive performance boost compared to a non-RT compute shader on Turing hardware!

Greedy Meshing Java Code here: https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/util/GreedyMeshing.java
Offline KaiHH

JGO Kernel


Medals: 732



« Reply #6402 - Posted 2019-10-02 00:11:33 »

Today I quickly threw a simplex-noise-generated and greedy-meshed chunk onto NV_ray_tracing with a simple path tracing shader and got this:
<a href="http://www.youtube.com/v/LhN3w46kKmc?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/LhN3w46kKmc?version=3&amp;hl=en_US&amp;start=</a>
(16 samples per pixel, 4 bounces, 1440p, 60Hz)
One might think this is pre-rendered in e.g. Blender/Cycles, but it's actually realtime with a smooth camera rotation animation. Smiley
Offline KaiHH

JGO Kernel


Medals: 732



« Reply #6403 - Posted 2019-10-05 16:09:03 »

Today I implemented hybrid ray tracing (rasterization + ray tracing) in Vulkan, so that the first ray (starting from the eye) is not ray traced but actually rasterized/rendered as you would normally do, because rasterization still is much faster.
Normal output (rasterized):

Depth output (rasterized - linearized depth buffer):

1 sample-per-pixel 1 bounce (ray traced):

Code: https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/vulkan/NvRayTracingHybridExample.java
Offline SHC
« Reply #6404 - Posted 2019-10-05 16:50:39 »

I started learning Spring framework. P.S.: That syntax theme is my own port of the Ayu Dark colour scheme from VIM.


Offline KaiHH

JGO Kernel


Medals: 732



« Reply #6405 - Posted 2019-10-07 20:42:41 »

Blue noise sampling is so superior to white noise for the second bounce ray where the 2D input/sample vector to the blue noise function/image in screen space maps linear to the blue noise function/image domain.
Essentially, the blue noise function/image is sampled based on the X/Y screen space dimensions and the sample position is shifted by a random/hash function based on the bounce index and frame index (or frame/elapsed time) as input. This is what is commonly called "Cranley-Patterson rotation" in the literature.

White noise:


And blue noise:


The blue noise pattern is very amenable to low-pass spatial filtering (such as with a Guassian filter) because there is very little low frequency noise.
Java: https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/vulkan/NvRayTracingHybridExample.java
GLSL: https://github.com/LWJGL/lwjgl3-demos/blob/master/res/org/lwjgl/demo/vulkan/raygen-hybrid.glsl

By the way: This video shows the current state of the art in sample generation (pretty tough stuff!)

EDIT: Images with 4 samples per pixel (left white noise, right blue noise):


EDIT2:
Also implemented https://eheitzresearch.wordpress.com/762-2/ today in OpenGL/GLSL, giving a big improvement to sample quality over white noise. Comparison (1spp multiple-importance sampling with single rectangular light source and 3 bounces):
(left is white noise, right is blue noise):



(you need to open these images in a separate tab or download them. the browser's downsampling destroys the effect)

Bottom line: NEVER use white noise (simple rand()) when generating samples! Smiley
Offline orange451

JGO Kernel


Medals: 539
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #6406 - Posted 2019-10-13 05:00:38 »

Played around with a dark theme in my IDE:


Also re-implemented in-ide project testing, so you don't HAVE to test in a separate window anymore. This was done to make the program more prototype friendly. If I want to open it up and test how to write something in lua, I will no longer be required to save my work to a temporary file.

I also made undo/redo support

[EDIT]
I forgot to mention @Guerra24 has joined me, and implemented his rendering engine in my game engine. So now it looks a lot prettier Smiley

[EDIT2]
Here's a gif of internal testing
Click to Play

Click to Play

First Recon. A java made online first person shooter!
Pages: 1 ... 212 213 [214]
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

nelsongames (4000 views)
2018-04-24 18:15:36
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

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