|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Can someone who has access to POV's source code tell me what are OBJECT
(Object_Struct, if more exactly; from frame.h) structure fields in POV-Ray
3.5?
Asking not just out of curiosity, that's important for me...
Thank you in advance,
Vadim.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Currently they look like this:
#define OBJECT_FIELDS \
METHODS *Methods; \
int Type; \
OBJECT *Sibling; \
TEXTURE *Texture; \
TEXTURE *Interior_Texture; \
INTERIOR *Interior; \
OBJECT *Bound; \
OBJECT *Clip; \
LIGHT_SOURCE *LLights; \
BBOX BBox; \
TRANSFORM *Trans; \
TRANSFORM *UV_Trans; \
SNGL Ph_Density; \
unsigned long Flags;
#define INIT_OBJECT_FIELDS(o,t,m) \
o->Type = t; \
o->Methods = m; \
o->Sibling = NULL; \
o->Texture = NULL; \
o->Interior_Texture = NULL; \
o->Interior = NULL; \
o->Bound = NULL; \
o->Clip = NULL; \
o->LLights = NULL; \
o->Trans = NULL; \
o->UV_Trans = NULL; \
o->Ph_Density = 0; \
o->Flags = 0; \
Make_BBox(o->BBox, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, \
BOUND_HUGE, BOUND_HUGE, BOUND_HUGE);
"Vadim Sytnikov" <syt### [at] rucom> wrote...
> Can someone who has access to POV's source code tell me what are OBJECT
> (Object_Struct, if more exactly; from frame.h) structure fields in POV-Ray
> 3.5?
>
> Asking not just out of curiosity, that's important for me...
>
> Thank you in advance,
> Vadim.
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you very much.
"Nathan Kopp" <nat### [at] koppcom> wrote in message
news:3cf1e444@news.povray.org...
> Currently they look like this:
>
> #define OBJECT_FIELDS \
> METHODS *Methods; \
> int Type; \
> OBJECT *Sibling; \
> TEXTURE *Texture; \
> TEXTURE *Interior_Texture; \
> INTERIOR *Interior; \
> OBJECT *Bound; \
> OBJECT *Clip; \
> LIGHT_SOURCE *LLights; \
> BBOX BBox; \
> TRANSFORM *Trans; \
> TRANSFORM *UV_Trans; \
> SNGL Ph_Density; \
> unsigned long Flags;
>
> #define INIT_OBJECT_FIELDS(o,t,m) \
> o->Type = t; \
> o->Methods = m; \
> o->Sibling = NULL; \
> o->Texture = NULL; \
> o->Interior_Texture = NULL; \
> o->Interior = NULL; \
> o->Bound = NULL; \
> o->Clip = NULL; \
> o->LLights = NULL; \
> o->Trans = NULL; \
> o->UV_Trans = NULL; \
> o->Ph_Density = 0; \
> o->Flags = 0; \
> Make_BBox(o->BBox, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, -BOUND_HUGE/2.0, \
> BOUND_HUGE, BOUND_HUGE, BOUND_HUGE);
>
> "Vadim Sytnikov" <syt### [at] rucom> wrote...
> > Can someone who has access to POV's source code tell me what are OBJECT
> > (Object_Struct, if more exactly; from frame.h) structure fields in
POV-Ray
> > 3.5?
> >
> > Asking not just out of curiosity, that's important for me...
> >
> > Thank you in advance,
> > Vadim.
> >
> >
> >
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|