POV-Ray : Newsgroups : moray.win : Groups in UDO/INCs? Server Time
29 Jul 2024 10:29:49 EDT (-0400)
  Groups in UDO/INCs? (Message 1 to 2 of 2)  
From: Alex Magidow
Subject: Groups in UDO/INCs?
Date: 18 Jan 1999 15:48:36
Message: <36A39D37.7CC6D63A@mninter.net>
Would it be possible to export groups in a UDO/INC format? Say, if you
were exporting a triangle mesh, and wanted different portions of it to
be seperate, so that you could texture it seperately, would that be
possible? How many UDO/INCs would you need?
--
Gods don't save people. People save people.


Post a reply to this message

From: Johannes Hubert
Subject: Re: Groups in UDO/INCs?
Date: 19 Jan 1999 03:56:11
Message: <36a448ab.0@news.povray.org>
I think this is what you want:

An UDO file can contain more than only one UDO. When imported into Moray,
they are automatically grouped together in a CSG union (which is essentially
the same as a group), and inside that union the single UDOs can be textured
independently.
The UDO file would look something like:

Version 1
IncludeFile 'YourInc.inc'

Name 'YourNameOfGroup'


[YourNameOfUDO1:Vertices]
...

[YourNameOfUDO1:Edges]
...

[YourNameOfUDO1:Transforms]
...

[YourNameOfUDO2:Vertices]
...

[YourNameOfUDO2:Edges]
...

[YourNameOfUDO2:Transforms]
...

etc.

Bye, Johannes.


Post a reply to this message

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