146 reputation
9
bio website
location United Kingdom
age
visits member for 3 years, 8 months
seen 18 hours ago

Click here to edit


Sep
29
accepted How to specify colour in a single 32 bit value
Sep
26
awarded  Commentator
Sep
26
comment Making a game engine or using Unity3D?
@doppelgreener Dead link. For now, it's here: web.archive.org/web/20140811041509/http://scientificninja.com/…
Sep
24
awarded  Autobiographer
Sep
24
comment How to specify colour in a single 32 bit value
I guess I have to have an array of ints with which to feed the colour attribute, given that were I to continue to use a float there'd be some corruption to my RGBA int. (When changing my code to take your answer into account I discovered that I had to use ABGR format within my ints (the alpha is in the 8 most significant bits). I guess this is an endian thing - i'm using the native order in my IntBuffer)
Sep
23
comment How to implement color changing fragment shader?
Not sure those first two examples can both be gl_FragColor = vec4(vec3(uv.x),1.0); ? (Not being fussy - this answer helped me too!)
Sep
23
comment What game engines support 3D graphics for 2D games
An engine is a technology, and your question involved receiving a list of them.
Sep
20
awarded  Critic
Sep
20
awarded  Teacher
Sep
19
comment How to specify colour in a single 32 bit value
@Aralox Thanks, that seems relevant. Seems that what I want would be GL_RGBA8UI. Sadly, it doesn't look like this is available on OpenGL ES 2.0 for Android: developer.android.com/reference/android/opengl/… Or am I misreading that? Should I be worried about trying to use 4 bytes instead of 16 to specify the colour of each particle?
Sep
19
revised Why is the origin in computer graphics coordinates at the top left?
fixed grammar
Sep
19
suggested suggested edit on Why is the origin in computer graphics coordinates at the top left?
Sep
19
comment How to specify colour in a single 32 bit value
@ratchetfreak Not sure what i'd do to the shader/attrib setup. What types do I use? How do I do the colour multiply?
Sep
19
asked How to specify colour in a single 32 bit value
Jul
20
comment Is there an algorithm for a pool game?
I've just knocked up my version of your code here: ideone.com/DhsAoW and I'm getting -0.707 for a positions of 110,90 and 100,100, and velocities of 0,2 and 0,-3. This is a more or less head-on collision. (Assume the initial radius-based collision detection check has already occurred).
Jul
20
comment Is there an algorithm for a pool game?
What about if dot is less than zero? I've been investigating this pseudocode (and the one you linked too, but the other one ends up with my trying to take the square of a negative number - perhaps that's the problem you identified with it). Surely you want to produce a result with every set of input positions and velocities?
Jul
11
awarded  Supporter
Jul
11
awarded  Scholar
Jul
11
accepted How to take advantage of multiple core GPUs
Jul
10
awarded  Student