Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 17:56:24 +0200
From:      Miguel Mendez <flynn@energyhq.es.eu.org>
To:        Henrik W Lund <henrik.w.lund@broadpark.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OpenGL development on FreeBSD
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <henrik.w.lund@broadpark.no> 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 <flynn@energyhq.es.eu.org>
	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040831175624.6ac2d546.flynn>