Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
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 ... 155 156 [157] 158 159 ... 215
  ignore  |  Print  
  What I did today  (Read 3542072 times)
0 Members and 16 Guests are viewing this topic.
Offline Slyth2727
« Reply #4680 - Posted 2016-09-05 23:36:57 »

FIRST SUCCESSFUL BLINDFOLD RUBIKS CUBE SOLVE.

The satisfaction of opening your eyes and seeing it fully solved is incredible!
I'm also working on finalizing my FAT32, FAT16, SFS, and EXT3-4 drivers for my OS.
Offline theagentd
« Reply #4681 - Posted 2016-09-06 00:59:38 »

Today I continued my efforts to create a fully accurate resource workflow for model creation. With my Blender plugin mostly feature complete (at least for models, no animations yet) and normal maps now being interpreted exactly as bakers produce them, I've switched my focus onto PBR and lighting again. My goal is to take the textures produced by Substance Designer, import them into my engine and get as close results as possible to Substance. At first it looked really wrong, but after figuring out how Substance uses its textures and a whole lot of Googling I managed to get something very similar to the preview in Substance. In this process, I ended up switching from Cook-Torrance to GGX for specular lighting, which seems to be the by far most dominant way of handling specular lighting in physical based rendering. It's a fair bit lighter in math after some optimizations, but it probably won't matter when using shadows as they're by far the heaviest part of lighting.  I can't really show any screenshots until a certain press release though. Tongue

Previously we've tried to create our own model converters and material editors, but in the end we simply don't have time to code, maintain and expand that kind of stuff with mostly just me working on them. Therefore, we've been working on getting compatibility with at least some mainstream tools and adhering to standards regarding PBR, normal mapping, etc. It's all really starting to take shape, which is really exciting! It's all so f**king hard to research though, because all technical details are drowned by artist buzzwords and layman explanations of how to use a certain checkbox in a certain program. Example: Substance was exporting "Metallic" maps, and I had no idea what they were for. I googled and just found ten variations of "metallic+roughness is a different workflow from specular+gloss" and then another ten variations of "X uses Y, but you can pretty much use whichever you prefer". Took me a long time before I found the following on GameDev.net:
Quote
Metalness is a replacement for the "specular map", or the "F0" value -- it's an easier way of authoring specular maps. It also ties in with the main colour texture though.
Metalness of 0/black means that you should use an F0 value of 0.03 (8/255 in a specular map).
Metalness of 1/white means that you should read the main "color" texture and use that as F0 (and also replace the "diffuse color" with black).
Metalness of grey means you do something in-between those two extremes (diffuse color becomes party black, specular color is a lerp of 0.03 and the color map).
So frigging simple, yet completely buried, just like the technical details of tangent space normal mapping. Anyway, I'm thinking of switching to storing metalness in my G-buffer instead, since it allows you to get colored specular reflections. Before, I stored a diffuse color and just a single specular intensity, which means that he specular reflection is always white. There are some metallic objects that have colored specular reflections though (gold and copper for example) which won't look good with this scheme. "Metalness" essentially switches between two "modes", one for metals and one for non-metals. Non-metals have a hardcoded specular intensity of around 0.03 and the diffuse texture is used for diffuse lighting. Metals instead interpret the diffuse texture as the specular intensity and have zero diffuse lighting. TL;DR: Metalness decides if the diffuse texture is used as diffuse or specular color.

In addition, I have an idea for doing decal blending of normals and lighting parameters so that decals can modify the lighting of a surface and not just the color. The problem for me was that I use a tight packing in the G-buffer:
Texture1: Diffuse RGB, alpha unused.
Texture2: Packed normal xy, roughness, specular
Texture3: Emissive RGB, primitive ID (for SRAA).

The problem here is that the normal isn't blendable, and in addition the specular isn't easily modifyable either since it's the alpha channel. If I write an alpha value from the shader, it'll also get written as the specular intensity! We also don't want to modify the primitive ID stored in SRAA, as it is bitwise compared with the ID of a second pass, so any modification here will break SRAA. However, I think that there's a really complicated solution to this problem:
 - Per-render-target blending settings aren't supported on OGL3 hardware, but per-target color masks are! We can use those to prevent the primitive ID from being modified by the alpha value written there!
 - Instead of packing the normal using spheremap projection, I can encode a normal with all of XYZ and store roughness as the length of the normal. This doesn't use any extra memory, but has the benefit of being somewhat linearly blendable! It will have some normal distortion due to the normals having different lengths, and the blended vector may have a shorter length which will affect roughness a bit, but it's all 100x better than getting pure garbage by blending encoded values.
 - Lastly, we need to fix the specular blending. Since I can just mask out the alpha channel of of Texture1 and Texture3, I will try to use blend constants to at least allow me to place a single specular value for the entire decal, which would be better than nothing.

