POV-Ray : Newsgroups : povray.unofficial.patches : colors and glowing : Re: colors and glowing Server Time
2 Sep 2024 12:14:05 EDT (-0400)
  Re: colors and glowing  
From: Mark Wagner
Date: 17 May 2000 01:39:48
Message: <392230a4$1@news.povray.org>
Warp wrote in message <391bc523@news.povray.org>...
>Zeger Knaepen <ZEG### [at] studentkuleuvenacbe> wrote:
>: After all, the glow would not be like glowing air, but more like
>: lens-flare.
>
>  I think that glowing is usually caused by atmospheric effects rather than
>lens effects.
>
>: I don't know how to do that with Borland C++
>: I get lots of different windows...
>
>  You'll have to compile it as a dos-program (I don't know if BCB can do
this)
>since it's supposed to be run on the command line (where there's a standard
>output stream).


Borland C++ Builder can do this.  However, it is a complicated process.

1)  Copy Warp's sig to Notepad.  Save the file as "dummy.c" in the directory
you will be creating the project in.

2)  Make sure that Windows didn't rename "dummy.c" to "dummy.c.txt".  If it
did, fix it.

3)  In C++ Builder, create a new project of type Console Wizard.  Select all
the text in the "proj0000.cpp" file and delete it.

4)  Type the following into the "proj0000.cpp" file:
#include <condefs.h>
USEUNIT("dummy.c");
#define main

5)  Save your project.

6)  Compile it.

7)  Open a dos prompt and run the program from the dos prompt.

8)  Don't blame me if this doesn't work.  I got it to work on the computers
at the university, which are running an insane setup of Borland C++ Builder
4 on Windows NT 4.0 service pack 3, with C++ Builder being run from a
read-only network drive.  (30 minutes to compile POV, anyone?).

Mark


Post a reply to this message

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