tag:blogger.com,1999:blog-7277449027963623452.post7688724738825461030..comments2023-12-07T05:43:10.401-08:00Comments on Ray Tracey's blog: Unbiased Truck Soccer: First physics test with Bullet PhysicsSam Laperehttp://www.blogger.com/profile/05688552048697970050noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7277449027963623452.post-76280073516786429622011-03-21T02:55:29.591-07:002011-03-21T02:55:29.591-07:00Hi radiant! It would be awesome if you could make ...Hi radiant! It would be awesome if you could make another video with that GTX580 of yours! :D <br /><br />Source code for this 'game' can be found at http://code.google.com/p/tokap-the-once-known-as-pong/downloads/list. If you want I can upload the source file for the physics (coded with bullet physics library) as well, so you can mess around with it and try different settings.<br /><br />The compiler I use is Visual C++ 2008 Express Edition, which is free and can be downloaded from http://msdn.microsoft.com/en-us/express/future/bb421473. You will also need the CUDA SDK. <br /><br />Most of the code (>95%) in 'Tokap' is not written by myself, I used an open-source CUDA path tracer (tokaspt from http://code.google.com/p/tokaspt/). Kerrash has added support for dynamic objects, and I've built a game scene out of spheres. If you want to code a similar program yourself, I suggest you take a look at the free online courses on learning to program (I have recently started learning to program as well to be able to add functionality to Tokap). If you just want to make games with it, you can take a look at the source code and modify a few a parameters, write a simple time dependent function (e.g. use the parameter 'ball_y' in the file 'gl_scene.cc') to dynamically change the radius, position or color of the spheres, or change the simulation speed by changing the value of the parameter 'ball_vy' on line 368 in gl_scene.cc, recompile to see the result.<br /><br />A C or D in math will suffice ;)Sam Laperehttps://www.blogger.com/profile/05688552048697970050noreply@blogger.comtag:blogger.com,1999:blog-7277449027963623452.post-71065842934878549892011-03-20T20:18:20.534-07:002011-03-20T20:18:20.534-07:00Hello, it's radiant again.
I would love to tak...Hello, it's radiant again.<br />I would love to take another in this program.<br />Unfortunately my computer is in maintenance at the moment. So I will check back within a week.<br /><br />It's good to see this program evolve.<br /><br />A few questions.<br /><br />//Where is the source for this program<br />//What free compiler should be used<br />//And to code such a dynamic program what math skills do you need.iv gotten Cs and Ds in math, yet have a 90% understanding on the mathematical theory of path tracing then all of my math teachers here.Radiantnoreply@blogger.com