3D-Pic
Posted: Mon 11 Jun 2012, 21:08
This is a small commandlineprogram written in C using the GDK library.
If you have a 3D Television or Monitor like the LG Cinema 3D models, this might be nice for you.
You can use your webcam with a program like "ucview" (search forum) to create a foto.
Then slide the webcam some cm aside, and take another foto.
So you usually now have something like
/root/Image_00000.jpg
/root/Image_00001.jpg
To convert them to a 3D Foto, type in a consolewindow:
The resulting "out.jpg" has merged both in one file, side by side, scaled down to the half width.
As the program is jus a quick hack, it has no further options.
The resulting picture has HDTV resolution (1920x1080).The Jpeg Quality is 100, to avoid loosing quality.
To view the picture in 3D, use your favorite Pictureviewer like gqview, press "f" to see it fullscreen.
Then on LG Monitors, press the "3D" button on the remote control, and use the 3D-Mode "2 pictures side by side".
Enjoy!
I attach a test jpeg I just created.
More fotos will be added here:
http://noforum.de/pics/3dpics/
Note: the program was compiled in Fluppy 013.
If it does not work on other puppys, you can recompile it like this:
This requires to have a "devx" development SFS for your Puppy installed.
Mark
If you have a 3D Television or Monitor like the LG Cinema 3D models, this might be nice for you.
You can use your webcam with a program like "ucview" (search forum) to create a foto.
Then slide the webcam some cm aside, and take another foto.
So you usually now have something like
/root/Image_00000.jpg
/root/Image_00001.jpg
To convert them to a 3D Foto, type in a consolewindow:
Code: Select all
cd /root
3dpic Image_00000.jpg Image_00001.jpg out.jpg
As the program is jus a quick hack, it has no further options.
The resulting picture has HDTV resolution (1920x1080).The Jpeg Quality is 100, to avoid loosing quality.
To view the picture in 3D, use your favorite Pictureviewer like gqview, press "f" to see it fullscreen.
Then on LG Monitors, press the "3D" button on the remote control, and use the 3D-Mode "2 pictures side by side".
Enjoy!
I attach a test jpeg I just created.
More fotos will be added here:
http://noforum.de/pics/3dpics/
Note: the program was compiled in Fluppy 013.
If it does not work on other puppys, you can recompile it like this:
Code: Select all
cd /usr/local/3dpic/source
./install
Mark