Physics engine roadblock

Nov 5, 2010

I guess I should have seen this coming before (day before). After writing some bits and pieces of math and particle physics code, I realised that the visualiser application is not capable enough to test things. There is a dire need for overloaded key handling and mouse based entity editing and navigation. Also I cannot go on adding buttons for each and every functions, this calls for a JRuby interpreter on the visualiser. Need to spend some time on the gui front to get it up to the mark next.

… (Read More)

Casual programming... Physics engine from scratch

Nov 3, 2010

<div>In the vacation time, I have decided to write a physics engine of my own from scratch as a hobby project. It would be a good brain workout after regular work. At the end I would learn a few things.</div><div></div><div>I have already developed a collision detection and physics engine for mobiles in java before… it was mostly linear physics.</div><div></div><div>Primarily I would like to aim at creating a good particle physics engine at first. This would allow me to simulate a few things on 3D models like fluid flow around the objects etc…</div><div></div><div>First thing I tried to develop is a framework to experiment in… yes a 3D viewer. The viewport is 80% complete I have yet to add elegant navigation code. Screenshot is attached, doesn’t look pretty now hopefully it will later. Next would be to write a collision detection engine with basic ray intersection tests its not as difficult as it sounds.</div><div></div><div>Aim is to develop this in java so that parts of it can also be available online. Also it has been a long break of around 3 years from Java so it will be good to learn the new stuff I’ve missed. This application would have a JRuby interpreter which would allow me flexibility to write small scripts at runtime.</div><div></div><div></div>

… (Read More)

subscribe via RSS