[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2827.0. "Graphics Programming Questions" by KYOA::MIANO (O.K. so who cares about the METS?) Sun Aug 13 1989 04:19

I am converting a simulation program that is somewhat similar in nature
to that cellular automata program posted a few notes back.  My problem
is that I need advice on where to start on the graphics programming.

I need to display a lattice composed of hexagonal elements that change
color in order to represent state changes.  I need to make the screen
look like something similar to the board in a military simulation game
except that each hex is one color.  I have seen some programs that do
somewhat the same thing but I have been unable to locate one with source
code.

Are there any Amiga routines for drawing filled polygons
(non-rectangular)? 
Does anyone know of any programs with source that do?
Does anyone have any hints or advice?

Thanks

John
T.RTitleUserPersonal
Name
DateLines
2827.1exPOBOX::ANDREWSI'm the NRASun Aug 13 1989 06:488
    Try either of these two books:
    Inside the amiga with C (publisher Howard W sams)
    or
    Programmers Guide to the amiga (Publisher Sybex)
    THere are chapters in there that discuss graphics programming.
    
    THe name of the routine that will draw polygons is called PolyDraw()