POV-Ray : Newsgroups : moray.win : rainbow : Re: rainbow Server Time
5 Jul 2024 08:53:06 EDT (-0400)
  Re: rainbow  
From: Lutz Kretzschmar
Date: 13 Jan 2002 05:29:32
Message: <tmn24u0c4h6pofnirgkteriq5ujmecnee7@4ax.com>
Hi Jan Walzer, you recently wrote in moray.win:

> Lutz?... can you confirm this ?
Yes, rainbow cannot be used in an UDO since it is not an object. All
UDO's are wrapped in a object {} wrapper....

There are three ways to include the code in Moray:

1) Write it to an include file and add the file to
Scene|Settings|Includes.

2) Add the code surrounded by
  */
    rainbow...
  /*
in the Scene Comments edit box on the same dialog. Note that the
comment quotes are switched. Since Moray starts the comment block with
a /*, I am ending the comment, exporting the rainbow and then starting
the comment again.

3) Paste the code to the INC file of your scene.

Of the three options, only option 2 will store the code in the MDL
file.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

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