Problems with depth-buffer
13 Mar 2007 14:09:47 -0700
Hi
I'm using VC# 2005 Express with DirectX9 (no XNA).
I have 2 different textured meshes that I want to place in a 3D-Room.
the first, which is a rope, and the other is a pulley. I want to put
the rope around the pulley. When I'm far away of the objects the rope
is drawn in front of the pulley (which is w ...
|
device.Transition.World not rotating mesh
11 Mar 2007 19:13:39 -0700
Hello, I've been tearing my hair out trying to get this mesh to rotate
and I couldn't find any example code or discussion that covered this
issue. Everyone else seemed to be rotating their meshes fine!
The mesh displays (a sphere with a texture) and I can roll it around
its 3 axis with the mouse.
Does an ...
|
Drawing lines in VB2005
Sun, 11 Mar 2007 09:26:56 -0700
My VB6 program draws two traces, a Heart sound and an ECG, in real time like
an oscilloscope. At 300 beats-per-minute it draws six horizontal pixels
worth which is six lines each in the two traces. This takes about 3.412
milliseconds.
The best I can do with vb.net graphics is about 55 milliseconds.
I u ...
|
MDX9 1.1 in WPF Window
Sun, 11 Mar 2007 03:22:08 -0700
I am attempting to use MDX in a WPF Window by embedding a WinForms control in
WPF. The good news is that it works, the bad news is that there is a
consderable ( about 2 minutes ) delay in starting the app.
I enabled unmanaged debugging and the cause appears to be the DX9 dll is
loaded, fails and is unload ...
|
PositionNormalTextured skybox definition
10 Mar 2007 04:49:09 -0800
Hi,
I'm trying to create a skybox following an internet tutorial and was
wondering if it's important which order you declare the verticies of
each face?
Thanks
Gareth
...
|
rotating directshow.net
9 Mar 2007 09:19:36 -0800
thanks to your help i tried to add a filter on a program in order to
rotate the preview picture. To achieve this I implemented this
snippet
public IFilterGraph2 m_graphBuilder = null;
public IVMRFilterConfig9 pconfig = null;
public IVMRWindowlessControl9 pWC = null;
public IVMRMixerControl9 pMix = null;
pub ...
|
why is my terrain lighting so jagged?
8 Mar 2007 00:44:55 -0800
Hi,
I am trying to calculate the normals for my terrain, and it's nearly
there, it's a big improvement on what I've had, but the lighting is
jagged. There's a picture here:
http://austere3d.gallery.netspace.net.au/Terrain/JAGGED
I loop through the rows/columns and in the loop I do this:
i = VertexI ...
|
|
|
setting and accessing pixel and vertex shader constants
7 Mar 2007 00:26:45 -0800
Hi,
I need to pass over constant information at the start of each frame
for use by my shaders. I am doing, for instance, in my program:
Device.SetVertexShaderConstant(0, timeOfDay)
and in my effect file I initialise this as
float timeOfDay : register(c0);
and in my vertex shader I reference the v ...
|
2005C# DX9 Font Quality
Tue, 6 Mar 2007 09:18:08 -0800
Hi,
I'm working on a VS2005 C# DX9 application, with a 3D Windowed DX viewport.
Using DrawText works fine, but the font quality and size is different than
what is rendered to a standard GDI text output on a DC/Window for the
identical font parameters.
The text looks about 1/2pt smaller, the kerning is dif ...
|
CreateMsgQueue
Mon, 5 Mar 2007 01:37:15 -0800
hello all,
I has been create a small App that will prompt user a message when user
press on Hardware power button. Im using CreateMsgQueue and
RequestPowerNotifications API.
There 1 weird thing is, when i trying run it on HP device's WM5 platform.
Its runned perfectly.
But when i trying run it on ano ...
|