POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOVPlus 0.3.1 Windows version released : Re: MegaPOVPlus 0.3.1 Windows version released Server Time
2 Sep 2024 04:12:59 EDT (-0400)
  Re: MegaPOVPlus 0.3.1 Windows version released  
From: Halbert
Date: 12 Sep 2000 21:03:39
Message: <39bed26b@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.