BBC BASIC for Windows
« DirectX 9 libraries released »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:57pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: DirectX 9 libraries released  (Read 463 times)
rtr2
Guest
xx DirectX 9 libraries released
« Thread started on: Jul 25th, 2015, 4:15pm »

I have released two new libraries for BB4W: D3D9LIB and D3D9LIBA. These are functionally equivalent to the D3DLIB and D3DLIBA libraries except that they use DirectX 9 rather than DirectX 8.

The libraries may be downloaded from the Yahoo! group's Files area here:

https://groups.yahoo.com/neo/groups/bb4w/files/Libraries/

For those who are not members of the Yahoo! group they may alternatively be downloaded from these direct links: D3D9LIB.BBC and D3D9LIBA.BBC.

Programs which simply call functions in D3DLIB (or D3DLIBA), but don't directly use the value returned from FN_init3d(), should require no modification to use the new libraries; for example that is true of PYRAMID.BBC and WORLD.BBC.

Programs that make direct calls to Direct3D will need to be adapted to call Direct3DDevice9 methods rather than Direct3DDevice8 methods. For example LIGHTING.BBC needs the call to enable specular reflections to be changed to:

Code:
     SYS!(!pDevice%+228), pDevice%, 29, 1 : REM Enable specular 

Programs which call routines in the D3DX (D3D extensions) library cannot easily be adapted to use DirectX 9, because of the difficulties in making the necessary DLL available to the end-user (see the comments here). For example that applies to TEAPOT.BBC.

Richard.
User IP Logged

Torro
New Member
Image


member is offline

Avatar




PM


Posts: 25
xx Re: DirectX 9 libraries released
« Reply #1 on: Jul 29th, 2015, 09:20am »

I am planning to upgrade to windows 10 it comes with directx12 as standard. Its a major update particualry how multithreadng is done. Properly I hope.

It would be great to see support for this within BBC basic as a library and would be great marketing.

https://msdn.microsoft.com/en-us/library/windows/desktop/dn899121(v=vs.85).aspx

Im sure there must be a way to check in code which version of direct x is on system check if file exists?
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls