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, ...
|
VSYNC makes CPU high in fullscreen ?!
Thu, 26 Jun 2008 10:05:36 -0700 (PDT)
Hi,
I have a simple renderloop, which just clears the screen to black and
draws FPS in the top left corner. If I switch to fullscreen with VSYNC
on, my application starts eating 20-30% CPU for just calling a Clear
and Present. If I switch off the VSYNC, it works fine, causing 0-1%
most of the time. I'm using ...
|
|
|
Problem playing video with DX9.
Thu, 26 Jun 2008 06:05:01 -0700
I have written a video playback window using DirectX9. For every frame of
the video, I render the video to an off screen surface, then Stretch it to
window size to the device's back buffer and then uses the device's Present to
paint it to the actual window. Most of the time this works correctly. But
somet ...
|
computer-graphics-softs page
Wed, 25 Jun 2008 07:06:01 -0700 (PDT)
Hi my new blog about cg soft
http://computer-graphics-softs.blogspot.com/
And link download for more!! ...
|
simple .dll question (i hope)
Tue, 24 Jun 2008 18:53:13 +0100
Hi,
I have installed a fresh XP Pro 32bit OS and ran my c++ program that I
compiled on another PC (which runs fine).
When I run it on my new install of XP I get:
This Application has failed to start because d3dx9d_36.dll was not
found. I have looked in windows\system32 and its not there :(
1: why is m ...
|