Macros
towers


Welcome to my page of POV-Ray macros. I will be including and updating files for creating stuff here. Here you will also find how to use these macros in simple and easy ways.
Follow the links below for navigation in the page.
Tower creation macro

The author,
George Akritides

Back to main page

Tower creation macro
This macro is part of a larger project - a castle creation macro.
Yet on this stage, since it is a complete stand-alone package, it has no attachment to the castle creation macro.

Already features:


Known bugs:

On queue:

License information:
The Tower creation macro package is Copyright (c) 2002 George Akritides All Rights Reserved.
For further information look at license.txt in the package file.

Installation:
1.Download the Tower creation macro package. Extract the package and copy the files tower.mcr and storey.mcr in the include files directory of POV-Ray. Normally this is C:\Program Files\POV-Ray for Windows 3.5\include.

Usage:
Usage requires at least some basic POV-Ray knowledge. Knowing how to set up a simple scene, how to include a file and how to invoke a macro. Some examples will be given to help you through.

Include the file tower.mcr in your scene file.
#include "tower.mcr"

Invoke the macro with the six macro parameters you want.
It is tower(randomness,top type,stories,stair type,radius,basement)
Each of them means:


Example:
tower(0.15,2,1,0,2.5,0)
This will create a tower at point 0. If you want to translate scale or otherwise do any other functions to the tower, then you must enclose it in a union. e.g.
union{tower(0.15,2,1,0,2.5,0) scale 2}
CSG is not suggested with the tower.

Epilogue:
That's most about it. If you know more you may search the macro files and tamper with them. I intend to expand it on a castle creation macro, so check the webpage for future updates.
Hope you find it useful. If you like it, or have any suggestion feel fre e-mail me about it.

Back to Top


Created 14th October 2002.