Load Mesh from External File and Operation on It
What I did in this project is quite simple but a little out of the track. In this project I have all those regular graphical tasks like rotation, lightning, projection etc. But the main thing I did is to build a communication between DirectX, the platform I’ve used, and other graphics libraries and 3D modeling software.
This is a well discussed and pretty advanced way of DirectX. I’ve just studied on it and found some way to implement. Nothing new I’ve proposed here, but learned a lot.
I’ve worked on popular DirectX file format – .x and rendered the graphics information from .x to the screen.
I’ve used Microsoft Visual C# as programming language. Read the rest of this entry »
ঘুমকুমার
ঘুমের জন্য অপেক্ষা…
ঘুম পাড়ানী মাসি পিসি
মোদের বাড়ি এসো,
খাট নাই পালঙ্ক নাই,
চোখ পেতে বসো। Read the rest of this entry »
File upload/download on MySQL database
Well… It is already a well discussed topic. But when I was first trying to find out how to do this, I really got stuck. Actully it took me a lot of time to find out the key code segment for the purpose.
So, here is what I’ve learned:
The table:
Suppose the structure of the MySQL table (say ‘file_table‘) is like this:
It has three fileds:
id : the primary key, integer type with auto increment feature.content: the content of file, blob type.type: varchar type, the type of the file (e.g. doc, pdf etc.).
Upload:
I think you can create a HTML form with a input with file type. Its pretty simple. Just use this code to make a input field be able to upload file:
<input id="file_upload" name="file_upload" type="file" />
Now the backend coding. I’m using PHP for this. Read the rest of this entry »










