| 5 |
|
* Convert Radiance scene description to MGF |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
+ |
#include "platform.h" |
| 9 |
|
#include "standard.h" |
| 10 |
|
#include <ctype.h> |
| 11 |
|
#include <string.h> |
| 12 |
|
#include <stdio.h> |
| 13 |
|
|
| 14 |
< |
#include "platform.h" |
| 14 |
> |
#include "rtprocess.h" |
| 15 |
|
#include "object.h" |
| 16 |
|
#include "color.h" |
| 17 |
|
#include "lookup.h" |
| 289 |
|
add2dispatch("tube", o_cylinder); |
| 290 |
|
add2dispatch("ring", o_ring); |
| 291 |
|
add2dispatch("instance", o_instance); |
| 292 |
+ |
add2dispatch("mesh", o_instance); |
| 293 |
|
add2dispatch("plastic", o_plastic); |
| 294 |
|
add2dispatch("plastic2", o_plastic); |
| 295 |
|
add2dispatch("metal", o_metal); |
| 535 |
|
|
| 536 |
|
|
| 537 |
|
int |
| 538 |
< |
o_instance(mod, typ, id, fa) /* convert an instance */ |
| 538 |
> |
o_instance(mod, typ, id, fa) /* convert an instance (or mesh) */ |
| 539 |
|
char *mod, *typ, *id; |
| 540 |
|
FUNARGS *fa; |
| 541 |
|
{ |