What is cameraUpVector ?
14 May 2006 20:59:34 -0700
Hi All,
I saw the explanation of cameraUpVector:
cameraUpVector Microsoft.DirectX.Vector3
A Vector3 structure that defines the up direction of the current world,
usually [0, 1, 0].
but, what is up direction ??
Best regards,
Boki.
...
|
Why GraphicsStream be occupied..
14 May 2006 20:02:50 -0700
Hi All,
I modified the sample code in order to draw 2 triangle:
////////////////////////////////////////////////////////
public void OnCreateVertexBuffer(object sender, EventArgs e)
{
VertexBuffer vb = (VertexBuffer)sender;
GraphicsStream stm = vb.Lock(0, 0, 0);
///////////////// add a str ...
|
Why not pass device directly?
14 May 2006 19:35:56 -0700
Hi All,
I saw the directX sample:
public void OnCreateDevice(object sender, EventArgs e)
{
Device dev = (Device)sender;
// Now Create the VB
vertexBuffer = new
VertexBuffer(typeof(CustomVertex.TransformedColored), 4, dev, 0,
CustomVertex.TransformedColored.Format, Pool.Default);
...
|
Directshow RTP source filter
Fri, 12 May 2006 05:38:02 -0700
I don't konw how to use RTP source filter .I can't set the IP address by
filter properties.why?
thank you
leon ...
|
Why call handler as Reset;
11 May 2006 20:45:06 -0700
Hi All,
Why call a handller as reset, it is a little confusin.
public event EventHandler DeviceReset;
Best regards,
Boki.
...
|
Create Device Problem in MFC application
Thu, 11 May 2006 15:16:03 -0700
Hi!
I am developing a MFC based DirectX application. In the initialization, the
code cannot create device.
I do not know what the problem is. I am enclosing the part of the code
below. Any help is highly
appreciated.
Regards.
[SDI MFC CLASS CChildView MEMBER METHOD START]
HRESULT CChildView::Ini ...
|
DirectX SDK - Vertex buffers
11 May 2006 09:15:17 -0700
Hi there,
Newbie to directx, and wanted to know if was possible to build a vertex
buffer containing lots of many vertices, each one with a different
texture ?
Below is the code i used to draw a primative (square) currently and
apply a texture, if i have eighty objects to draw, that is a lot of
procedures ...
|
|
|
Can't setup DirectX
10 May 2006 23:50:38 -0700
Hi All,
Here is my directory setup:
http://photos1.blogger.com/blogger/1641/2018/1600/lib.png
http://photos1.blogger.com/blogger/1641/2018/1600/include.png
but I still get this error message:
------ Build started: Project: Vertices, Configuration: Debug Win32
------
Compiling...
Vertices.cpp
d:\prog ...
|
Will DirectX10 C# work with C++
9 May 2006 08:26:03 -0700
I am writing a DLL for a C++ DX program that passes me a pointer to the
ID3D10Device before calling endScene(). I Would like to use C#, and I
assume there is a lot of similarity between the two. Would it be
possible to write the DLL in C#, and still the C++ ID3D10Device? I
know its a longshot, and sorry if ...
|
setting up visual studio.net for directx
6 May 2006 11:16:00 -0700
hiii, i am a new one in directx programming and i want to write a win32
directx program in visaul studio.net. can anyone tell me which settings
shuold be changed for libraries and header files in vs.net 2003. i am
reading the book "fundamentals of audio and video programming for
games". i hv downloaded the lat ...
|