Graphical Display of 100,000 objects
Nicholas Bennett
nicholasjbennett at hotmail.com
Tue Mar 28 10:15:30 UTC 2006
hans,
I had played around with http://www.cosmocows.com/OpenGL/ which gives a
foreign function interface to wrapper on the opengl dlls under windows.
They have a 'full world window' car game, but under that there is a straight
binding to a subset of the opengl functions.
I had wanted to learn a little 'raw' opengl so this was perfect for me. It's
a little fussy due to dll versions etc; on my old win98 it crashes, on one
of my xp machines it insists on updating the entire world window - but
generally I can have an 'opengl morph' that open gl renders to and regular
morphs for controls etc. I had no trouble extending the function coverage to
support opengl 'picking' etc.
The nice thing is that you can have quite a large area rendering many frames
/ second with low cpu usage.
I can give you more info if it is interesting for you.
regards,
nicholas
>From: "Baveco, Hans" <Hans.Baveco at wur.nl>
>Reply-To: The general-purpose Squeak developers
>list<squeak-dev at lists.squeakfoundation.org>
>To: "The general-purpose Squeak developers
>list"<squeak-dev at lists.squeakfoundation.org>
>Subject: RE: Graphical Display of 100,000 objects
>Date: Tue, 28 Mar 2006 11:18:43 +0200
>
>Mart-Mari,
>It would really be interesting to hear a bit more about how you did this
>visualization with OpenGL. Did you use a Croquet image for this?
>
>Hans
>
>-----Original Message-----
>From: Mart-Mari Breedt [mailto:breedt_m at aircom.co.za]
>Sent: dinsdag 28 maart 2006 7:22
>To: The general-purpose Squeak developers list
>Subject: RE: Graphical Display of 100,000 objects
>
>Hallo,
>
>I had a similar problem once - I had to code an ACO (Ant Colony
>Optimization) solution that had a graphical component showing the Ants
>walking along the various routes and then finding the best route. I used
>OpenGL for the graphical part and it worked great!
>
>Kind regards,
>
>Mart-Mari
>
>-----Original Message-----
>From: Yoshiki Ohshima [mailto:yoshiki at squeakland.org]
>Sent: 28 Maart 2006 01:19
>To: The general-purpose Squeak developers list
>Subject: Re: Graphical Display of 100,000 objects
>
> Ron,
>
> > I saw it but wasn't sure how difficult it would be to plug it in, and
>I was
> > wondering if it was overkill, holding simulation functionality, when I
>
> > already have objects doing the work.
>
> What do you mean by "plug it in"? Even you don't do the tile
>scripting, it should be much, much easier than "plug Open GL in".
>
>-- Yoshiki
>
>
>
>
>
More information about the Squeak-dev
mailing list
|