FreeCAD – Another nice FOSS

The world of FOSS is really exciting, once you start exploring, everyday you find a new thing. The good part is you feel complete freedom with no boundaries. In last few years I not just tried but also adopted many free open source software in my work like Libre Office, Gimp, Inkscape and many more.

Recently I started building my house and was thinking to go with a planned approach. There were two choices in front of me; one that I should go to some architect and second that let’s do it by my own. And I decided to go by second option.

Few months ago while I was exploring about free CAD softwares, I found FreeCAD. I liked it but thinking to use it somewhere, and this was an opportunity for me to try it for a purpose.

I was completely new to this kind of work but I have enjoyed it so far, and still exploring. I started with some YouTube videos as this is the most convenient way to learn basics. I explored workbenches and documentation. The two workbenches I explored the most are Sketcher and Arch. It reminded my academic days when I used to draw such thing using drafter on drawing sheets.

Below is what came out as a first draft of the project I took to build.Screen Shot 2018-02-14 at 10.11.36 PM

I am yet not done, still working on this. It makes me really feel nice that I could be able to get here in just few days.

In last I would like to thanks to the FeeCAD community. This is really a valuable contribution to FOSS word. For those who just want to get started in CAD I believe this is a really nice platform.

 

Advertisements

BulletPhysics(Physics Engine) Android Port – Demo App using OpenGL

In my last post I discussed about the BulletPhysics port on android. Now in this post I am going to elaborate how to use it with OpenGL graphics to visualize the the BulletPhysics. In my last post I ported BulletPhysics the using NDK build system for Android. This time I have extended that port to bind the graphics with that. I wrote the drawing logic of the object in OpenGL. I have created a very simple scene in which four balls fall and moves according to the physics laws. The transformation in the balls positions and orientations is handled by the bullet.


Hope you would find this interesting. For more detailed documentation you can refer http://bulletphysics.org/ for Bullet and http://opengl.org/for OpenGL.

Checkout code: https://github.com/manoj-chauhan/AndroBullet

BulletPhysics(Physics Engine) Android Port – Hello World

Technological advancements in mobile computing have affected our life and business as well. Now we expect from our mobile devices(phones, tablets) high quality communication, entertainment, education, gaming and much more.
These days technological advancements have made our mobile device much powerful that the desktop computer we were using 10 years back. Now we have more processing power, graphics processing power, much higher capacity RAM’s in our devices which has opened avenues for the high end computing on our small handheld devices. In this gaming comes very first. Every gamer needs the best in terms of quality and technology. Simulation for the real world is always more catchy and interesting in gaming. I am talking about 3D world simulation. If it is added by the physics simulation in 3D it adds value and interest in the game for gamer. In this article I am going to talk about 3D physics simulation only.

It is always been a hard part to implement the physics laws in the game logic. And to overcome this problem and to get it done easily we have BulletPhysics physics engine. There are so many physics engines available in market most of them are not for mobile platform or propitiatory. The best part of the BulletPhysics is, it is free and open source community project. Enthusiasts and professional developer can use it to add physics to their games.

When someone decides to use this on any mobile platform, the biggest hurdle comes in the way is porting the engine to that platform. As we all know Android is gaining huge acceptance in the market and has a big slice of market pie. I decided to port BulletPhysics to Android. You can download the HelloWord of BulletPhyics ported on android. Right now it doesn’t have the GUI but soon in my next post I would post demos on this. You can download and run this by just importing it to you eclipse IDE. The source you can download from the link mentioned below. The output would come on logcat.

Hope you would find this interesting and for more detailed documentation you can refer the http://bulletphysics.org/.

Checkout code: https://github.com/manoj-chauhan/AndroBullet