change the shadow color in Shadow Volume
Tue, 8 Jul 2008 05:37:37 -0700 (PDT)
How do I change the shadow color in Shadow Volume(DirectX Sample
Browser November 2007,July 2004)?
I want to change the color of shadow to be float4(0.7f,0.7f,0.7f,
1.0f).
I mean the shadow color is not the g_vShadowColor for debug. ...
|
would like source code for DXCapsViewer, or similar
Mon, 7 Jul 2008 11:19:44 -0700 (PDT)
Is there any C++ code floating around that does the equivalent of what
DXCapsViewer does?
(This is pretty simple code ... I was just hoping I wouldn't have to
redo it.)
Thanks,
kodecharlie ...
|
Texture and Multithread questions
Mon, 7 Jul 2008 01:30:50 -0700 (PDT)
Hi!
I'm doing asynchrone loading for my texture.
I have a MainThread and a LoadingThread.
The main thread push back texture request to the loading thread and
use a default texture while it's ready
The loading thread do this:
- Create a texture
- Lock
- fill data from file
- Unlock
it's working f ...
|
How many bones is tiny?
Sat, 5 Jul 2008 21:40:43 +0800
I'd want to know how many bones exist in the tiny.x model? I need the total
in order to manipulate them.
Thanks
Jack
...
|
Adjacency Generation
Fri, 4 Jul 2008 20:34:57 +0200
Hello.
I've implemented an algorhytm that, from an index buffer, discovers the
adjacency buffer and insert it (following D3D10 documentation) into the
index buffer.
But, if the vertex has not got adjacences, what have i to write??
i0 = this->MeshData.Indices[i*3];
i1 = this->MeshData.In ...
|
Shadow Volume Final Rendering
Fri, 4 Jul 2008 20:26:28 +0200
Hello.
I finally have created a shadow volume, but now i do not know how to render
it propely
I create a black quad, and i render it on the screen.
At first,i render the original geometry, then the shadow volume and finally
the quad.
But really i'm not able to see a decent shadow. Here is how i'm working ...
|
Screen Capture Using DirectX
Fri, 04 Jul 2008 10:31:09 +0200
Hi Everybody,
I've done a small application that plays video (wmv) full screen using
the standard TMediaPlayer in Delphi 2007.
Now i'm trying to add the code to grab the screen and save it to a BMP
or JPG on local disk every N minutes.
I'm using this code found on internet :
procedure ScreenShot(x : ...
|
|
|
DirectX and dialogbox
Thu, 3 Jul 2008 09:43:04 -0700
I presently am trying to finish an full screen app which uses dialog boxes
via DialogBoxParam() call. Unfortunately, one of the dialog boxes refuses to
fully paint itself at times. In previous version, I have been able to us the
now defunct FlipToGDISurface() call to fix this in other apps. Can one still
us ...
|
raycasting question
Sun, 29 Jun 2008 22:55:33 -0700 (PDT)
I have a texture containing the world positions represented by every
pixel that is rendered. By rendering a fullscreen quad, for each pixel
that is rendered I extract the world position and I want to take 20
samples into the screen, thereby determining 20 world positions from
the camera to the rendered pixel, so ...
|
Rotation of an object shrinks it...
Sun, 29 Jun 2008 15:05:25 -0700 (PDT)
Hi,
I'm basically making a 2D engine, I've started with DirectX few months
ago, so I'm still learning alot of stuff while working with it...I
mean, don't get angry with my questions xD
My situation - I'm using orthogonal projection in my application, it's
set with this code:
D3DXMatrixOrthoLH(&m_matProj, ...
|