From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 15:12:11 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 B4E5516A4CE for ; Tue, 31 Aug 2004 15:12:11 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4002143D55 for ; Tue, 31 Aug 2004 15:12:11 +0000 (GMT) (envelope-from henrik.w.lund@broadpark.no) Received: from [10.0.0.3] (52.80-202-129.nextgentel.com [80.202.129.52]) by mail.broadpark.no (Postfix) with ESMTP id 5CDBB3646; Tue, 31 Aug 2004 17:12:48 +0200 (MEST) Message-ID: <41351372.5080402@broadpark.no> Date: Tue, 31 Aug 2004 17:10:26 -0700 From: Henrik W Lund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: nb, en-us, en MIME-Version: 1.0 To: doug@polands.org References: <20040830154839.5795.qmail@web40701.mail.yahoo.com> In-Reply-To: <20040830154839.5795.qmail@web40701.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:12:11 -0000 Doug Poland wrote: >Hello, > >I've got a friend that's a C++/OpenGL hacker. He's got a nifty OpenGL >app that he wants to port to FreeBSD. I've no experience with OpenGL >development on FBSD. Are there any OpenGL developers out there that >can point me to FAQs or docs that are necessary to work in this >environment? > >Many TIA > >- >Regards, >Doug > Greetings! 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 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. 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*. Hope this helps! -Henrik