Free2Code
 
Time: 2008-11-21, 09:48pm
3D Library
Subject: 3D Library  ·  Posted: 2006-01-14, 02:57am
Rank: ? (2)
Member #: 26376
Hello everyone.

I was having those weird thoughts lately.

For if it is possible to write a 3d library or not?
Im having a new project running up for which I need blazing fast but very very simple calculations on grafic level. Therefore I think I need a fast access to hardware. But I dont know how and which.

As for I know, every abstraction level reduces performance massively. Something like open gl can do too much for my needs. Ive been using open gl for some small things but never looked behind it. I dont need portability either so I dont mind if I have to use assembly to increase performance (since abstraction to c reduces performance) somewhere but I was aiming for c.

Does anyone know open gl does the hardware access or maybe someone has a simply example for accessing the vido memory directly.

 
  Reply to this ·  Post link ·  Top
Subject: Re: 3D Library  ·  Posted: 2006-02-14, 08:27am
Rank: ? (767)
Member #: 11085
OpenGL can access hardware because the manufacturers of your video card provide drivers that tell it how to do so.

You could write your own software 3d graphics software library, if you knew the math behind it.

- relpats_eht
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons