how to pass a float4 to hlsl using vb
18 Feb 2007 15:55:10 -0800
Hi,
I have an effect file that I am trying to set the values for. For
example:
fx.SetValue("matView", _viewMatrix)
fx.SetValue("matViewProjection", _projectionMatrix)
fx.SetValue("fSpecularPower", 25)
fx.SetValue("base_Tex", t._texture(0))
That all works fine, but I cannot for the life of me get ...
|
How do I load a texture from memory?
16 Feb 2007 06:34:34 -0800
Does anyone have steps on how to load a text bitmap object?
I have information that I am updating several times during the course
of the application. Currently my plan is to render the information as
a bitmap and display that bitmap as a texture on a sprite.
The only thing I can't figure out is how to loa ...
|
Questions about 2D in 3D.
15 Feb 2007 10:22:02 -0800
'Cause I have no idea what I'm doing. :)
( Managed DirectX Feb, C# )
I think I'm finally getting the hang of this "2D in 3D" thing but I do
have some questions.
First, usage:
I'm using this to present a "map" of the land.
This map can be any where from 20x40 up to 256 x 160.
I would like to be able to z ...
|
directX font & japanese
Thu, 15 Feb 2007 10:44:00 +0100
Hello all,
I want to display japanese texts in my directx application.
1) Is it possible to use the Font class to do that?
2) If YES, how does it works? Japanese has more than 5000 characters. If I'm
right, the Font object creates an "atlas" with all the characters, which
might be a little bit enormous.
...
|
Resolution DirectX3D managed
Wed, 14 Feb 2007 07:15:31 +0100
Hello,
after a lot of problems, i have accomblish to switch in fullscreen-mode and
back. Also i can render a Sprite with a definied transparent color. Now i
have two new problems:
a) When i toggle to fullscreen and i look at my mousecoordinates they are
not the in the resolution that i want. For example i ...
|
Add MS Source Filter
Tue, 13 Feb 2007 16:45:18 -0800
The following statement always adds a third-party source filter, rather than
the MS Async Source one.
GraphBuilder.AddSourceFilter(inputpath, "Source Filter", out sourcefilter);
Is there a way to avoid this by specifically using MS Async filter via
DirectshowLib.Net?
...
|
How To Pick Winning Stocks
Thu, 15 Jun 2006 08:31:01 GMT
To pick winning stocks, you need the tools to separate
the companies with superior sales and profit growth from
the ones who are just making a lot of noise. Besides
choosing the right companies to invest in, you must
learn how to read the market's trend so that your timing
is right.
And picking the next ...
|
|
|
Sprite.Draw2D
Wed, 14 Jun 2006 19:53:50 +0100
Sorry for new post but my question is specifically on this now:
ZMan said to get the Draw2D of sprite to draw the texture correctly i have
to subtract 0.5 from x and y. I have tried everything and still cant get it
to draw correctly so here is my code. Why cant i get it to go right?:
public void CreateSp ...
|
Problems with AudioVideoPlayback
Wed, 14 Jun 2006 03:09:01 -0700
Hi,
I am trying to do little media player with DirectX.AudioVideoPlayback on
Visual Basic 2005 Express, but I am having a lot problems with it.
The biggest problem I have is with playback itself. For unknown reason some
MP3 files won't play even though the files should be okay (and they play fine
with ot ...
|
Surely a simple prob i hope
Tue, 13 Jun 2006 14:33:32 +0100
Hey guys
I have a few issues all of which are strange so i hope someone can clarify
fo rme.
First of all i have a windowed app, 800 x 600 in size.
I write all my mouse positions to the console verytime i move the mouse and
i find when i move th emouse to the far right edge of my window it goes to
79 ...
|