POV-Ray : Newsgroups : moray.win : Include Files Server Time
28 Jul 2024 18:21:56 EDT (-0400)
  Include Files (Message 1 to 3 of 3)  
From: Alex McMurray
Subject: Include Files
Date: 10 Jan 2000 14:14:35
Message: <387909C7.5FA6CB61@melbpc.org.au>
Hi all,

    I have just started using Include files in my attempts at making
images, but I cannot find any way of manipulating them.  That is, how do
I translate, rotate, scale etc any include files in Moray?

--
  ,-._|\  Alex McMurray
 /  Oz  \ ale### [at] melbpcorgau               Melbourne PC User Group.
 \_,--.x/Melton. Vic.                                    Australia
       v


Post a reply to this message

From: Tony Vigil
Subject: Re: Include Files
Date: 10 Jan 2000 16:52:38
Message: <387A54B1.61F63C1D@emc-inc.com>
You can create a simple UDO file to represent your included object.  I use
such a file to access the parallel light features in UVPOV (although my UDO
object is more elaborate than a cube) from within Moray.

Example...

;BEGIN FILE
;
; Example of a user-defined object
;
; This file specifies a cube, so it's not of much use<g>.
;
Name 'Cube'

;Specify the file that should be included to access this object
IncludeFile 'INCLUDEFILE.INC'

[Cube:Vertices]
8
-0.5, -0.5, -0.5
-0.5,  0.5, -0.5
 0.5,  0.5, -0.5
 0.5, -0.5, -0.5
-0.5, -0.5,  0.5
-0.5,  0.5,  0.5
 0.5,  0.5,  0.5
 0.5, -0.5,  0.5

[Cube:Edges]
12
0 1
1 2
2 3
3 0
4 5
5 6
6 7
7 4
0 4
1 5
2 6
3 7

[End]

;END FILE






Alex McMurray wrote:

> Hi all,
>
>     I have just started using Include files in my attempts at making
> images, but I cannot find any way of manipulating them.  That is, how do
> I translate, rotate, scale etc any include files in Moray?
>
> --
>   ,-._|\  Alex McMurray
>  /  Oz  \ ale### [at] melbpcorgau               Melbourne PC User Group.
>  \_,--.x/Melton. Vic.                                    Australia
>        v


Post a reply to this message

From: Tony Vigil
Subject: Re: Include Files
Date: 10 Jan 2000 18:03:56
Message: <387A655D.EC7E7A8E@emc-inc.com>
Alex,

One other thing that I forgot to mention...

the UDO name of your object should be the same as the #delcare name in your INC
file.


- Tony


Post a reply to this message

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