Archive

Archive for the ‘Tutorials’ Category

Set start_point for Panda3D useing Blender

August 30th, 2009

How to create a start point position for your maps/models useing blender and Panda3D. When I was following the Roaming Ralph sample code I was unable to recreate the world model to use the start point value. This is how to do it.

Step One:
Create a Vertex or plane, any thing, in the place where you want your start_point to be.

Step Two:
Make sure that you are in Object Mode not edit. Press F7 which will take youto the Object Panel (See Left) and change the name of the object to “start_point” (See Right)

Step2Step3

Step Three:
Export useing chiken to egg, and check to see if it worked by pressing “Shift + L”, check the command line to see if it says something like,  PandaNode start_point T:m(pos -6.71705 9.45356 5.36108)

You should now be able to get the position of the start point by doing something like this. self.environ.find(“**/start_point”).getPos()

With help from here and here. Hope this helps someone. Comments welcome ^_^

Pete Programming, Tutorials , , , ,

Ogg Theora

August 22nd, 2009

The must have information on creating free and open source video codec. This manual shows you how to playback, encode, stream and edit. all this and with out having to pay any royalty’s.

Theora Cookbook

Pete Information, Tutorials , , ,

Northen Strike 2142 Fix

May 28th, 2009

How to get Northen Strike to work.
-Fresh install of 2142
-1.25 Patch
-Nothern Strike
-1.40 Patch
-1.50 Patch

Hope this helps, it worked for me.

Pete Games, Tutorials

JScrollPane back to top

May 1st, 2009

If you want to make your JScrollPane return to the top once you have enter some text, try this:

myTextArea.setCaretPosition( 0 )

It places the curser back to zero and in turn makes the JScrollPane go back to the top.
Worked for me, hope this helps someone.

Pete Programming, Tutorials ,

How to copy a DVD

February 27th, 2009

This artical will show you how too copy a DVD. you will require a blank DVD, DVD Shrink to rip the DVD data to your hard drive and imgBurn to burn the data to a blank DVD.

Step One

Open DVD Shrink and click on “Open Disc” select the drive with the DVD in and click “ok“.

Step Two

Click on the “BackUp!” button this will open up a window like the one below.  Change the “Select backup target:” drop down list to “ISO Image File“.  Then select a place for the ISO to be created, by default it is saved in the your root of your main drive “C:/”.  Then Click “ok

steponeDVDCopy1

Step Three

Once the data has been decrypted load up imgBurn.  On the main screen click on “Write image file to disc then select the ISO that you created useing DVD Shrink.

Hope this helps, any problems comment below.

Pete Tutorials ,

Windows XP Choose User no password

February 23rd, 2009

If you only have one account on your Windows XP computer which does not have a password and it is asking you to “select” the account. It is possible to bypass this pointless selection by running this command in run (Start->Run or Windows Key and ‘R’)

control userpasswords2

Then un-check “User must enter a user name and password to use this computer”

That should solve your problem, let me know if this helps or not.

Pete Tutorials ,

Programming Variables Very Basic

September 12th, 2008

A variable is data that is stored in the computers memory. A variable can be a number (Integar, Float) or just one letter or number (Char) or it can be a string of letters or number (String) in some programming languages like Java and C/C++ you need to declare and initialize the variable, this means that you have to say what type it is and what it is called.  With some scripting languages like Python and PHP you don’t have to declare them which means that you don’t have to say what type they are you just give them an name.

How to declare and initialize in Java:

int foo;

foo = 15;

String foo1;

foo1 = “String”;

How to declare and initialize in Python:

foo = 15

foo1 = “String”

This is a very basic introduction, hope this has helped someone.

Tracking GIR!

Pete Programming, Tutorials