Here is my first DirectX program (source + exe 60kb):
http://igrodel.ru/api/1_d3d_textures.zip (60kb)
Here is my first DirectX program (source + exe 60kb):
http://igrodel.ru/api/1_d3d_textures.zip (60kb)
Huh... looks like the archive ends unexpectedly (i got an error about this).
Can you re-upload your archive? I'm anxious to see how you got rid of those huge D3DX*.dll's. :razz:
Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.
AAAaaa! That's true, file was broken. I reuploadet it! =)
Just took a brief look at your code, and it looks nice.
However, it's far to much work to replace all D3DX routines with home-made ones. Not to mention all the optimizations you have to write (SSE 'n stuff) in order to get the same performance as usual Direct3d apps.
But for ppl who do not use many the D3DX functions, this would be a very good alternative.
Good work!
Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.
You might want to check Asphyre eXtreme and/or Asphyre Casual as both don't need D3DX for 2D/3D stuff. For that matter, Asphyre 4.1 requires D3DX because of HLSL shaders, which cannot be used in any other way.
P.S. You might want to read Open Source license statements prior to "ripping out code from various sources" (tinyd3d.pas), as you are most likely violating some author's rights by doing so, which is a looser attitude. [size=7px]If you got something for free, at least do a little favor and credit the original author.[/size]
Lifepower, all credits are already given.
Tinyd3d.pas source code ripped out from http://labo.xo-ox.net/ blog
By the way, it's in japanese, i don't know japanese, so i give only a link to his/her www in the top of tinyd3d.pas.
just reviewed Asphyre source code. Very good source to learn some basics of DirectX, D3D.
i think that is the idea of open sourceOriginally Posted by Georgy
From brazil (:
Pascal pownz!
Mesa (gl) source code is very interesting to understand gluperspective and glulookat and apply them to DirectX HAHAHA =)
Interesting. Is it possible to create a ID3DXSprite without D3DX?
Bookmarks