Thursday, February 25, 2010

UDK Unreal Development Kit

20 Hours of Free Training Videos For UDK:

Unity 3D Shader Examples:

Unity provides a language called "ShaderLab" which is similar to Nvidia's CgFX. You can use this to write custom shaders including vertex & fragment programs.
Read more about it in the Unity reference manual here:
A good way to start off is to have a look at the source code for Unity's built-in shaders, which you can download here:
Or check out the custom shaders that people have put up on the Unity Wiki, here:

More Shader Coding Info:

Some More Info On GLSL Shader Development On Unity:

Monday, February 15, 2010

Getting Bullet 2.75 Source To Work Ubuntu 9.10 / 9.04

I forgot about this step that I had down at the beginning of the quarter. Basically you need to add your director that bullet resides in to your file so that the other programs can find the libraries built for bullet when you compile the source. The make install does not install the libraries like most other programs you compile but rather they are located in the orginal bullet source folder that you unzip after you are finished compiling. At the time of this writing Multi-Threaded bullet only works for 32 bit. This is also true of PhysX which is the leading Physics Engine. They are also working on real time fluids for bullet as we speak along with 64 bit multi-threading. So you need to compile bullet with 32 bit Ubuntu for now.

bring up the terminal and type
sudo /usr/bin/gedit

Now go to File->Open and select the folder /etc and then select the file now open the file. Copy and paste the location of your bullet folder that you compiled on the line below the last line in the file. Now click the save button and close gedit. At the terminal now type:

sudo ldconfig

now test your programs and see if they run in the /usr/local/bin. The three programs of interest here are:

Sunday, February 14, 2010

Easy Open Scene Graph Setup In Ubuntu 9.04

Easy Open Scene Graph Setup In Ubuntu 9.04:

Basically all you have to type into the terminal is
sudo apt-get build-dep openscenegraph

Before I typed this command I installed the libtiff4-dev in the synaptic package manager. The command above did all the rest.

Then I just downloaded the source code for Open Scene Graph 2.8.2 and compiled it as normal with the ./configure ; make; sudo make install

Then I went back and did the CMake turned on demos and apps and did the make; sudo make install

then I used the terminal and typed sudo /usr/bin/gedit which launches a graphical text editor with root access permissions. I then open up a text file by going to File->Open and navigate to /etc and select Then I add the line /usr/local/lib and if I am 64 bit I add another line after that /usr/local/lib64. Then I save the file. I then open up another terminal and type sudo ldconfig which will then update the libraries install in linux.

Now I go into the folder with Open Scene Graph Data 2.8.0 and type osgviewer cow.osg If you see the cow it works. :) ;)

Friday, February 12, 2010

Ubuntu 9.10 Hangs On Boot

Ok so this is how you get past the Ubuntu 9.10 if hangs on boot:

ok so you go into the rescue or recovery version of that kernel
its the 2nd one with the same number as the one above
it will go through a bunch of things and work and then pop up with a message of choices
then you choose
then it will kick you out to a prompt where you put in your
user name and then hit enter
and then you put in your password even though it does not look like you are entering in anything at the prompt don't worry you are
then type startx
when you go to shutdown it will kick you back to the prompt again
and you will have to do a sudo shutdown -h now

This only happens in Ubuntu 9.10 and never in any of the other versions of Ubuntu. I don't know what to say. 9.10 is the buggest version of Ubuntu hands down by a long shot of any other version of Ubuntu I have ever used. I could not even find bugs on the previous versions. But 9.10 its just like there are constantly bugs with it non stop.

Tuesday, February 9, 2010

Recovering Ubuntu Boot 9.10

Getting Boot Menu Partition Back On Your Drive: Ubuntu 9.10

Recovering Ubuntu Boot 9.10:

Grub 2.0 In Depth:

Data Recovery And Forensics Tools:

Wubi.exe Linux Boot Loader Fix:

For Wubi.exe

Cannot boot into Ubuntu

Ubuntu cannot be booted if Windows has not been shut down cleanly, you have to clear the Windows filesystem from Windows (there is no chkdsk equivalent for Linux yet). If Wubi fails to start, boot into Windows, run chkdsk /r from Windows on the same drive where you have installed Ubuntu, shutdown cleanly and then try to boot into Ubuntu again.

Note that sometimes files are moved by Windows into a hidden folder called c:\found.000. You need to have c:\ubuntu\disks\root.disk and c:\ubuntu\disks\boot. If you do not see those, look for found.000. You need to change the Windows Explorer settings to be able to see hidden folders first, then move the files from found.000 to their original location.

Make sure you did not install on a RAID array or in an encrypted disk. Also make sure you did not install using an Alternate or DVD ISO.

Linear Combinations From Linear Algebra

Easy To Understand Well Explained:
Not Easy To Understand Not Well Explained Written In Math Language. Has Some Good Examples Though:

Friday, February 5, 2010

Awesome Tool Setting Up Linux For USB Drives, ISOs You Name it

Awesome Tool Found By Mr Morely Setting Up Linux For USB Drives, ISOs You Name it:

Tuesday, February 2, 2010