So the other day I finally got Talia to agree to letting me make chilli (she doesn't like beans). So yesterday I actually made it. While it was simmering away I was thinking that a nice loaf of bread would go excellently with it.... and a bowl made of bread would be even better. So off I went to make some bread bowls for my chilli.
Long story short, I made bread bowls. My parents dropped by briefly last night and my dad hadn't eaten in a while so I offered him some chilli.
I wanted to make sure the bowls were small enough to fit in the glass containers we take lunch into so I made them 1/8th the size of the normal load of bread which turned out to be a little small. For a proper meal you really do need 2 bowls. Next time I will make them twice the size and that should turn out very nice :)
~(' ')~
Monday, 30 January 2012
Tuesday, 24 January 2012
Lanterns
So this past xmas Talia gave me a really cool book on Japanese style lanterns and how to make them out of wood. We used the book to make a fairly large lantern for her parents and since then we have tried to make another one that is a little smaller. The design is almost identical but instead of standing 30 inches it is only 18 inches.
Its not 100% complete. We still have to put the paper in and get a bulb for it and glue all the pieces together but that should take too long.
Its not 100% complete. We still have to put the paper in and get a bulb for it and glue all the pieces together but that should take too long.
Saturday, 21 January 2012
window farm
So I came across this webpage that talked about making window based farming. I was actually looking for how to grow my own lettuce and I found it (http://our.windowfarms.org/). So over the past couple weeks I have been collecting some bottles that I need in order to make it. Today i finally had 3 bottles so I decided to go ahead and start making it :)
When it is finished it will sit in this thin but tall window we have in the apartment
So the first thing to do was to cut a whole in the bottoms of each of the bottles, and let me tell you this was no easy feat. I first tried to use just an exacto knife but it turns out that the bottom of the bottle is insanely thick. When that failed Talia suggested I use use her dremil. Unfortunately that didnt work either and I ended up melting the plastic as I cut it. So then I tried her tin snips that Talia uses to cut her corset bones That finally worked so i managed to get all 3 bottles cut. I was trying something odd in the last bottle where I thought that instead of cutting a whole in the top I would put it in the side and tilt the bottles side to side to get them to connect. I'm not sure how it will work but when i get another bottle I will try in out.
then I cut a whole in the side to slide the plant pot into the bottle
and finally I had to cover the bottom of the bottle in duct tape so the roots dont start photosynthesis and sprout leaves
I'm not done yet. I still have to figure out how exactly i am going to attach the bottles to the window. The instructions want me to attach them to a bar but the window is too big for any of the poles I could find.
~(' ')~
When it is finished it will sit in this thin but tall window we have in the apartment
So the first thing to do was to cut a whole in the bottoms of each of the bottles, and let me tell you this was no easy feat. I first tried to use just an exacto knife but it turns out that the bottom of the bottle is insanely thick. When that failed Talia suggested I use use her dremil. Unfortunately that didnt work either and I ended up melting the plastic as I cut it. So then I tried her tin snips that Talia uses to cut her corset bones That finally worked so i managed to get all 3 bottles cut. I was trying something odd in the last bottle where I thought that instead of cutting a whole in the top I would put it in the side and tilt the bottles side to side to get them to connect. I'm not sure how it will work but when i get another bottle I will try in out.
then I cut a whole in the side to slide the plant pot into the bottle
and finally I had to cover the bottom of the bottle in duct tape so the roots dont start photosynthesis and sprout leaves
I'm not done yet. I still have to figure out how exactly i am going to attach the bottles to the window. The instructions want me to attach them to a bar but the window is too big for any of the poles I could find.
~(' ')~
news
Not really a creative post, just an update. Yesterday proved to be the last straw which my PhD so I decided to withdraw. Anyone that knows me knows that this has been brewing for a while as tension between my supervisor and I grew.
So I find myself looking for work. Hopefully I will find a great programming job but in the mean time I am going through the resume/interview books that friends have given me.
The side effect is that I may or may not have time to do more stuff. I am still working on my graphics programming but I also received a new guitar book that I ordered around new years :) Its called Rise up singing (http://www.singout.org/rus.html) and I have used it before (borrowed from a friend) so I finally decided to get a copy of my own. I paid the extra $5 to get the jumbo size version
~(' ')~
So I find myself looking for work. Hopefully I will find a great programming job but in the mean time I am going through the resume/interview books that friends have given me.
The side effect is that I may or may not have time to do more stuff. I am still working on my graphics programming but I also received a new guitar book that I ordered around new years :) Its called Rise up singing (http://www.singout.org/rus.html) and I have used it before (borrowed from a friend) so I finally decided to get a copy of my own. I paid the extra $5 to get the jumbo size version
~(' ')~
Thursday, 12 January 2012
Steps to program c++, openGL, eclipse, minGW, freeglut, Glew
step 1: download the windows GNU compiler minGW and install
step 2: add minGW to path -> right click my computer and go to properties, select advanced settings, then environment variables. under system variables find Path and edit it. add a ; and then the path to the bin folder where you installed minGW. mine went into C:\MinGW\bin
step 3: download the source code for freeglut and compile using minGW. Open a command prompt and go to the src directory of freeglut. use the following commands for 64 bit to get the shared library (dll)
gcc -O2 -c -DFREEGLUT_EXPORTS *.c -I../include
gcc -shared -o freeglut64.dll *.o -Wl,--enable-stdcall-fixup,--out-implib,libfreeglut64.a -lopengl32 -lglu32 -lgdi32 -lwinmm
and for the static library
gcc -O2 -c -DFREEGLUT_STATIC *.c -I../include
ar rcs libfreeglut64_static.a *.o
for 32 bit systems go to http://pinyotae.blogspot.com/2010/05/build-freeglut-with-mingw.html for the commands
step 3: copy freeglut.dll into C:\Windows\SysWOW64 (or C:\Windows\System32 for 32 bit systems)
step 4: Copy the contents of the include\GL from the freeglut directory into the MinGW\include\GL directory
step 5: copy libfreeglut64_static.a and libfreeglut64.a into the minGW\lib directory.
step 6: download and extract eclipse. When i tried to get the 64 bit version of eclipse it crashed so I tried the 32 bit and that worked
step 7: to make a new project in eclipse (taken from http://tjwallas.weebly.com/5/post/2010/11/opengl-development-on-windows-7-freeglut-eclipse-gnu-cc-compiler-mingw-ftw.html)
Uncheck "Show project type and toolchains ...."
step 2: add minGW to path -> right click my computer and go to properties, select advanced settings, then environment variables. under system variables find Path and edit it. add a ; and then the path to the bin folder where you installed minGW. mine went into C:\MinGW\bin
step 3: download the source code for freeglut and compile using minGW. Open a command prompt and go to the src directory of freeglut. use the following commands for 64 bit to get the shared library (dll)
gcc -O2 -c -DFREEGLUT_EXPORTS *.c -I../include
gcc -shared -o freeglut64.dll *.o -Wl,--enable-stdcall-fixup,--out-implib,libfreeglut64.a -lopengl32 -lglu32 -lgdi32 -lwinmm
and for the static library
gcc -O2 -c -DFREEGLUT_STATIC *.c -I../include
ar rcs libfreeglut64_static.a *.o
for 32 bit systems go to http://pinyotae.blogspot.com/2010/05/build-freeglut-with-mingw.html for the commands
step 3: copy freeglut.dll into C:\Windows\SysWOW64 (or C:\Windows\System32 for 32 bit systems)
step 4: Copy the contents of the include\GL from the freeglut directory into the MinGW\include\GL directory
step 5: copy libfreeglut64_static.a and libfreeglut64.a into the minGW\lib directory.
step 6: download and extract eclipse. When i tried to get the 64 bit version of eclipse it crashed so I tried the 32 bit and that worked
step 7: to make a new project in eclipse (taken from http://tjwallas.weebly.com/5/post/2010/11/opengl-development-on-windows-7-freeglut-eclipse-gnu-cc-compiler-mingw-ftw.html)
Uncheck "Show project type and toolchains ...."
4. Make sure MinGW GCC is selected from the list of toolchains on the right.
5. Enter a name for your project and then click finish.
5. Enter a name for your project and then click finish.
6. Right click your project main folder from the project explorer and click properties.
7. From the left menu expand C/C++ build and click settings.
8. From the submenu that appears Click Libraries, which is found under MinGW C++ linker add the following libraries using the tiny add button at the top-right: "glu32" , "opengl32" , "freeglut" (Without the quotes). Then finally, click ok.
7. From the left menu expand C/C++ build and click settings.
8. From the submenu that appears Click Libraries, which is found under MinGW C++ linker add the following libraries using the tiny add button at the top-right: "glu32" , "opengl32" , "freeglut" (Without the quotes). Then finally, click ok.
I also added glew32 as well. also, as I am using freeglut64 i add freeglut64 instead of just freeglut
Step 8: To get Glew set up... glew is only compiled for visual studio so you have to download the source code (http://glew.sourceforge.net/) and compile it using minGW (http://stackoverflow.com/questions/6005076/building-glew-on-with-mingw)
gcc -DGLEW_NO_GLU -O2 -Wall -W -Iinclude -DGLEW_BUILD -o src/glew.o -c src/glew.c
gcc -shared -Wl,-soname,libglew32.dll -Wl,--out-implib,lib/libglew32.dll.a -o lib/glew32.dll src/glew.o -L/mingw/lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
# Create library file: lib/libglew32.dll.a
ar cr lib/libglew32.a src/glew.o
gcc -DGLEW_NO_GLU -DGLEW_MX -O2 -Wall -W -Iinclude -DGLEW_BUILD -o src/glew.mx.o -c src/glew.c
gcc -shared -Wl,-soname,libglew32mx.dll -Wl,--out-implib,lib/libglew32mx.dll.a -o lib/glew32mx.dll src/glew.mx.o -L/mingw/lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
# Create library file: lib/libglew32mx.dll.a
ar cr lib/libglew32mx.a src/glew.mx.o
# Make the glew visualinfo program. Skip this if you want just the lib
gcc -c -O2 -Wall -W -Iinclude -o src/glewinfo.o src/glewinfo.c
gcc -O2 -Wall -W -Iinclude -o bin/glewinfo.exe src/glewinfo.o -Llib -lglew32 -L/mingw/lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32
gcc -c -O2 -Wall -W -Iinclude -o src/visualinfo.o src/visualinfo.c
gcc -O2 -Wall -W -Iinclude -o bin/visualinfo.exe src/visualinfo.o -Llib -lglew32 -L/mingw/lib -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32Finally you have to copy the Glew include/GL files into the minGW/include/GL directory
copy the glew lib */.dll files into the C:\windows\SysWOW64 directory
copy the other files in the lib directory (*.a files) to the minGW/lib directory
i hope that is it...
test code was downloaded from http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/
Subscribe to:
Comments (Atom)









