|
DirectX
Pros:
- It's a complete engine that'll handle stuff like audio, input, etc.
- A lot of companies use it, so learning it may land you a job.
Cons:
- Uses COM, so it's inherently slower.
- Windows Only.
- The code required to get things going is bloated.
OpenGL
Pros:
- Cross platform, if you want your games to also work on Macs, Linux, etc.
- Fast and efficient.
- It runs about 10 FPS faster on nVidia cards in Windows (pre Vista that is).
Cons:
- It's just a rendering pipeline, you'll still need to handle things like input, audio, etc. with another library.
- DirectX dominates the Windows arena, and Windows dominates the desktop arena.
I prefer OpenGL personally because I believe Windows isn't the only OS in the world. But, as far as what's really better or not, it depends on your circumstances. If you'd like to get a job in the gaming industry, learning DX may be a good choice. If you want cross platform, OGL is the way. So on and so forth.
And remember, at the end of the day, making a good game has less to do with your choice of engine and more to do with the talent of your team.
|
|
|
|
|
Thank you for your wonderful analysis, I will choose to learn DX first
|
|
|
|
|
I think DX is better for you, you can modify the samples to match your needs
|
|
|
|
|
Is there anybody know how can I fetch resources from Uncharted Waters 4, published by KOEI.
I need the pictures in Uncharted Waters 4, thanks a lot!
|
|
|
|
|
send in your resume/CV and application to KOEI to be an employee.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
El,
I swear I hear a little flamenco guitar every time I read gems like that
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: I swear I hear a little flamenco guitar every time I read gems like that
hey, it is nothing but the truth. My work is not public access, but does generate public pictures once in a while. I am the only one who has them outside my work. If you want to get access to the goodies, join the team. It's the best way, and you earn a buck doing it too!
and I play native american flute, not guitar.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
American humor? Is there any other solution? I'm serious, thank you.
|
|
|
|
|
The artwork in the application belongs to KOEI. They produce the game, and their license will be pretty tight, so we cannot help you to rip them off. Sorry, but we don't encourage this type of behaviour around here.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Yeah, I think you are right, but I don't want to steal these from KOEI, I just want to know how to fetch them out, from the technical point of view. It's just my interesting, you know, if I use them in business products, KOEI will trouble me. ^_^
|
|
|
|
|
giant_hao wrote: if I use them in business products, KOEI will trouble me.
If you use them in ANY product, KOEI will "trouble you". Actually, they'll sue the pants off you. And it's this very reason that makes it difficult to help you. If we tell you how to do this, then you go ahead and use the images anyway, we become complicit in the suit against you by KOEI. Why should we open ourselves up to that kind of liability?
|
|
|
|
|
giant_hao wrote: It's just my interesting, you know
Then write your own program with images you create and learn to rip them that way. Glad I could help.
|
|
|
|
|
OK, thanks for your mention
|
|
|
|
|
What part of "copyrighted work" escapes your understanding?
|
|
|
|
|
He aims, he shoots, he scores. Whallop.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I need sugge./ advice for video processing for bleow requirement
Person or object will be selected in the first frame of video sequence
manually by mouse. Now the selected object/persion should be segmented in
rest of the frames by the algorithm/porgram.
any souce code/algorithm/ links / suggestion are greatly appericated
Thanks in advance
->electron
|
|
|
|
|
ptr_Electron wrote: suggestion are greatly appericated
google [correlation tracking algorithm]
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Hi All,
I am writing an application which try to show PNG file as a dialog background using GDI+
I have successfully using the PNG as background (using Graphics::DrawImage() ), however, I found that the loaded PNG seems not apply the alpha channel information. What I should do?
Thanks!
Vincent
|
|
|
|
|
Hi,
Is there any way to get the most common used color of an image (jpg) in C#/VB? I have been searching the for "image histogram" and "image quantization", because it seams like these are the most common terms. No luck yet.
I would like something to categorize images by color.
Best regards
Carsten Petersen
Denmark
|
|
|
|
|
mm-2k wrote: I have been searching the for "image histogram" and "image quantization", because it seams like these are the most common terms. No luck yet.
Why? It seams really the best way ...
You will have probally only to perform the algorithms setting thresholds..not more
Russell
|
|
|
|
|
Hi Russel,
Thanks for the reply.
I am searching for an example or description on how to do it, but haven't had any luck yet.
|
|
|
|
|
a simple example for "Histogram":
* convert the image in RGB (same if HSV)
* find min and max value for R ,G ,B in all the image
* quantize (for example using 50 slices per color) the range of values in that min-max interval (for every 3 colors, so you will fix 50x50x50 cubes/volumes)
* then look to the pixel of the image and count how many time a color fall in a cube
* when finished the cube with the greater number of pixel inside is the color that you are seraching
*eleway you can analise separately R, G and B. In this way you will have 50+50+50 linear intervals, not volumes.
Russell
|
|
|
|
|
Can you expand on the higher purpose of this? and on the kind of pictures?
From your requirements/intentions you probably first will have to decide which is the
right color space to use (RGB, HSL, just hue, ...), then the required accuracy.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi Luc,
Thanks for the reply.
I want to use this, to categorize images (web images - only JPG/RGB) by it's color. This will be used on a e-commerce site. When a user uploads a image in the backend, i want to extract the most common used color of the current image (eg. 5-10 colors per image). These values will be stores in the database, with a reference to the image. This will allow me to make a categorizing of the images in the frontend.
If you look at this page (http://goincase.com/products/), on the right corner, you can "Browse all by color". This is what i want to achieve - automatically when images is uploaded.
Best regards
Carsten Petersen
|
|
|
|
|
Hi Carsten,
I have two comments:
1.
the number of colors in the categorization is very limited and they color collection seems
to be predefined. If so, one only needs to determine in which category a picture would fit
best. One way of doing this is by calculating some "error function" for each of the
categories (say the sum over all pixels of the squared deviation between actual pixel
and category color). The main problem remaining is to determine the relevant pixels:
one has to exclude the background, and all zones that are not part of the selectable color
(display, keyboard, whatever).
2.
I am not convinced at all they did it in an automatic way; seems to me if Ipod sleeve
so and so comes in "green" and "blue" according to the manufacturer, they make sure to
have two pictures and add them to the "green" and "blue" category respectively.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|