News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GPU Programming

Started by Farabi, February 25, 2012, 06:46:43 AM

Previous topic - Next topic

Farabi

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.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

braincell

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.

vanjast

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)

dancho

read this wiki pages,you may find something useful:

GPGPU
OpenCL
CUDA

qWord

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
FPU in a trice: SmplMath
It's that simple!

oex

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
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

Farabi

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.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dancho

ok then,
here is a link for you,

flipcode

scroll down to the Featured Article Series & Columns,
and there you have 3D Geometry Primer chapter 1. and 2.
start with those...