the so complete pouët.net oneliner
- 2011-04-02
-
Apple: "Maybe it’s time to move on from the Commodore 64 software…" http://forkbombr.net/apples-bertrand-serlet-x11-excluded-in-lion/ -
Het is een worst kaas scenario. -
Captain: het worst kaas tastes so damn good! -
3hours of Demoscene 2008 prods: http://www.dragontape.com/v/3002002-best_of_demoscene_2008 -
Captain: I'm insane. -
Captain: I'm immense. -
PANTS OFF!! -
MENSA OFF!! -
Say, I have an array of ~250000 3d vertices and a 4x4 matrix that I'd like to apply to them. Is there any great way of off-loading this to the GPU in a few simple calls in C? -
yep. -
Elaborate! -
rtfm -
http://www.youtube.com/watch?v=QgKmqJRUqMo -
hitchkr, Decipher: What would be a good place to start out? I could always put stream the data into the GPU with texture, VBO, or whatever, and then render an (size x 1) texture with a minimal shader, and then read that back into main memory. But is there something smarter/shorter? -
second reality -
Lord Graga: Google OpenCL. -
Or dont, its a iScam -
Captain: So, what do distance field equations look like? And how do we solve them? -
graga - 250k isn't really enough to start offloading to gpu. But yea, stuff them into a float-texture and run a pixelshader. smash-style. -
just use a simple vertex shader with the matrix as uniform input and use transform feedback varyings to get the result. you can even disable rasterizing. -
Captain: I'm in (Black) Mesa -
The cake is a lie. -
The Enrichment Centre reminds you that the Weighted Companion Cube will never threaten to stab you, and, in fact, cannot speak. -
hornet: Yeah, I see, after timing it the bottle neck really is my nearest-neighboor search, so maybe I should offload that to the GPU instead. -
captain: great Scott !