EDIT: When I move over to storing a metallic value instead, it will simply be a plug-in replacement for the specular value. It should work very well, since most decals will either add a metallic OR a non-metallic object, so the single-value-for-entire-decal limitation won't be a big deal at all in that case.


Errr, this turned into a bit of a rant, but ehhh....

Sure, screen-space ambient occlusion is a pretty old technique, but it's my very first time doing global illumination!
AO is actually the opposite of global illumination, although it is often grouped together with GI. With GI, you start with zero ambient lighting and add up sources of ambient light. With AO, you assume a certain amount of light and check if something nearby would be blocking that light.

Myomyomyo.
Offline Roquen

JGO Kernel


Medals: 518



« Reply #4682 - Posted 2016-09-06 07:46:23 »

Nathan Reed did a little mile-high overview of lighting: http://computergraphics.stackexchange.com/questions/3955/physically-based-shading-ambient-indirect-lighting/3959#3959
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ShadedVertex
« Reply #4683 - Posted 2016-09-06 08:48:48 »

...I've switched my focus onto PBR and lighting again.

Do you do image based lighting along with PBR?
Offline Opiop
« Reply #4684 - Posted 2016-09-06 14:13:06 »

I have received an offer from Google for full-time employment starting next year! Hooray!!

Can't say I'm not jealous  Tongue

Congratulations, that's a huge accomplishment!
Offline SkyAphid
« Reply #4685 - Posted 2016-09-06 14:46:03 »



We got Orsus rendering in NNGINE at 100%. I made us a cool Substance Painter export preset that exports maps specially for NNGINE, so it's pretty much just plug and play at this point, considering his nifty Blender plugins on top of all this.

We also got this model viewer working so you can see a preview of how your model will work in NNGINE. Thanks to painters naming scheme system, we made the viewer capable of reading the names that the NNGINE preset creates and load them autonomously.

Really cool stuff! It feels like we have a "real" modeling pipeline for the first time ever.

it just werks
Offline theagentd
« Reply #4686 - Posted 2016-09-06 16:47:12 »

...I've switched my focus onto PBR and lighting again.

Do you do image based lighting along with PBR?
Not yet, since we don't have a real map editor yet. I was thinking of doing some simple prebaked stuff once we have that up and running.

Myomyomyo.
Offline philfrei
« Reply #4687 - Posted 2016-09-06 19:35:21 »

Got an endless, non-repeating campfire sfx to play using LWJGL/OpenAL streaming.

The mechanic of loading direct ByteBuffers is a bit alien to what I've been doing in my Java audio. So, getting this has been a bit of a conceptual leap.

I'm wishing the underlying code or natives provided some sort of "notify" when a ByteBuffer is consumed. I've read that for providing a good throttle (audio data can be generated much faster than it will be consumed), a pull/notify rather than continually repolling for an open slot should be more efficient way to go. If this were implemented, the latencies in OpenAL perhaps could be improved overall. But I'm still too new to this to know if my thoughts are on base or not.

Maybe this isn't provided because the underlying native is written in C, not Java, and there is no intervening Java layer for this function.  

music and music apps: http://adonax.com
Offline ShadedVertex
« Reply #4688 - Posted 2016-09-07 04:26:57 »

More SSAO love:

Offline ShadedVertex
« Reply #4689 - Posted 2016-09-07 08:35:08 »

I got back into making my dream application, a drag and drop game development tool for absolute beginners. Just started an hour ago.

It looks like you're using JavaFX. How are you going to integrate JavaFX with OpenGL? There's no OpenGLPanel or anything...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #4690 - Posted 2016-09-07 08:50:08 »

It looks like you're using JavaFX. How are you going to integrate JavaFX with OpenGL? There's no OpenGLPanel or anything...

I'm not going to include OpenGL display in the editor, the editor just contains the list of actions, the entities and the resources. The scenes are created by either using Tiled map editor, or in case of 3D, we launch the game which lets the user to place the objects with mouse and export to a file which is loaded later.

