Developing Your Own Chat Box

Reading Time: 2 minutes

In this modern  world of internet , reaching to your loved one is just a click away.In the olden days what took least two days to convey  your message takes now just two sec.. So is there something  special about this electronic postmaster..?? Yeah  it’s speed  is almost close to light , it has its own organized codes and at last it saves paper thereby is eco friendly!!!!

You must be wondering there must be a web of codes  in chat application , but surprisingly it’s is not that complicated. With a just few line of codes you can dive in your own chat room.

To make you believe that let me take a example for you , I use a PYTHON language to make a simple chat room.

Python is similar  to  other languages that we use , but with some ups and down!! This is a sample code for your first chat server

*Import socket //  header file

*a=socket.socket(socket.AF_INET, // socket.SOCK_STREAM)

*a.bind(“0.0.0.0” ,8000) // bind the socket to all IP use  port 8000

*a.listen(2) //allow 2 user at a time

*(Client ,(ip ,port))=a.accept() // ready to chat and return ip and port no. of connected message

*client.send(“hi”)  // sending message

The above 6 line of code can make a simple chat server. AF_INET and SOCK_STREAM are the protocol which internet uses. Google some of these things to  have in depth knowledge. After “accept” command it will wait for the machine to connect. For connection – open your terminal window and type  netcat  “ip address of the machine” 8000. It will get connected!!!

 

If you have a doubt leave comment and next time let’s see you in your own chat room .. See you there 😛  

Creating your own ANIMATIONS

Reading Time: 2 minutes

Have you ever dreamt how Optimus Prime from TRANSFORMERS look so realistic , how the animation of PIXAR  is  so  pragmatic ?

Why these HOLLYWOOD people manage to produce such a high quality graphics for their work? Is there something magical with them, perhaps yes, they have with them the best team of computer artistic with their powerful software.

AUTODESK 3DS MAX is one of the software which is widely used in film industries. It is one of the most powerful tools which could transform your creative ideas into your movie screen and animations. Even if you are not a good programmer you can smoothly start with 3ds max to run you creative ideas.

To start with 3ds max you have to create a basic  3d structure for your  object , this process is known as MODELING , there are various (plane box) modeling technique provided by  3DS  to convert  your simple 2D image into 3D model . For this you need to have top view, side view, front view of the model (I know its scaring 1st Yr Engg. Drawing again .. phew..!!)

After creating your basic 3D structure, you apply  rigging to your object , which means to define  your object movements and  prepare your object for animation and finally apply animation to it. There are many steps involved in this process before you get you final output which involves adding UV to your object, rendering your scenes ,enveloping your geometry, inverse  kinetics   and there are much more to explore as you become familiar with 3DS MAX.

There are various tools and technique available in 3DS MAX which provide you the above process. When you start using 3DS MAX you will explore more about  tools and technique

The software itself costs around $3800/yr. But not to worry!!! Where there is will there is a way!!! AUTODESK STUDENT provides free software  to students with 3 year license.

And Digital Tutors is one of the best place to learn make stunning movies, games…

Log on to http://www.digitaltutors.com/tutorial/1154-Introduction-to-3ds-Max-2014 for more info

So just go download your 3DS MAX, start watching the tutorials & let you imagination come out into your’s  laptop screens.

 

 

 

 

CEV - Handout