From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 15:56:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A03BB16A4CF for ; Tue, 31 Aug 2004 15:56:36 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC38643D58 for ; Tue, 31 Aug 2004 15:56:31 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id EE3C1357A8; Tue, 31 Aug 2004 17:56:29 +0200 (CEST) Date: Tue, 31 Aug 2004 17:56:24 +0200 From: Miguel Mendez To: Henrik W Lund Message-Id: <20040831175624.6ac2d546.flynn@energyhq.es.eu.org> In-Reply-To: <41351372.5080402@broadpark.no> References: <20040830154839.5795.qmail@web40701.mail.yahoo.com> <41351372.5080402@broadpark.no> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.9; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__31_Aug_2004_17_56_24_+0200_4hjhABq.uz3m3Q5K" cc: freebsd-questions@freebsd.org Subject: Re: OpenGL development on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 15:56:36 -0000 --Signature=_Tue__31_Aug_2004_17_56_24_+0200_4hjhABq.uz3m3Q5K Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 31 Aug 2004 17:10:26 -0700 Henrik W Lund wrote: Hi, > Having hacked some OpenGL on FreeBSD myself, I found www.opengl.org to > > be helpful (the obvious one, perhaps), as well as NeHe's tutorials > over on nehe.gamedev.net Yes, those tutorials are excellent. Kilgard's `OpenGL programming for the X Window System' also makes a good start if you prefer dead tree documentation, although the Motif stuff is not that useful these days, but the basics remain the same. > Basically, any stuff that's valid for Linux, is also valid for > FreeBSD. The OpenGL API is identical (and comes installed with X), the > only thing that might be different is the placement of libraries and > headers, but this is handled during compile-time anyways. The other > thing is hardware acceleration. I'm fuzzy on this, but my impression > is that this is somewhat non-existent on FreeBSD. The only exception > quite possibly being the NVIDIA drivers. I'd say FreeBSD is almost on par with Linux with regards to 3D hardware acceleration, the exception being high end ATi cards which only work with ATi's closed source drivers. All cards supported by the DRI open source drivers work fine in FreeBSD. I haven't noticed performance difference between Arch Linux and FreeBSD 5.3 when it comes to OpenGL apps. Ironically, my little SDL benchmarks performed better on the BSDs, even when one of the CPUs was busy. Could be a scheduler side effect, not sure. > If he's porting from Linux, my guess is that he's got a fairly easy > job ahead of him. If he's porting from Windows, that's going to pose a > lot more work. Also, he'll need to use one of the appropriate > libraries (GLUT or SDL) unless he wants to code directly atop libX11 > *shudder*. All modern toolkits allow integration with OpenGL these days, be it SDL or GTK+/Qt if you need something more feature rich. I see little reason not to use them. Just my $0.02 -- Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 Note: All HTML and non-english mail goes to /dev/null --Signature=_Tue__31_Aug_2004_17_56_24_+0200_4hjhABq.uz3m3Q5K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBNJ+rnLctrNyFFPERAtbYAJoDlJzAVJwAbe3CICxm7qdk2EQIeACfXNqv KUogmSbQ4SrDJcc3/wa3Xl0= =EYaB -----END PGP SIGNATURE----- --Signature=_Tue__31_Aug_2004_17_56_24_+0200_4hjhABq.uz3m3Q5K--