The game also runs in a separate window, also a separate process. Basically the editor exports to JSON files, and the player (the game player app, or the runner) will load the JSON file and start the game.

Offline princec

« JGO Spiffy Duke »


Medals: 1126
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #4691 - Posted 2016-09-07 09:53:56 »

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

(Ok so it was yesterday. Bite me)

More actual in-game footage. Lord help us.

Cas Smiley

Offline NegativeZero

JGO Kernel


Medals: 346
Exp: 1 month or less


Zero but not.


« Reply #4692 - Posted 2016-09-08 10:36:09 »

Day 1 of 2 done for the New Zealand Game Developers Conference.
Random tidbits:

  • Met up again with delt0r
  • Went to an amazing UX/UI talk
  • Went to a talk by the Cuphead lead designer (Roquen has posted the trailer of this a few times)
  • Met one of the Path of Exile designers
  • Generally met lots of cool devs working on awesome things
  • Lots of free(ish) food and drink. Probably had too much coffee...

Tomorrow should be good, looks like there is an emphasis on VR, which is right up my alley...

Offline J0
« Reply #4693 - Posted 2016-09-08 10:51:10 »

I came up with a sweet function:
1  
2  
3  
4  
5  
6  
setUpAndRun("Game", new Tx(iconBufferedImage), 500, 500, Utils.createPath("4gotten/Tests"), new Tasker(){
    @Override public void load(){ /* load resources */ }
    @Override public void logic(){ /* game logic */ }
    @Override public void render(){ /* rendering */ }
    @Override public void end(){ /* close streams etc */ }
});

This basically creates LWJGL natives inside a home directory (%APPDATA% on Windows), opens up a frame with name "Game", width 500, height 500, icon iconBufferedImage, calls load() once, then logic() and render() until the frame is closed (or requested otherwise), and finally calls end() and terminates the application.

It's a bit superfluous but I thought it was cool Cool

J0 Smiley

Offline SHC
« Reply #4694 - Posted 2016-09-08 15:46:36 »

I drew a gamepad in Inkscape which I'd like to use in SilenceEngine. Now I'm going to map the different types of gamepads to my gamepad, and I have a cheap gamepad I'm going to map first.



I'd also like to ask you guys if you are willing to help me map your kind of gamepad too. Please PM me in case you are interested.

Offline NegativeZero

JGO Kernel


Medals: 346
Exp: 1 month or less


Zero but not.


« Reply #4695 - Posted 2016-09-09 10:47:03 »

Day 1 of 2 done for the New Zealand Game Developers Conference.
Random tidbits:

  • Met up again with delt0r
  • Went to an amazing UX/UI talk
  • Went to a talk by the Cuphead lead designer (Roquen has posted the trailer of this a few times)
  • Met one of the Path of Exile designers
  • Generally met lots of cool devs working on awesome things
  • Lots of free(ish) food and drink. Probably had too much coffee...

Tomorrow should be good, looks like there is an emphasis on VR, which is right up my alley...

Day 2 of 2 done for the New Zealand Game Developers Conference.
Random tidbits:

  • Met HeroesGraveDev for the first time
  • Saw Dean Hall (made DayZ, founded RocketWerkz, made Out of Ammo, employed kaffiene)
  • Went to a panel of an accountant (specializing in tax) and two lawyers (an IP/software one and a patent one). Very interesting, but very scary.
  • Saw the developer of Monument Valley.
  • Keynote by Noah Falstein (Chief Game Designer at Google) about VR
  • Saw the developer of Mini Metro.
  • It seems like half the "experienced" people there, at one point or another, worked for Ubisoft.
  • Pretty sure I had enough of the free coffee just to cover the ticket price...

If there are any NZ devs around here who elected not to go this year, go next year.
It's worth the ticket price just to talk to all these very interesting people.

Offline ShadedVertex
« Reply #4696 - Posted 2016-09-09 14:37:16 »

Damn, I wish I could go to NZ and attend NZGDC. Unfortunately, that can only be possible in my dreams...for now.
Offline SHC
« Reply #4697 - Posted 2016-09-09 14:57:41 »

Damn, I wish I could go to NZ and attend NZGDC. Unfortunately, that can only be possible in my dreams...for now.

Don't worry Anuj Rao, let's meet there at some point in the future.  Pointing

Offline Mac70
« Reply #4698 - Posted 2016-09-09 16:13:38 »

I have +/- 18000 km to NZ... Pretty far away sadly. Smiley
Offline NegativeZero

