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?)
>
No it's not associating ".obj" with meshes. if you want to import a
NURB, then you would use the POVNurb.loadfromobj("nurbfile.obj");
Maybe better for the mesh would be
POVMesh.LoadFromWavefrontObj("somefile.obj");
--
Bryan Valencia
"I'd rather live with false hope than with false despair."
Post a reply to this message
|