Java-Gaming.org Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (195)
games submitted by our members
Games in WIP (734)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 160
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-04-23 00:23:47
@SHC: I bet most of those were just modifying a single character/line just to get something in for the day Grin
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-04-14 02:18:58
Why have you decided to do this much work to support both OpenGL and Vulkan through an abstract layer?
3  Discussions / General Discussions / Re: Programmer jokes on: 2016-04-13 07:58:38
You stole that off today's Reddit frontpage Smiley
4  Java Game APIs & Engines / OpenGL Development / Re: Culling faces on: 2016-03-08 23:45:16
Trust me, old ra4king went through a much harder roasting.. I think he even got banned from the irc and one point. But he came around and started to follow instructions and advice. And now he helps others.
What in the hell are you talking about?

Hydroque went through this, he came to the #java-gaming channel, was just about as aggressive and confrontational as I'm seeing him here on this forum, blamed us for being alienating, then left and never came back.
5  Game Development / Networking & Multiplayer / Re: BufferedReader.ReadLine unexpectedly blocking on: 2016-03-06 04:52:53
No HeroesGraveDev is correct, your advice is incorrect. He created a single object that reads from the InputStream and a single object that writes to the OutputStream. He is only every creating on stream wrapper per Input/Output stream.
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-26 20:41:14
Welcome to University, where you will learn more about yourself, the opposite sex, and how to procrastinate than any time before!
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-23 07:20:14
I.... oh dear.... I'm avoiding Vulkan for a bit.
8  Discussions / General Discussions / Re: SMF is falling apart. on: 2016-02-13 22:31:34
What's the status of your new forum Riven?
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-10 07:27:30
A few months ago I saw these slides: http://www.slideshare.net/DevCentralAMD/holy-smoke-faster-particle-rendering-using-direct-compute-by-gareth-thomas

Apparently they found that foregoing rasterization of particles and instead going with a tiled compute shader was actually faster than hardware blending. In essence they divided the screen into tiles, binned all particles to said tiles and then had a compute shader "rasterize" those particles, blending into a vec4 completely inside the shader (no read-modify-write to VRAM). They also implemented sorting of particles in the compute shader.

I took a slightly different approach. I've been experimenting with quite a few order-independent transparency algorithms in the past few months/year, and I've got stochastic transparency, adaptive OIT, fourier-mapped OIT (hopefully I'll get around to posting my bachelor thesis on this soon) and a reference CPU-side sorting simple renderer. So as a first test, I tried merging all 3 passes stochastic transparency into a single compute shader. Instead of writing to 8xRGBA16F render targets in the first pass, and then reading all those textures in the second pass and finally doing the weighted average resolving in a final fullscreen pass, I simply use 8 vec4s in the compute shader, immediately do the second pass again writing to local variables and finally doing the resolve and outputting the final RGBA of all particles blended together correctly, all in one (not so) massive shader. I currently lack the tile binning, and a lot of calculations are currently done on the CPU that need a lot of optimizations, but the GPU performance looks very optimistic. In some cases with a large number of particles covering the entire screen, the compute shader achieves almost twice the framerate of my old algorithm, and even more impressively at the same time reduces memory controller load from 80% to a meager 2%. The next step would be to port adaptive OIT to a compute shader. This would be even more interesting at it would eliminate the need for a linked list, as I can just compute the visibility curve as I process the particles. This would in theory allow AOIT to work on OpenGL 3.3 hardware if I just emulate a compute shader with a fullscreen fragment shader pass.

The biggest problem with this approach is that I would need to have every single piece of transparent geometry available in the compute shader, and I wouldn't be able to have different shaders for different particles. However, it would be possible to only use the tiled approach to construct the visibility curve for AOIT in using a tiled compute shader, output the curve to textures and finally proceed with the second pass as usual. That would allow me to have fairly complex shaders for the particles (as long as they don't modify alpha in a complex way) and still have the flexibility of my old system.

I don't really have any good pictures I'm proud of to show off of all this, but hopefully I'll get some nice screenshots in the end. >___<
Several questions about your rendering:

  • What did you need 8 render targets for in the first pass?
  • How does your new render system work with the compute shader? Do you still output to the render targets and then each instance of the compute shader processes the 8 vec4s across the 8 RT?
  • How is memory controller load reduced from 80% to 2%? Isn't the same data being processed by the compute shaders instead of fragment shaders now?

I've been getting very interested in how OIT works!
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-06 08:02:43
You, my friend, have no life! Smiley
I remember building an 8-bit adder and a multiplexer. Took me ages!

Regardless... how did you make the redstone light up only a single lamp when they are surrounded by other lamps?
11  Discussions / General Discussions / Re: JGO server folded in on itself on: 2016-01-14 20:20:22
Your first mistake is using Apache2 Pointing
12  Games Center / WIP games, tools & toy projects / Re: Snowman on: 2016-01-08 04:11:10
Apo! Nice to see you still making games! Very fun gameplay and cool art style as usual.
13  Java Game APIs & Engines / Java 2D / Re: 2D Graphics Libraries on: 2016-01-08 04:06:09
LibGDX can be used just for its 2D graphics APIs, you don't have to be constrained to its framework.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-17 07:01:28


