|
|
I'm not sure, but what is the error message POV spits out when trying to
load?
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: tim.nikias (@) gmx.de
> I noticed someone mentionned this in the newsgroups a few years ago, I
> guess it's still the same? #read only supports 3D vectors, not 2,4 or 5?
> Unless I'm doing something wrong? (Yeah, I know, just use four seperate
> floats and reassign the 4D vector with them... just not as elegant)
>
> Example:
> //[...]
> #declare CurColor = <1,1,1,0.8>;
> #if (clock > 0)
> #fopen ColorFile "curcolor.dat" read
> #read (ColorFile,CurColor) // <- Error
> #fclose ColorFile
> #end
>
> //[...]
>
> #macro V4strC(V)
> concat("<",vstr(4,V,",",10,7),">, ")
> #end
>
> #fopen ColorFile "curcolor.dat" write
> #write (ColorFile,V4strC(CurColor),"\n")
> #fclose ColorFile
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23.09.2003
Post a reply to this message
|
|