|
|
I was comparing source from Megapov 0.5a and MP+ .31 and I did notice
something particularly conspicuous.
frame.h
////////////////////////////////////////////////////////////////////////////
/////////
from MP 0.5a:
struct Blob_Pattern_Data_Struct
{
VECTOR center;/*Also point A if component is cylinderical*/
VECTOR pointB;/*point B if component is cylinderical*/
DBL radius;
DBL strength;
DBL falloff;
PIGMENT * pigment;
TRANSFORM * transform;
/* int transformed;*/
/*NOTE: do benchmark to find overhead of transforms.
Use this to avoid unnecessary ones if overhead too much.*/
int type;/*0 for spherical, 1 for cylinderical. Change to enum?*/
int function;/*The density function. 0 for standard blob. Change to
enum?*/
BLOB_PATTERN_DATA * next;
};
//////////////////////////////////////////////////////////////////////
// from MP+ .31
typedef struct Blob_Pattern_Data_Struct BLOB_PATTERN_DATA;
struct Blob_Pattern_Data_Struct
{
VECTOR center;/*Also point A if component is cylinderical*/
VECTOR pointB;/*point B if component is cylinderical*/
DBL radius;
DBL strength;
DBL falloff;
PIGMENT * pigment;
TRANSFORM * transform;
BLOB * blob;
TPATTERN * pattern;
int inverse;
int type;/*0=sphere, 1=cylinder, 2=box, 3=pattern, 4=blob. Change to
enum?*/
int function;/*The density function. 0 for standard blob. Change to
enum?*/
BLOB_PATTERN_DATA * next;
};
//////////////////////////////////////////////////////////////////////////
This is the main thing that kept me from making a servicable Windows build.
There just happens to be a Windows data structure of the name BLOB. I don't
know how Jetlag handled this. Or whether it has anything to do with
anything.
--
http://www.capital.net/~hhawkins
Post a reply to this message
|
|