For folks who don't get this beautiful pun: this picture is of a spoiler, which is goes on the back of a car to stabilize it:


So.... Star Wars spoiler... Grin Grin Grin
15  Game Development / Networking & Multiplayer / Re: Cannot host a game without port forwarding on: 2015-12-14 09:31:16
The best solution is to use https://ngrok.com/

This free service allows you to open a tunnel through a randomly generated URL they provide you. Locally on the machine you run an application that connects to their servers and forwards packets to and from a local port and their service.
16  Game Development / Networking & Multiplayer / Re: what would be the basic structure for UDP multiplayer server/client on: 2015-12-14 03:00:45
No such thing as outdated, again: it's simply use case. In the lobby, there isn't much intensive work being done on the server thus it's easy and cheap to have a thread-per-client with a blocking TCP socket (since game creation). In-game however, there is a lot of action and you definitely don't want blocking there, so use non-blocking UDP or TCP depending on how much latency you can afford.
17  Game Development / Networking & Multiplayer / Re: what would be the basic structure for UDP multiplayer server/client on: 2015-12-13 10:01:30
You should study how both TCP and UDP work, especially using the link I posted. Figure out the differences between them and their uses. Read more articles about practical uses with them. The difference is enough to be able to make a decision on which protocol to use for the kind of data going through the connection.
18  Game Development / Networking & Multiplayer / Re: what would be the basic structure for UDP multiplayer server/client on: 2015-12-12 20:38:50
Have some links!

http://gafferongames.com/networking-for-game-programmers/what-every-programmer-needs-to-know-about-game-networking/
19  Games Center / Featured Games / Re: Gunslugs 2 - completed on: 2015-12-10 06:20:45
Hi FabulousFellini, welcome to JGO! I just want to point out for future reference, it's not socially acceptable to revive very old threads. The general limit is somewhere between 1-2 months.

Regardless, this is a great game, completely forgot about it! @orangepascal, how have release and sales been?
20  Discussions / General Discussions / Re: SMF is falling apart. on: 2015-12-09 23:32:13
Riven, just wanted to tell you how much we all appreciate what you are doing for this community.

I'm also highly interested in helping out once you open-source it as I would love to improve the forum!
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-19 07:47:39
There should only be 12 pentagons. 2 at the poles and 5 around each tropical line. =P
How did you calculate those numbers from knowing there were approximately 1 million hexagons?
22  Discussions / General Discussions / Re: SMF is falling apart. on: 2015-11-17 17:40:29
Logging in, checking "unread posts since last visit" and logging out will mark ALL as read. Have to open them all before logging out unless I have time for crawling.
That's the whole point of Unread Posts Since Last Visit. Check out the Since Epoch option... but don't be alarmed at how many pages behind you'll be! Grin

Another issue: all JGO emails have been going straight to spam for me (using gmail). The reason: "It is in violation of Google's recommended email sender guidelines." This is the accompanying link: https://support.google.com/mail/answer/81126?hl=en#authentication
23  Discussions / General Discussions / Re: SMF is falling apart. on: 2015-11-17 07:51:05
Editing a post in-place by hitting that paper and pencil icon on the right side freezes at the green bar with "Loading..." on top.
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-11 05:12:35
@Roquen
Oh nice I studied that equation in my Computer Graphics course! Smiley

@kingroka123
Come to Georgia Tech!! Cheesy
25  Discussions / General Discussions / Re: Programmer jokes on: 2015-11-04 21:55:43
We've gone full circle!
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-20 03:27:12
Definitely the bottom one.
27  Discussions / General Discussions / Re: Programmer jokes on: 2015-10-14 17:11:26
Hah! I just left my Algorithms course a few minutes ago... that's absolutely perfect.
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-13 19:33:56
Not really today... yesterday I biked 100 miles/160 km with some friends! Longest bike ride of my life but I enjoyed it.

Nice. avg speed?
The average was 12.5-15 mph/20-24 km/h, but on the flat stretches I was going upwards of 18-19 mph/30 km/h!
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-13 16:13:18
Not really today... yesterday I biked 100 miles/160 km with some friends! Longest bike ride of my life but I enjoyed it.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-11 18:29:57
Whatever you think about Apple.  Still total risk takers.   They're pushing for total vertical integration: http://adriansampson.net/blog/appleisa.html
Wow, I didn't even know they had their own microarchitecture! That's incredible...
Pages: [1] 2 3 ... 160
 
DarkCart (28 views)
2016-05-29 02:30:33

Hydroque (43 views)
2016-05-26 14:45:46

Mac70 (55 views)
2016-05-24 21:16:33

theagentd (58 views)
2016-05-14 18:38:35

theagentd (90 views)
2016-05-10 22:37:41

theagentd (98 views)
2016-05-10 22:33:46

IanParcs (121 views)
2016-04-18 14:18:53

KaiHH (116 views)
2016-04-18 08:35:41

KaiHH (138 views)
2016-04-15 12:43:58

theagentd (145 views)
2016-04-14 02:16:17
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50
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!