From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: Setting up Opengl
Date: Fri, 19 Nov 2010 05:18:19 -0800 (PST)
Date: 2010-11-19T05:18:19-08:00 [thread overview]
Message-ID: <aa6bb21c-3e4a-47a8-b94e-72d6059b751c@g26g2000vba.googlegroups.com> (raw)
In-Reply-To: d76a2be1-3fca-42d2-a891-66622a40101f@e20g2000vbn.googlegroups.com
On 19 nov, 13:02, sjw:
> I'd been waving the pointer about wildly (!) so that the viewpoint was
> moving all over the place, it crashed when I moved to the first image
> with the (9?) squares with '3'.
OK, I guess I have a clue then: this object is manually built,
probably with a wrong vertex numbering on one face.
> I'd have posted a traceback but atos (this is on a Mac) only gave me
> the line numbers for the main file (where it calls the main loop) and
> the one in the exception message. Maybe the library wasn't built with -
> g?
There is -g in the "Debug" mode, but probably it doesn't help because
the main display operations are called from the GLUT framework.
You give the routines' addresses to GLUT:
ReshapeFunc( Window_Resize'Address );
DisplayFunc( Main_operations'Address );
IdleFunc( Main_operations'Address );
GLUT.Devices.Initialize;
Then, you start the game:
GLUT.MainLoop; -- Let's rock !
With all that, the traceback probably cannot go further than the
latter instruction.
______________________________________________________________
Gautier's Ada programming -- http://gautiersblog.blogspot.com/
NB: follow the above link for a working e-mail address
next prev parent reply other threads:[~2010-11-19 13:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 18:10 Setting up Opengl Szymon Ząbkiewicz
2010-11-17 20:39 ` Gautier write-only
2010-11-17 21:05 ` Szymon Ząbkiewicz
2010-11-17 22:41 ` Georg Bauhaus
2010-11-18 8:38 ` Gautier write-only
2010-11-18 19:53 ` Simon Wright
2010-11-18 22:52 ` Georg Bauhaus
2010-11-19 9:52 ` Gautier write-only
2010-11-19 20:14 ` Simon Wright
2010-11-20 12:07 ` Gautier write-only
2010-11-19 9:54 ` Gautier write-only
2010-11-19 12:02 ` sjw
2010-11-19 13:18 ` Gautier write-only [this message]
2010-11-19 20:24 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox