Board index » cppbuilder » OpenGL and Direct3D and Internet

OpenGL and Direct3D and Internet

I am trying to find information on programming for OpenGL and Direct3D.
I am unable to find the message date 2/14/99 on "Help with OpenGL" as
another message in the group had pointed too, and I have seen a lot of
messages talking about DirectDraw but not Direct3D.  I am new to Windows
programming, and C++Builder3 Std (bought it 5 days ago).  I have
programmed OpenGL on unix and dos machines (using borland 4.52).  Also I
am curious if Internet and TCP/IP programming can be done at all in
Borland Standard.  I am under the impression that only Professional has
the built in support of internet capacity, but can i work in the
background through includes and external libraries to make socket calls
and packet transfers on my own.  I would appreciate any help, or even
just get a good point in the right direction of where I might find this
info.  Haven't found it in the online Help yet.  Still looking though.
Thank you.

David Cafaro
dcaf...@mindspring.com

 

Re:OpenGL and Direct3D and Internet


"David A. Cafaro" <dcaf...@mindspring.com> wrote:

Quote
>I am trying to find information on programming for OpenGL and Direct3D.
>I am unable to find the message date 2/14/99 on "Help with OpenGL" as

I presume you're looking for the BCB-specific OpenGL initialization
stuff. You can 'roll your own':

1. read the chapter in the Windows help file called OpenGL. It
describes the wgl* functions for setting up an opengl context &c.
2. note that you have to call _control87(MCW_EM, MCW_EM);
before you do any 3d stuff. This call disables the fpu exceptions that
would otherwise get in the way.

Or you can download a component. I've written a component called ScrGL
that is specially geared towards consumer leisure 3d cards for games
&c., so it works with Quake MiniGLs, 3dfx cards, mode-changing &c.
www.wischik.com/lu/programmer.html#opengl
I have a few links on that page to other BCB3/OpenGL sites.

--
Lucian Wischik, Queens' College, Cambridge. www.wischik.com/lu

Re:OpenGL and Direct3D and Internet


Thank you.  That is some of the stuff I am looking for.  I also managed
to find more in the archives that I was after (though strangly I never
did find that Help with OpenGL message?).  I'm looking foward to diving
into the Windows invironment (though I still like unix better)  and I
think Builder is going to help a great deal.  I am a little worried
about performance issues (all these warnings of floating point, integer
math speeds and networking bottle neck issues) but I hope I will find
ways around those.  Thank you for the information, and I will definetly
dive into this stuff.

David Cafaro

Quote
Lucian Wischik wrote:

> "David A. Cafaro" <dcaf...@mindspring.com> wrote:
> >I am trying to find information on programming for OpenGL and Direct3D.
> >I am unable to find the message date 2/14/99 on "Help with OpenGL" as

> I presume you're looking for the BCB-specific OpenGL initialization
> stuff. You can 'roll your own':

> 1. read the chapter in the Windows help file called OpenGL. It
> describes the wgl* functions for setting up an opengl context &c.
> 2. note that you have to call _control87(MCW_EM, MCW_EM);
> before you do any 3d stuff. This call disables the fpu exceptions that
> would otherwise get in the way.

> Or you can download a component. I've written a component called ScrGL
> that is specially geared towards consumer leisure 3d cards for games
> &c., so it works with Quake MiniGLs, 3dfx cards, mode-changing &c.
> www.wischik.com/lu/programmer.html#opengl
> I have a few links on that page to other BCB3/OpenGL sites.

> --
> Lucian Wischik, Queens' College, Cambridge. www.wischik.com/lu

Re:OpenGL and Direct3D and Internet


Thank you.  That is some of the stuff I am looking for.  I also managed
to find more in the archives that I was after (though strangly I never
did find that Help with OpenGL message?).  I'm looking foward to diving
into the Windows invironment (though I still like unix better)  and I
think Builder is going to help a great deal.  I am a little worried
about performance issues (all these warnings of floating point, integer
math speeds and networking bottle neck issues) but I hope I will find
ways around those.  Thank you for the information, and I will definetly
dive into this stuff.

David Cafaro

Quote
Lucian Wischik wrote:

> "David A. Cafaro" <dcaf...@mindspring.com> wrote:
> >I am trying to find information on programming for OpenGL and Direct3D.
> >I am unable to find the message date 2/14/99 on "Help with OpenGL" as

> I presume you're looking for the BCB-specific OpenGL initialization
> stuff. You can 'roll your own':

> 1. read the chapter in the Windows help file called OpenGL. It
> describes the wgl* functions for setting up an opengl context &c.
> 2. note that you have to call _control87(MCW_EM, MCW_EM);
> before you do any 3d stuff. This call disables the fpu exceptions that
> would otherwise get in the way.

> Or you can download a component. I've written a component called ScrGL
> that is specially geared towards consumer leisure 3d cards for games
> &c., so it works with Quake MiniGLs, 3dfx cards, mode-changing &c.
> www.wischik.com/lu/programmer.html#opengl
> I have a few links on that page to other BCB3/OpenGL sites.

> --
> Lucian Wischik, Queens' College, Cambridge. www.wischik.com/lu

Re:OpenGL and Direct3D and Internet


Try The Bits OpenGL tutorial:
http://www.richplum.co.uk/cbuilder/tutorials/gfx_hardware.htm

There's a shareware OpenGL component available from:
http://www.richplum.co.uk/cbuilder/components/graphics.html

NB. The tutorial section will shortly be updated and currently has broken links
when trying to access the rest of the site. In addition this URL will change in
the new design, in which case go to the tutorials index at:
http://www.richplum.co.uk/cbuilder/tutorials

HTH
Will Green - Bits Editor
--
"Injustice anywhere is a threat to justice everywhere." - King
The Bits C++Builder Site:  http://www.richplum.co.uk/cbuilder
Delphi Developer's Survey: http://www.richplum.co.uk/survey

Quote
"David A. Cafaro" wrote:
> I am trying to find information on programming for OpenGL and Direct3D.

Other Threads