Skip to content

u/flexd

In this archive from Dec 2010 to Feb 2017

1
posts
80
comments
0
media
282
score

Top posts

Problems getting hardware accelerated video decoding to work on my NUC5i5RYH running Debian Jessie

Hi. I have been having some issues getting hardware accelerated video decoding to work on my Intel NUC5i5RYH, running Debian Jessie. Jessie comes with a 3.16.0-4 kernel, linux-image-3.16.0-4-amd64, but all my searching on the internet with this issue tells me maybe I need a newer kernel, because the...

2 points7 comments
Open on Reddit

Top comments

I would recommend you attend a college/uni to get both the experience and knowledge to actually make games.

I would also very very much recommend you to not do a specific game development education and rather do something more generalized.

33 points

Good news everyone!

http://assets.cognitive.io/sss64.png

I fixed my strange performance problem, yay!

Haven't had time to work on anything else, like the poor (and bugged) vertex lighting.

I kind of want to switch to per-pixel point light.

Here's a video showing some cubes.

http://assets.cognitive.io/sss64video.swf

Edit again!

Fixed the problem, it was down to some stupid multiplication instead of addition in the shader :)

http://assets.cognitive.io/lighting.swf

11 points

Boxely voxely opengl experiments

I've been diving into 3D head first since last week:

http://assets.cognitive.io/lighting.png

http://assets.cognitive.io/lights.swf

There is also some strange lighting bug going on there, someone suggested an underflow but I haven't had time to check it out yet.

It's going fairly well I guess, that scene is being rendered with a glDrawArrays() call per cube, which is not good.

Working on writing a Chunk-based renderer with a vbo for each chunk.

That is going semi-well, got it rendering last night, but I think all the chunks ended up onto of each other :D

Chunk rendering kind of working now http://assets.cognitive.io/woo-1.swf

10 points

My little engine and opengl experiment is written in Java using LWJGL!

A bit of major updating since last week: I now use a interleaved vbo and shaders to draw things!

In 2D (as last time), that looks like this:

http://assets.cognitive.io/2d.png

The strange dot/blemish thing in the top left is supposed to be a text with FPS, I do not understand what's wrong yet.

But that's okay, because I started playing with 3D!

I got a full 6DOF 3D-space camera class working, as well as implementing the same rendering queue system! That works okay, but it's a bit inconvenient and it uses GL_QUADS instead of triangles.

It looked like this though: ( Small movie here )

http://assets.cognitive.io/quads.swf

I know there's a triangle missing, not sure why.

I tried adding a texture too, with mixed results:

http://assets.cognitive.io/3dtexture.png

Decided yet again to refactor, to setup the matrices and everything and do EVERYTHING in the shader (for matrix calculations).

That is uh, progressing: I have no errors at the moment but this is my output:

EDIT

SUCCEESS!

http://assets.cognitive.io/cubesuccess.png

http://assets.cognitive.io/cubesuccessvid.swf

IT WORKS, YES, YES, YES! 48 hours and I finally fixed it :)

Celebratory beer and pancakes being consumed as I write this. :)

The sourcecode is as always available here:

http://github.com/flexd/Game

10 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.