*BSD News Article 49354


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!ix.netcom.com!howland.reston.ans.net!europa.chnt.gtegsc.com!news.mathworks.com!fu-berlin.de!dirac.physik.fu-berlin.DE!not-for-mail
From: graichen@dirac.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: OpenGL for FreeBSD?
Date: 20 Aug 1995 06:26:26 GMT
Organization: Freie Universitaet Berlin
Lines: 48
Message-ID: <416kii$rkv@fu-berlin.de>
References: <416cbm$iq4@rigel.infinet.com>
NNTP-Posting-Host: dirac.physik.fu-berlin.de (130.133.3.124)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]

Wilson Liaw (macgyver@infinet.com) wrote:
: Is there an implementation of OpenGL for FreeBSD?

: -- 
: Wilson MacGyver   macgyver@infinet.com
: --------------------------------------
: Each new story, no matter how many you've written before, is a new,
: unlimited promise--to yourself.	       - Nancy Kress

try Mesa http://www.ssec.wisc.edu/~brianp/Mesa.html - it compiles and works
fine under FreeBSD (... ok some small things you have to do ...) - we
(mostly satoshi) are working on a port 

t

p.s.: if you get floatingpoint-exeptions from some of the demos and samples
- insert an #include <floatingpoint.h> and a fpsetmask(0); into main - or
the in my opinion better way - apply the following patch to your kernel and
recompile it (... hint to bruce - don't forget to bring it into the tree :-) 

t

description: this patch changes the behaviour of FreeBSD at floating point
  execptions to a more widely used (less floating point exeptions - only 53
  bit precision)
todo: copy sys/i386/include/npx.h to /usr/include/machine too, rebuild kernel

diff -r -u sys/i386/include/npx.h~ sys/i386/include/npx.h
--- sys/i386/include/npx.h~	Tue Jan  3 04:57:46 1995
+++ sys/i386/include/npx.h	Fri Aug  4 20:33:22 1995
@@ -138,7 +138,7 @@
 #define	__INITIAL_NPXCW__	__iBCS_NPXCW__
 #endif
 #else
-#define	__INITIAL_NPXCW__	__BDE_NPXCW__
+#define	__INITIAL_NPXCW__	__BETTER_BDE_NPXCW__
 #endif
 
 #ifdef KERNEL

 _______________________________________________________||_____________________
                                                  __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____