POV-Ray : Newsgroups : povray.general : A new SDL Idea : Re: A new SDL Idea Server Time
31 Jul 2024 12:18:50 EDT (-0400)
  Re: A new SDL Idea  
From: Bryan Valencia
Date: 17 Oct 2007 14:13:43
Message: <471650d7$1@news.povray.org>
Warp wrote:
> Bruno Cabasson <bru### [at] alcatelaleniaspacefr> 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

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