|
![](/i/fill.gif) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Warp wrote:
> Bruno Cabasson <bru### [at] alcatelaleniaspace fr> wrote:
>> In order to keep current syntax spirit, I would rather propose something
>> like:
>
> The problem is that it hard-codes that the imported object is a mesh.
> (Can .obj files contain other things too, such as NURBS or whatever?)
>
.obj files can't, but other formats can. So how about:
victoria = object {
load_file {obj "victoria.obj" [obj-specific options]}
//load_file {3ds "zorg.3ds" [3ds-specific options]}
...
}
object { victoria }
This would apply to formats that contain other object types, while
keeping a syntax that's closer to the current one.
Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
| mailto:jeb### [at] free fr | ICQ: 238062172 |
| http://jeberger.free.fr/ | Jabber: jeb### [at] jabber fr |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHFkmxd0kWM4JG3k8RAqF5AKCLBvv5YMinWIdxiPGsJcuIZ7f++wCfTEy/
pkalLzOY4QKdfsLgvKJFOzU=
=6+RN
-----END PGP SIGNATURE-----
Post a reply to this message
|
![](/i/fill.gif) |