Comments on: Particles in BGE Update: Collisions http://enja.org/2010/08/06/particles-in-bge-update-collisions/ casin' the joint since '85 Thu, 03 Mar 2016 20:39:33 +0000 hourly 1 https://wordpress.org/?v=4.4.5 By: Adventures in OpenCL Part 2: Particles with OpenGL | enj http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-258 Sat, 28 Aug 2010 02:04:41 +0000 http://enja.org/?p=272#comment-258 […] enj casin' the joint since '85 Skip to content HomeAboutEnjaPenEnjShape ← Particles in BGE Update: Collisions […]

]]>
By: enj http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-253 Thu, 26 Aug 2010 18:40:24 +0000 http://enja.org/?p=272#comment-253 @alex looking forward to seeing what you guys are doing! hopefully Blender comes into play :)

@Phil at the moment we need to test more on ATI hardware (our lab is all NVIDIA’s at the moment). I do have at least one friend with an ATI card but would appreciate any help on that front.

]]>
By: Phil http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-252 Thu, 26 Aug 2010 08:45:49 +0000 http://enja.org/?p=272#comment-252 How well does your code scale on Ati Equipment?

Again very impressed with what you are doing with OpenCL. I am looking forward to your new updates.

]]>
By: Alex Fraser http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-251 Thu, 26 Aug 2010 07:45:03 +0000 http://enja.org/?p=272#comment-251 This is really exciting stuff. We are exploring this area at work at the moment, and it would be great to be able to use Blender. I hope there will be room in my project for collaborating with you.

]]>
By: enj http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-250 Wed, 25 Aug 2010 22:46:54 +0000 http://enja.org/?p=272#comment-250 Lukas,
Your work is very impressive! I’d be happy to help if I can, and I hope our projects can converge, OpenCL should be able to speed up many things in Blender :)

About my previous kd-tree statement and spatial hashing, there are a few relevant papers anyone interested could check out:

Popov et al. Stackless kd-tree traversal for high performance GPU ray tracing. Computer Graphics Forum (2007) vol. 26 (3) pp. 415-424

Rozen et al. GPU bucket sort algorithm with applications to nearest-neighbour search. Journal of the 16th Int. Conf. in Central Europe on Computer Graphics, Visualization and Computer Vision (February 2008)

]]>
By: Lukas Tönne http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-248 Wed, 25 Aug 2010 14:04:04 +0000 http://enja.org/?p=272#comment-248 Hi Ian!

This is great work! I have just “discovered” OpenCL and i am totally excited about the idea of using it in combination with the simulation nodes :D
Atm the these node trees are using “classic” multithreading on the CPU and an ad-hoc batch processing model: data from the scene (currently only vertex positions and some basic particle attributes) is copied into fixed-size batches, which are then processed per node by available worker threads. It is already very efficient as far as one can tell from the simple arithmetic nodes i made so far, but i’d gladly replace this with OpenCL for increased efficiency and better parallel design.

Currently i’m further improving the node interface capabilities to combine them with the RNA, so that basically all the properties in Blenders API can be used inside the node trees with a generic GetData/SetData node. When this works i’ll start digging deeper into OpenCL (your tutorials are awesome!) Any help would of course be appreciated, maybe we can actually join forces some day?!

Cheers
Lukas

PS: i love the turtle ;)

]]>
By: enj http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-247 Fri, 20 Aug 2010 18:06:09 +0000 http://enja.org/?p=272#comment-247 Martin,

I still have a lot to learn! I do hope we can see more OCL adoption in Blender as time goes on.

As for the collisions, yes that is right, only the bounding boxes are checked against until one is hit, then it checks against the triangles inside. I have a lot more reading to do on that subject, apparently you can do some cool stuff with spatial hashing (but things like kd-trees don’t port well to the GPU)

]]>
By: Martin Lindelöf http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-242 Sun, 15 Aug 2010 23:18:41 +0000 http://enja.org/?p=272#comment-242 In my dreams after Ian has done his thesis, and gets to become ocl multicore computing master ! he helps other blender devs speed up their part of the code that takes a lot of computing.

I mean we have Nicholas doing bullet physic integration, and next version of it. 3.X will have OCL acceleration. so for the viewport speed ups we might get it for free. :)

anyways, you mentioned Gordon the advisor, helping you speed the collisions when using custom shapes (ie. not bounding boxes) using triangular meshes. But doing the speed up by somehow using the bounding boxes, is that like … using the bounding boxes as calculations , until the particle that’s gonna hit it, enters the objects bounding box then it switches over and goes through the triangles to find the collision point?.

anyways 5x speedups sounds awesome!

]]>
By: Georg http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-225 Sat, 07 Aug 2010 10:54:54 +0000 http://enja.org/?p=272#comment-225 Thanks for sharing this development vids and a little of the technical insight. Keep going.

]]>
By: Bo http://enja.org/2010/08/06/particles-in-bge-update-collisions/comment-page-1/#comment-221 Sat, 07 Aug 2010 09:45:43 +0000 http://enja.org/?p=272#comment-221 Wow that’s amazing ! thanks so much for your efforts .. I was wondering is your work also applicable for the regular viewport ? or just the game engine ? And if not, any plans for it ?

]]>