Toribash
Original Post
[APP] Toribash Head Preview
Here is a program I have written for Toribash. It allows you to preview a head texture so that you can make one easier.

Just install into the Toribash folder, the installer will do the rest!

Instructions for use are in the ReadMe.

Please post here if you have any problems with the program or if you want any features adding.

I have only tested this on Windows XP.

Enjoy.

In case you are wondering how cool this really is... my new head (look at my avatar) was created with the help of THP and that picture was taken in THP.

Originally Posted by Update
THP was built for toribash 2.0. Some stuff has changed since then.
If you want to use it, just drag your head texture .tga onto the icon for GLFrame.exe.

Last edited by siku; May 10, 2009 at 11:36 PM.
I has a flavour
Re: Toribash Head Preview
Very very very very COOL! That's awesome! keep up the great work!
Can I have the source?
don't unban, he has hard coded userid bypasses everywhere.
Re: Toribash Head Preview
Since veb posted a link to JFK Reloaded, here are the sources for all the components of THP.
I promise nothing as to the quality of my coding! I am a PHP programmer, not C++
  • GLFrame was compiled in Microsoft Visual C++ .NET (2002)
  • Loader was compiled in RapidQ
  • The installer was done with NSIS

You will require SDL 1.2.11.0 or higher.
You will require Microsoft Visual C++ 7.0 Runtime.
(both the obove files are included with the compiled binary)

The code is copyright to me and I am releasing it under the pretence that it is just for learning. This code is not to be used in whole or part to produce another program, there are much better sources for the code elsewhere (try NeHe).

[edit]I may go over the code sometime and make it better. That way I would be more happy to release it under the GPL or something[/edit]

enjoy.
Attached Files
THP_source.zip (30.8 KB, 888 views)
I has a flavour
Re: Toribash Head Preview
Niceness!

I promise nothing as to the quality of my coding! I am a PHP programmer, not C++

// Blah Blah Blah, Blah

Well, you do a better job'n me at commenting your code
Re: Toribash Head Preview
cheers
don't unban, he has hard coded userid bypasses everywhere.
Re: Toribash Head Preview
Do remember to read the readme!

The basic functions are:

F1 - show grid so you know where the face is supposed to point.
F2 - Turn lighting on/off
F3 - Change background colour.

This way you can make sure that your head will face the right direction. Also, remember that Toribash will not load everything that THP will load. The next version will warn you if Toribash will not load it.
I has a flavour
Toribash Head Template Texture
Here is a template texture for those struggling to create a head.

The red X is the front of the face
The light green lines mark the main axis
The dark green lines mark squares (yes, squares!) around the head
The white circle is a possible space for the face
The red area is where the neck is (ie useless!)

Remember, do not use compression. The tga file must be 128x128 and will be ~48KiB in size.

http://www.toribash.com/forum/index.php?topic=327.0
I has a flavour