__color__	ticket	summary	component	version	milestone	type	owner	status	created	_changetime	_description	_reporter
4	10	add antialiasing	Rendering			enhancement		new	2010-05-08T00:38:59Z+0100	2010-11-23T02:41:50Z+0000	"Should be relatively simple to add support for anti-aliasing. The following OpenGL functions would be relevant:

glHint(GL_LINE_SMOOTH, GL_NICEST);
glHint(GL_POLYGON_SMOOTH, GL_NICEST);

glEnable(GL_LINE_SMOOTH);
glEnable(GL_POLYGON_SMOOTH);
glEnable(GL_BLEND);

"	ijontichy
3	4	Add commands to run/stop and single step simulation mode.	User Interface	1.0.0.0		enhancement		new	2010-03-05T02:51:32Z+0000	2010-11-23T02:36:36Z+0000	"ANUPlot had these, but support was a bit hacky.

Enter should run-stop the simulation. Program should start in stop mode.

Use keys 1-5 to step by 1, 10, 100, 1000, 10000 steps each.

Same keys should increase the simulation speed in free running mode.
"	benl
4	8	Add FPS counter / HUD display	User Interface		None	enhancement		new	2010-03-05T05:13:45Z+0000	2010-11-23T02:42:48Z+0000	"
Pressing space bar should give help and various options. 

Support display of FPS counter."	benl
4	3	Add render option commands from ANUPlot	User Interface		None	enhancement		new	2010-03-05T02:49:47Z+0000	2010-11-23T02:44:20Z+0000	ANUPlot allowed the user to force wireframe and monochrome modes, and turn alpha on and off. Port this code across.	benl
3	1	Add textured polygon code from ANUPlot	Rendering		1.3.0.0	enhancement		new	2010-03-05T02:45:34Z+0000	2010-11-23T02:40:15Z+0000	"ANUPlot could draw textures, and we could port the code across.

We need to decide how to locate and load the images. The ANUPlot system used ImageMagik and invoked the command line convert utility. We probably don't want that dependency for gloss."	benl
3	11	Do something about non-convex polygons	Rendering	1.0.0.0		defect		new	2010-07-18T10:37:04Z+0100	2010-11-23T04:57:47Z+0000	"OpenGL doesn't support them, and we don't either. We should at least say this in the docs.

It'd be better to detect non-convex polygons and throw an error at runtime, or to do the actual tesselation.
"	benl
3	2	Fix popping of thick circles when zooming lifespan example	Rendering	1.0.0.0		defect		new	2010-03-05T02:48:32Z+0000	2010-11-23T02:36:08Z+0000	"
The LOD reduction for thick circles needs tweaking. Lifespan draws lots of small circles, and their geometry pops a bit when zooming in and out. Increase the LOD for these small circles."	benl
4	7	Support fullscreen mode	User Interface		None	enhancement		new	2010-03-05T05:12:15Z+0000	2010-11-23T02:43:56Z+0000	"
At one point GLUT fullscreen didn't actually go fullscreen on linux. Might be fixed now though, so we should support it if it works."	benl
3	13	Text does not appear in the expected place	Rendering	1.1.1.0		defect		new	2010-11-12T07:23:42Z+0000	2010-11-23T04:58:03Z+0000	"Thomas DuBuisson reports:

It seems a value of ""Pictures [Text ""hi"", Line [...]]"" will
display with the Line translated to the center (against my will, and
probably counter to your intentions).  This can be fixed by wrapping
Text with Translate."	benl
3	6	Use the circle prim directly in the Clock example	Examples		1.2.0.0	enhancement		new	2010-03-05T03:23:22Z+0000	2010-11-23T02:42:42Z+0000	Like it says. We didn't have a Circle prim when this example was originally written.	benl
1	15	Window doesn't refresh under Gnome.	Rendering	1.1.1.0		defect	None	new	2010-11-12T07:25:39Z+0000	2010-11-23T04:59:05Z+0000	"I tried this in a typical
Gnome environment, but the window never refreshed and X hogged 100% of
the CPU.

{{{
{-# LANGUAGE CPP #-}
import Graphics.Gloss.Game
import Graphics.Gloss
import Data.Maybe (maybe)
import Debug.Trace

main = do
      let state = St Nothing []
      gameInWindow ""Test Game"" (1400,1050) (0,0) white 100 state makePicture handleEvent stepWorld

data State = St (Maybe Path) [Picture]
type Segment = ((Float, Float), (Float, Float))

makePicture :: State -> Picture
makePicture (St m xs) = Pictures (maybe xs (\x -> Line x : xs) m)

handleEvent :: Event -> State -> State
handleEvent e st = trace (show e) (handleE e st)

handleE (EventMotion (x,y)) st@(St (Just ps) ss) = St (Just ((x-418,516 - y):ps)) ss -- Here is the offset for a 1/2 window on xmonad
handleE (EventKey (MouseButton LeftButton) Down _ pt@(x,y)) st@(St Nothing ss) = St (Just [pt]) (Translate x y (Text ""Down"") : ss)
handleE (EventKey (MouseButton LeftButton) Up _ pt@(x,y)) st@(St (Just ps) ss) = St Nothing (Translate x y (Text ""up"") : Line (pt:ps) : ss)
handleE _ st = st

stepWorld :: Float -> State -> State
stepWorld _ = id
}}}"	benl
2	5	Windows don't reshape properly under XMonad	User Interface	1.0.0.0		defect		new	2010-03-05T02:54:21Z+0000	2010-11-23T04:58:51Z+0000	"
XMonad forces the window to a certain size, and we don't seem to catch the reshape event. This causes bad scaling of static examples like Flake."	benl
