|
Really DirectX 8?
As far as I can remember this is for Win 98/ME.
I found a Microsoft link for non-english versions of 8.1: http://www.microsoft.com/de-de/download/details.aspx?id=10830[^].
You may also check the media of old games. They often provide DirectX installers.
I would not download executables from untrusted sites. The risk of compromising your system is very high.
|
|
|
|
|
Hi,
I am using MFC. I want to draw a color filled object (for example, circle) to show on the top of everything else?
Best,
|
|
|
|
|
First of all, I'm sorry if this isn't the right forum to post this kind of question.
Does someone know if there's still a community for SharpDX after the official forum closed? a place where I could ask specific questions and look at what other people are doing with SharpDX.
I know that xoofx had a good reason to close the forum, but I kind of feel lost trying to understand the differences between the DirectX and the SharpDX api's.
|
|
|
|
|
They mentioned few places for your questions(in the below post), check it out
SharpDX - Closing the forum [^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Thanks a lot, I saw that post, and it makes me sad.
The main problems I have with SharpDX are not related to DirectX, but rather with all the moved cheese on the API.
It's hard to guess if a CreateXXX function on the DirectX API has become:
- A static Create or New method on the XXX type.
- A constructor on the XXX type.
- A static Create method on a factory type.
- A instance method on a factory type.
- A instance method on another type that is related in some way to XXX.
To make it even harder, some types offer more than one or two of the above options, while others seen to offer none. Thats were i wanted help from the comunity.
And on top of all, the toolkit isn't even suported, making it work is just guess work and the hope that something relates to XNA on some way.
That makes me sad, because i do like SharpDX and love all of the conveniences that were added, like the conversion operators.
|
|
|
|
|
Hi
I am trying to separate boundaries in an video or image
Eg putting green lines which can separate the boundaries of the image so that objects in the image can be differentiated
Does anyone know what this process is called
I saw it done in videos before am is trying to program it myself
Please help
|
|
|
|
|
I'm loading a image into the graphics of a form, but the quality is very poor. How to improve? The original image is 48*48 (96dpi). Here's my code:
public partial class Form1 : Form
{
private ImageList ObjImageList;
private int OPERSTEP_SIZE = 48;
public Form1()
{
InitializeComponent();
ObjImageList = new ImageList();
ObjImageList.Images.Add("prodstep", Image.FromFile("ProdStep_BW.gif"));
this.Paint += new PaintEventHandler(Form1_Paint);
}
void Form1_Paint(object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
g.DrawImage(ObjImageList.Images["prodstep"], new Rectangle(20, 20, OPERSTEP_SIZE, OPERSTEP_SIZE));
}
}
|
|
|
|
|
The easiest way would probably be to use an image with a higher resolution than 48*48 but still display it as 48*48 - Are you sure the displayed image on the form is still 48*48?
cheers,
Marco
|
|
|
|
|
|
Thanks for the information, i will check it out!
|
|
|
|
|
you can use directx or gdi +
tell me more about your question to help u .
|
|
|
|
|
install graphics drivers on ur pc
Raisal
|
|
|
|
|
I did not find in the OP's question that he / she was having general problems with the quality of his / her display. The OP made it very clear that when he / she loads an image with a 48x48 dimension that the image he / she loaded was of poor quality.
It is important that you understand the question before you post an absurd reply like you have just did. You should be ashamed of yourself.
|
|
|
|
|
An image with a dimension of 48x48 literally means that you have an image consisting of 48 * 48 pixels. If you load that image into a control with an Image property, and the said control's dimension are bigger than that of the image itself, the image will be stretched (zoomed) to fit the dimension of the control.
However, in a Picturebox you can control how an image is displayed - zoomed, stretched, centered, etc. As mentioned before, try and use a higher resolution image. Higher resolution means a higher number of pixels. That will give you an image file with a greater dimension. The control you are using the display the image (other than a picturebox) will fit the image according to its own dimensions and not that of the image.
Make sure that the control's dimensions are relative to that of the image to prevent the image from being distorted.
|
|
|
|
|
I want to know whether opcode can give me the messages besides triangle. As mesh defined in the opcode is consist of triangles, but most of my model is constructed using polygons, so before my collision qurey, I have to transform the polygons to triangles, but i want to know wether i could know which polygon the triangles detected are belong to. if the anwser is yes, how can i get the message?
I had got the resource from the OPCODE net address, and i also have read the mannual about the OPCODE, but as I wanted to learn some details about the OPCODE, I found it was difficult. And i had got the two projects "opcode" and "CDTestFramework" from that address. because i had not found the information about how to get which polygon the detected triangle is belong to in the user mannual. i hoped to find my anwser in the two projects above, but I find it was difficult to read the code in the two projects. if you had some experience about using OPCODE, i really wished you could give some suggestion about how to read the two projects. And as the most important one of my requests is to get the polygons, so if you know, can you tell me is there any manner i can get the polygons. If the answer is NO, i think I have to think about take us of other detection manners.
|
|
|
|
|
|
While, as i have not got some answers in the C/C++/MFC, i hope i can get some help in other discussions, I can not find is there any improper?
|
|
|
|
|
You have already been given the answer; reposting in other forums is not likely to change that.
Use the best guess
|
|
|
|
|
Im writing a paint program in openGL 3.0, it works fine so far
except that when I try and draw a square over another square it is drawn
behind it instead of on top of it. How can I fix this so that
I can draw on top of an image? Why would this happen?
C++
OpenGL3.0
|
|
|
|
|
Enable Depth test to draw objects beyond others.
glEnable( GL_DEPTH_TEST );
glDepthFunc( GL_LESS ); // Near objects will be displayed. object with z -3 displayed on top of object with z -4
If you are creating an app similar to MSPAINT, setup projection matrix with glOrtho().
glOrtho() is used because it creates an orthographic projection, therefore the size of rendered image of same size with different z value will be same.
Provide different z values for each objects, based on their z order in the screen.
ie, z value of the object drawn at first should be as small, say 1.
Then increase z value of each new objects.
Render code should be like this.
glDepthRange(-100, 100);
glClearDepth(100);
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
glMatrixMode( GL_PROJECTION );
glLoadIdentity();
glOrtho(-20,20,-20,20,0, 100 );
glEnable( GL_DEPTH_TEST );
glDepthFunc( GL_LESS );
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
glColor3f(0,0,1);
glBegin( GL_TRIANGLES );
glVertex3f( 0,0, -3 );
glVertex3f( 1,1, -3 );
glVertex3f( 0,1, -3 );
glEnd();
glColor3f(1,0,0);
glBegin( GL_TRIANGLES );
glVertex3f( 0,1, -2 );
glVertex3f( 1,1, -2 );
glVertex3f( 1,0, -2 );
glEnd();
SwapBuffers( m_hDC );
|
|
|
|
|
Someone has inquired if <insert random="" computer="" device=""> will support gestures such as swipe. I've already written the code to reboot the device if you give it the middle finger
Seriously, I'm looking for articles and descriptions of the underlying technology and approach for implementing a page swipe. I can visualize that I'm working with off-screen images and moving in a column at a time, but this would seem quite tedious at the Win32 level (which is where I'm working).
Resource suggestions?
thanks
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
What type of swipe? Touching the screen? In mid air?
|
|
|
|
|
There's my ignorance kicking in... what is a swipe?
I've become familiar with a couple of gestures - found a good article on wiki:
http://en.wikipedia.org/wiki/Multi-touch[^]
So, in the context of a gesture, a swipe would be a scroll or flick, as you would expect on your smart phone to move to the next page.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I've been working heavily in Perceptual Computing for the last few months. A swipe is a single longer movement in any direction - in the case of PerC, this would be a swipe in mid air.
|
|
|
|
|
Fair enough. But if you do receive this "event", the application responds to it in some fashion. In the case of a smart phone, they might "smoothly scroll the page". And it's at that level I'm living in at the moment. I'm curious how it's generally implemented... the smooth scrolling or page animation if you prefer.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|