[comp.graphics] R G B Values...

jrn@csd4.csd.uwm.edu (James Ray Norton) (09/14/89)

I am plotting fractals (Mandelbrot Set) on an IBM 286 with VGA graphics and
am using Turbo Pascal v5.0.

I need to be able to change certain default colors to different intensities
of the basic 16 colors.  TP has a procedure that allows me to define a color
as three values... R G B ...  Is the formula or table that I could use to
get these RGB values?

In a nutshell,  I need a way to change the intensity of the basic 16 colors
on a VGA monitor using a formula to calculate the seperate RGB components...

Is this possible?  Any help much appreciated...

Thanks in advance..
--
_______________________________________________________________________________
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 _    _ _       _ _ _
' )  / ' )   / ' ) ) )                                  jrn@csd4.csd.uwm.edu

Kenneth.Maier@branch.FIDONET.ORG (Kenneth Maier) (09/17/89)

JR> I am plotting fractals (Mandelbrot Set) on an IBM 286 with VGA graphic
JR> am using Turbo Pascal v5.0.
 
JR> I need to be able to change certain default colors to different intens
JR> of the basic 16 colors.  TP has a procedure that allows me to define a
JR> as three values... R G B ...  Is the formula or table that I could use
JR> get these RGB values?
 
James,
  Glad to see someone every once in a while that has an interest in
fractals also!  Is this just a passing fancy or an addicting hobby like
it is for my friends and I?  We started to write our own fractal
program on the PC but dropped it when we found a program that is
already written that did everything we wanted AND MORE!!  If you can
find a copy, I would STRONGLY suggest getting FRACTINT.  It can be
found on Compuserve in the graphics section (16) or on BIX.  
  The FRACTINT program itself generates the Mandelbrot set,
cooresponding Julia sets, newton equations, plasma screens, and A LOT
MORE!!  (Has a screen with so many different types of equations that we
still haven't gone through them all!!)... Besides the equations,
FRACTINT has support for PRACTICALLY EVERY video mode ever made to run
on a PC!! (they actually ran out of key-combinations to start the video
modes so they do it through a config file)  Mouse support is included,
pictures are saved in GIF format, they can be loaded back in as 3D!!!
There is color cycling, and SOOOO much more that I'm mot even doing the
program justice!  One other neat thing is something called Video-RAM
... FRACTINT will let you generate pictures using your disk/ram so a
batch mode can be run as a background process if you are using
something like DESQVIEW -- One type of resolution that is supported is
2048x2048x256!!! I run these on the PC or PS/2 and then port them over
the HP workstation at school.  We load these up in a GIF viewer under
X-Windows and they look great!!!!   
   You mentioned in your message that you were looking for R G B
values for color maps? (I might have misunderstood you) Anyway,
FRACTINT has the option of using alternate color maps so you can write
your own with any ASCII editor and then generate pictures with these
colors instead of the default ones. Three maps are included with the
package to get you started.
 
   Well, that's it for now... I don't think I answered any of your
questions but I urge you to get a copy of FRACTINT (latest version is
9.3) -- On compuserve the filename it goes under is 'FRAINT.EXE' -- the
authors supply the source to the program also (C and ASM), but that is
in a different file which I don't know the name...
 
  -Kenneth


--  
Kenneth Maier via FidoNet node 1:369/11
UUCP: {attctc,<internet>!mthvax}!ankh,novavax!branch!Kenneth.Maier

richg@blake.acs.washington.edu (Richard "Goldfinder" Finegold) (09/21/89)

In article <1258.251303EA@branch.FIDONET.ORG> Kenneth.Maier@branch.FIDONET.ORG (Kenneth Maier) writes:
>   Well, that's it for now... I don't think I answered any of your
>questions but I urge you to get a copy of FRACTINT (latest version is
>9.3) -- On compuserve the filename it goes under is 'FRAINT.EXE' -- the
>authors supply the source to the program also (C and ASM), but that is
>in a different file which I don't know the name...

The source for FRACTINT is in the LHArc'd file "FRASRC.EXE", also in
the Graph Support (GO PICS) forum on CIS.

If you haven't gotten through all the fractal types yet, watch out;
there will be at least a dozen new ones with the next version, plus
a major speedup of 3D and minor speedups elsewhere. (I'm a fairly
regular reader of section 16).

>Kenneth Maier via FidoNet node 1:369/11
>UUCP: {attctc,<internet>!mthvax}!ankh,novavax!branch!Kenneth.Maier

  --Richard "Goldfinder" Finegold
    InterNET: richg@blake.acs.washington.edu
    UUCP:     ...[!uunet]!uw-beaver!blake!richg
    BITNET:   richg@uwacdc
    DragNet:  Richard Goldfinder @ CHF
    CIS:      76701,153

Kenneth.Maier@branch.FIDONET.ORG (Kenneth Maier) (09/23/89)

R"> From: richg@blake.acs.washington.edu (Richard "Goldfinder" Finegold)
R"> Date: 21 Sep 89 01:13:48 GMT
R"> Organization: University of Washington, Seattle
R"> Message-ID: <3708@blake.acs.washington.edu>
R"> Newsgroups: comp.graphics
 
R"> If you haven't gotten through all the fractal types yet, watch out;
R"> there will be at least a dozen new ones with the next version, plus
R"> a major speedup of 3D and minor speedups elsewhere. (I'm a fairly
R"> regular reader of section 16).
  
 Richard,
 
    Can you list a few of the new types that we can look forward to? 
CompuServe gets too expensive for my "student budget" <grin> so I can't
follow the messages there like I want to.  Did you hear when the next
version will be released?
 
  -Kenneth


--  
Kenneth Maier via FidoNet node 1:369/11
UUCP: {attctc,<internet>!mthvax}!ankh,novavax!branch!Kenneth.Maier