Toribash
Original Post
identify.inc
I am running on mac and I can't seem to use identify.inc
If you know what my problem is and can help, please do.
[SIGPIC][/SIGPIC]
Re: identify.inc
What pov-ray program are you using? Megapov is for example the only pov-ray program that works on intel macs and with it you have to open the .inc files and select find from menu, put length as searchable and length2 as replacable and then put replace all, because for some reason it doesent accept length as a variable.
Re: identify.inc
I don't really know what you are saying because:
I'm not using megapov, I'm using pov-ray 3.6
My error has to do with opening the tga image
I'm not good at pov-ray so I don't know what you mean by make the lengths searchable and replacable.
Here's the exact file I'm using, can you edit it if you find something wrong.
Attached Files
identify.inc (9.2 KB, 28 views)
[SIGPIC][/SIGPIC]
Re: identify.inc
yea i need some help too. i change the glossy.inc to acidbath,clay, etc but then nothing happens
Re: identify.inc
Originally Posted by keersvvvlelvsvin
I don't really know what you are saying because:
I'm not using megapov, I'm using pov-ray 3.6
My error has to do with opening the tga image
I'm not good at pov-ray so I don't know what you mean by make the lengths searchable and replacable.
Here's the exact file I'm using, can you edit it if you find something wrong.

well, for some reason when u copy pasted the text u forgot to put 2 dots in front of the /heads/ like this:
#declare headdir="../heads/";

otherwise its fine.
Re: identify.inc
I fixed that but it still doesn't work. It 's giving me an error as follows:
Parse Error: Cannot open TGA image.

File identify.inc line 258
[SIGPIC][/SIGPIC]
Re: identify.inc
Try removing the capitals on the filenames. So use uke.tga instead of Uke.tga and keer.tga instead of Keer.tga

That is the only difference I can find between a working version and your version (apart from the missing ..)

My working copy starts as follows:
/**********************************************************
 Include file for Toribash PovRay rexporter (http://www.toribash.com)
 By Nokturnal 2006
 Modified by Anthony Cox 2006
 To use this file; change the include directive in screenshot.pov to "identify.inc"
 Below are some modifiable settings to change how the players look.
***********************************************************/

// Player A's (red in-game) colour.

#declare playerAr=0.8;
#declare playerAg=0.5;
#declare playerAb=0.3;

// Player B's (blue in-game) colour.

#declare playerBr=0.3;
#declare playerBg=0.5;
#declare playerBb=0.8;

// Use a head skin and name of skin (takes from the heads folder).
// Player A.

#declare playerAskin=1;
#declare playerAname="slainvet.tga";

// Player B.

#declare playerBskin=1;
#declare playerBname="uke.tga";

// heads directory (must include trailing slash ie "dir\\" or "dir/").

#declare headdir="../heads/";

// Are the skinned head reflective (light areas are reflective)

#declare reflectiveheads=1;

/*********************/
//          //
// END OF SETTINGS //
//          //
/*********************/
I has a flavour
Re: identify.inc
The directory for the .pov and .inc files is:
Applications/Toribash/raytrace

In coding this would be
cd Applications/Toribash/raytrace

I think...
[SIGPIC][/SIGPIC]