Opened 7 years ago

Last modified 7 years ago

#30 new defect

gloss-fluid example stutters on startup

Reported by: benl Owned by:
Priority: normal Milestone:
Component: Unknown Version: 1.7.0
Keywords: Cc:

Description (last modified by benl)

On my 2010 QuadCore iMac, run the following:

gloss-fluid --width=400 --scale=3 +RTS -N4 -qg -qa

Interactively drawing initial density is smooth, but when I add velocity with the right-mouse button the simulation stutters for about 3 seconds before becoming smooth again. Resetting with 'r' and then drawing again yields the same behaviour.

Initialising the initial frame probably takes longer than computing one in free-running mode, and this upsets gloss's frame-rate limiting code. We should fix both problems.

Change History (1)

comment:1 Changed 7 years ago by benl

  • Description modified (diff)
Note: See TracTickets for help on using tickets.