JGO Kernel


Medals: 346
Exp: 1 month or less


Zero but not.


« Reply #4699 - Posted 2016-09-09 21:44:27 »

http://www.adriancourreges.com/blog/2016/09/09/doom-2016-graphics-study/

Found this graphics breakdown of DOOM(2016). The graphics pipeline is crazy, anyone with an interest in OpenGL/Vulkan should check this out.

Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


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


« Reply #4700 - Posted 2016-09-10 05:52:57 »

Seems like a pretty standard graphics pipeline Tongue

Cool though, none the less. Most interesting thing is the mega textures; Only thing I cant figure out how to do efficiently.

First Recon. A java made online first person shooter!
Offline ShadedVertex
« Reply #4701 - Posted 2016-09-10 06:39:56 »

Damn, their shadow mapping technique (they only update the parts of the shadow map that needs updating) sounds pretty complicated. I'll stick to updating the entire shadow map every frame, thank you very much Smiley

Coincidentally, I read a tutorial on CSM today. Planning to implement it, along with percentage closer soft shadows.

Damn, I wish I could go to NZ and attend NZGDC. Unfortunately, that can only be possible in my dreams...for now.

Don't worry Anuj Rao, let's meet there at some point in the future.  Pointing

You're one of the people who prefer to address me by my actual name Tongue I'm not complaining, don't get me wrong, though.

Also, yeah sure Smiley Maybe one day...
Offline Icecore
« Reply #4702 - Posted 2016-09-11 01:35:09 »

Create Own encrypt language for fun XD
CuBBool
(reads with one ‘B’ – “cubool” or “cubol” )
From: Cube and Bool
Because Cube Dot looks stupid ^^

Benefit – Smallest Char is 3 x 3 pixels Wink (+1 offset between chars = 4 x 4)
For other languages can be used matrix 4 x 4 or even 5 x 5
5 x 5 – even enough for big portion of Unicodes


up: And yes, CuBit from Cube & Bit already in use Wink
up2: swap numbers and small letter layouts - for better visual ^^

pp.s its not random dots
3 x 3 have 5 Data bits
Bits order: from Left to Right, from Top to bottom

123
45
so for char: ''a' (00000), ''b' (10000), ''c' (01000), 'd' (11000), 'e' (00100)

For numbers and letters I use alphabetic progression
Because numb & letters frequently used, with time(used) you remember them
But with remembering symbols can be problems
So i try sort them by ”Visual”.

up4:
someone may need "space" char Wink
Secret: extra "Space" char:
1  
2  
3  
#00
00#
0##

(move it to small letter layout in looks like arrow Right / Bottom)

HashTag ^^ #CuBBool

For Separate Discussions:
Create Thread http://www.java-gaming.org/topics/cubbool-language/37737/view.html

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

JGO Kernel


Medals: 518



« Reply #4703 - Posted 2016-09-11 05:58:47 »

speaking of cubes:  a functional language based causal game http://david-peter.de/cube-composer/
Offline J0
« Reply #4704 - Posted 2016-09-11 09:09:49 »

I finished that game... by playing the last few levels at random persecutioncomplex

Offline princec

« JGO Spiffy Duke »


Medals: 1126
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #4705 - Posted 2016-09-11 18:19:28 »

Just like real functional programming, then.  Tongue

Cas Smiley

Offline Roquen

JGO Kernel


Medals: 518



« Reply #4706 - Posted 2016-09-11 19:00:46 »

functional
Offline Slyth2727
« Reply #4707 - Posted 2016-09-11 21:11:02 »

Oh that site is awesome! I could never get past the 2.3 Poseidon level. Maybe it's because I've never found myself playing that game while sober.
Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


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


« Reply #4708 - Posted 2016-09-12 04:06:31 »

Little bit of work on my online FPS today:
Click to Play

First Recon. A java made online first person shooter!
Offline VaTTeRGeR
« Reply #4709 - Posted 2016-09-12 09:02:45 »

Bonded a rfm69 radio to bigger pin headers on a prototype board so i can test the radio without having to solder everything together just yet.
The non-testing version will have the wires soldered directly onto the board which is much easier to do than the assembly below.

The green circuit board is 1.6cm wide and long, fitting and soldering it was a real pain... and the worst thing is that i have to build another one of these just to test it, but i'm exited how it'll work out.
Pages: 1 ... 155 156 [157] 158 159 ... 215
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

nelsongames (4294 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!