I had a SiS Mirage 3 Graphic card and I want to directly programming it like what I did to my processor. Anyone know how to do that? Like, direct acessing the memory, multiplying using GPU etc.
I used HLSL for a while and it was pretty direct, although slightly higher level than pure assembly (buy not too much), it seemed very fast.
Cg is slightly lower level, and also good.
Other than that, you can use lowest level such as ARB but i haven't seen straight forward compilers for it and i'm not sure how that would work.
It all depends on what you want to do.
Also the GPUs keep getting updated a little bit faster than the CPUs, at least that was my impression, so i'm not sure how easy (or cheap) it would be to get a low level compiler which supports all of the newest instructions.
You'll probably have to register as a developer with the manufacturer/supplier and then you can download their developer kits and SDKs.
These kits should give you direct access to the GPUs and VRam.
:8)
read this wiki pages,you may find something useful:
GPGPU (http://en.wikipedia.org/wiki/GPGPU)
OpenCL (http://en.wikipedia.org/wiki/OpenCL)
CUDA (http://en.wikipedia.org/wiki/CUDA)
Farabi,
reading some of your question, I've got the impression, that you should first learn the mathematics used for 3D programming and then come back to implementation. Visiting the mathematic basic course of an technical university (or similar) as an auditor should give you an good intro.
qWord
Very little is possible with your current graphics card my guess is (based on my experience with my former Nvidia 5200 anything you learn will be like coding 16 bit ASM apps for Windows 7 applications
Quote from: qWord on February 25, 2012, 06:32:47 PM
Farabi,
reading some of your question, I've got the impression, that you should first learn the mathematics used for 3D programming and then come back to implementation. Visiting the mathematic basic course of an technical university (or similar) as an auditor should give you an good intro.
qWord
I cant found any good 3D math books, lots of the articles only disscuss it partially and I had no clue what keyword I should use on google.
ok then,
here is a link for you,
flipcode (http://www.flipcode.com/archives/articles.shtml)
scroll down to the Featured Article Series & Columns,
and there you have 3D Geometry Primer chapter 1. and 2.
start with those...