POV-Ray : Newsgroups : povray.newusers : Including my own objects Server Time
31 Oct 2024 14:12:32 EDT (-0400)
  Including my own objects (Message 1 to 3 of 3)  
From: lafferjm
Subject: Including my own objects
Date: 9 Nov 2007 14:55:00
Message: <web.4734b9ff9f5599fc15272f4f0@news.povray.org>
If i rendered some objects using anim8tor and then converted them to a povray
file using ani2pov, how would i include my own objects in a scene?


Post a reply to this message

From: Jan Dvorak
Subject: Re: Including my own objects
Date: 10 Nov 2007 01:18:32
Message: <47354d38@news.povray.org>
lafferjm napsal(a):
> If i rendered some objects using anim8tor and then converted them to a povray
> file using ani2pov, how would i include my own objects in a scene?
> 
> 
try using
#include "myObj.pov"
.

If that doesn't make any difference itself then you can just use 
object{myObj ...} .
If that does display the object (I don't expect that) you use
#declare myObj=
union{ //just in case
   #include "myObj.pov"
}


Post a reply to this message

From: FlaPovFan
Subject: Re: Including my own objects
Date: 11 Nov 2007 23:15:01
Message: <web.4737d240de206e2d3b1f88e0@news.povray.org>
"lafferjm" <nomail@nomail> wrote:
> If i rendered some objects using anim8tor and then converted them to a povray
> file using ani2pov, how would i include my own objects in a scene?

Another way to get an Anim8or object into POVRay is to export the object as
either .3ds or .obj and import it into PoseRay.  PoseRay outputs four (4) files
into POVRay, three (3) include files and one scene file.  I save all of them in


As an example, if you export an object from Anim8or as either MyObject.3ds or
MyObject.obj, and import them into PoseRay, that program will export the
following files to POVRay:  MyObject_POV.main_inc, MyObject_POV_geom.inc.,
MyObject.mat.inc., and MyObject_POV_scene.pov.

The name of the object will be listed in the scene file.  The geom.inc files
contains the mesh description of the object, and includes the mat.inc file,

like.


Anim8or.  That is the orientation used in PoseRay.



modeller, and PoseRay is a real gift to the POVRay community.


Post a reply to this message

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