arb assembly tutorials?

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

arb assembly tutorials?

Post by xDan »

Last edited by xDan on Tue Apr 05, 2011 9:12 am, edited 1 time in total.
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

What reason could you have to want to learn ogl assembly? :s
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

It's supposed to be more widely supported. e.g. on older systems and on integrated intel graphics, netbooks... a fair amount of people don't have GLSL support.

CG could be another option, I've heard it can target arb assembly... but right now I can't be bothered to download the CG toolkit. And learning a low level language might be educational for me :)
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

I thought glsl was converted to ARB when sent to the GPU :!:
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

I think that's the way all compiled languages work, don't they?
e.g. C++ code gets converted to assembly by the compiler

But i think older GPU's lack this GLSL to ARB compilation feature.
Not that i know anyone who owns such a GPU.
Even though i'm from Cambodia. :)


EDIT: which reminds me of line from IT Crowd
I'm sorry, are you from the past?
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

No, as far as I can gather, GLSL is not converted to ARB asm.

arb assembler is actually a language in its own right (apparently it's not even actual assembler, there is some other step where it is optimised and stuff by the driver)

There's a lower level "microcode" thing that both arb asm and GLSL are compiled to.

> Not that i know anyone who owns such a GPU.
You don't know anyone with a netbook? :)
or anyone with integrated intel graphics over a couple of years old?

...

I take it no one has any tutorials then? :P
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Do seriously want people to play games on netbooks?
People with shitty HW usually don't play games.
Except for Tetris.
xDan wrote:I take it no one has any tutorials then?
Nope. Their production has been stopped before the rise of the Internet.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

> Do seriously want people to play games on netbooks?

Yes I do. There's Intel AppUp for a start. And there's so few new 3D games that would work on a netbook, who knows, there might be opportunities there.

> People with shitty HW usually don't play games.
> Except for Tetris.

That's nonsense. Did you miss the whole casual games thing? Not everyone upgrades their PC every 5 weeks.

It also seems a bit odd that my simple puzzle game should have higher gfx requirements than Doom 3. Especially if it's not even necessary to achieve the effects I want.

> Nope. Their production has been stopped before the rise of the Internet.

OH VERY FUNNY!

Yeah, I get your opinion: it's based on technological elitism and not useful to anyone developing (or at least attempting to develop) commercial apps.
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

guys do not bash on dan :)

they are right that the casual games market is a VERY good place to be making money. 8)

practically everyone in developed countries has some form of mobile entertainment. and clever little puzzle/physics based games are really fun and people DO buy them, since they are also usually cheap.

in my city i know several people who work at firms that have sections dedicated to making casual games for mobile devices and they are very well off financially.
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Handhelds - sure. But netbooks? I'm sorry, but i just don't buy it.

Anyway, if you really want to support all kinds of HW, you can also kind-of fake shaders on the software. Post processing would be the easiest one, things like per pixel lighting hard. I think you could use some kind of SW deferred rendering - instead of processing the g-buffers on the GPU, you would process them with CPU.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

why not netbooks? i do... when i am bored.

tremulous is a fun game to play on netbook. im not the biggest fan, i will admit, i prefer my desktop to my netbook for gaming any day, but on a long ride on the metro i will take out my netbook and yes play. :)
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Post by hendu »

Intel irony: The 945g can do GLSL & OpenGL 2 under linux, but not windows. ARB assembly is of course available under both.

I don't know of any tuts, not that I have searched ;) Cg can target ARB, that's enough for me.
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

> Handhelds - sure. But netbooks? I'm sorry, but i just don't buy it.

Well, I'm not certain, but it's worth a try. Especially since it'll also enable me to support older PCs as well. Puzzle game fans probably are not in the same bracket as FPS players.

Software stuff is interesting but probably slow and likely quite difficult for me to do. assembly shaders should give some extra support with fairly minimal effort on my part.

> Intel irony: The 945g can do GLSL & OpenGL 2 under linux, but not windows

That's funny :lol: Well, at least Linux is getting the upper hand for once.

Probably I'll look at Cg when I find assembly is too complicated for me.
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

Just in case anyone is interested or comes here from google...

Here's probably the most useful thing I've found so far:

http://developer.nvidia.com/docs/IO/823 ... rogram.pdf
http://developer.nvidia.com/docs/IO/823 ... rogram.pdf
RVM
Posts: 13
Joined: Sun Mar 27, 2011 6:14 pm
Location: France
Contact:

Post by RVM »

//When I wrote this, only God and I understood what I was doing
//Now, God only knows
Post Reply