Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 06 Mar 2013
Offline Last Active Jun 27 2014 07:11 AM

Posts I've Made

In Topic: AMD GLSL "subtle" or "quiet" error.

22 June 2014 - 01:38 PM

Haha that is really odd. You might want to submit that as a bug report to OpenGL/Nvidia/AMD. I have no idea how you would go about doing that though.

In Topic: AMD GLSL "subtle" or "quiet" error.

21 June 2014 - 06:40 PM

vec4 final;


isnt initialized so probably holds garbage, which you then add to. Plus Im not sure how you use the 4th component of final.

That was it. Some times you overlook the simplest things like that haha. That's kind of embarrassing. I do wonder why AMD let it complie and didn't even try and warn me about it though. I have all the error logging stuff on but the shader compiled without any actual errors.




Your code makes my eyes hurt smile.png

while(i < 3) {
final.xyz += (rot[i].xyz * weights[i]);
normal += (nor[i] * weights[i]);


Didn't know you could write it that way. Thanks. I'm sure I can clean things up like that in a few places.

In Topic: Is Java Socket the best option for a real time game server?

10 December 2013 - 04:47 PM

Using RMI in a game is a horrible idea. First off its like "please, everyone feel free to come hack the hell out of my game I worked so hard on" and you don't want that. And 2 it can be a little slower then just sending bytes.

I am using kryonet now on my Java multiplayer game and its phenomenal, you can take a look on my channel, its the newest videos: http://www.youtube.com/user/baseball4355

Kryonet is very easy to use and setup and takes out all of the ugly looking network code for you. Why remake the wheel if its already presented to you

Yeah I implemented KryoNet into my engine a couple of weeks ago. It's great. It's much easier to work with than Java Socket.

In Topic: Is Java Socket the best option for a real time game server?

23 November 2013 - 05:49 PM

RMI is not tuned for game needs, and would probably be a poor choice.


Java sockets with Java nio / aio support would probably perform well, although they are known to be tricky to get to work right.


I know nothing about the Java Fast Socket library.



Yeah, I used Native Java Socket originally and it worked but it was very finicky and sometimes it would refuse to connect for unknown reasons. KryoNet so far has been very good. It was a little annoying to build the jar for it and get all the build paths set up but it's so easy to use and it's very stable. It's great. I'd recommend it to anyone who needs a fast and simple Server/Client set up.

In Topic: Is this Gimbal Lock at work or do I have a real problem?

11 July 2013 - 07:58 PM


Made the changes and problem is solved. Thanks again AllEightUp.



There's a glitch at 0:36




That's most likely just encoding. When I record my desktop with ffmpeg it tends to skip a few frames every once and a while.