Search:
Type: Posts; User: Sastraxi
Search:
Search took 2.16 seconds.
-
I've used Gordian Knot, which is basically a large package of software with a handy frontend. The process is:
- DVDDecrypter to disk
- DVD2AVI to process it
- the GordianKnot program creates an...
-
Every CRT I have seen, bar a very old Macintosh monitor, uses the 4:3 display ratio. Also, nicer 19" monitors will support 1600x1200 and more, but these modes are not especially useful unless you...
-
-
OpenGL doesn't have real updates per se, it only has minor updates that fix compilation problems and such -- the real OpenGL library is provided by the graphics driver (such as ATi's Catalyst suite...
-
Every program should be able to run independant of the speed it's running at. Nevermind how you get the timing, but know to use it right. Make mental notes through your code of "real-world" units,...
-
... you do realise "Timer" is probably not the best name for a variable?
-
There's simply no way to use Bitblt in this case, so I would hope it would be faster...
avi.hpp
#ifndef __AVI_HPP__
#define __AVI_HPP__
#include <windows.h>
#include <vfw.h>
#include...
-
How about:
std::map< int, std::map< int, int > >
worked well for me in a competition recently, you don't even have to worry about sizing issues.
-
Actually, about 20 minutes after I posted last, I figured everything out. I had been passing in "NULL" for a value instead of the needed BitmapInfoHeader. What a wonderful waste of time.
If...
-
They're from the API.
I don't think the real problem is the AVI loading but what I'm doing with the data.
I'm going to try for a few more hours and then go insane over something that should have...
-
Aspect Ratio reasons.
I'm conisdering monetary payments for someone that can actually show me a working C++ class to load and display AVI files. It doesn't seem like such a stretch that someone out...
-
-
No, I think the version that you're using will, forcing you to rewrite to take advantage of new features.
-
#include <windows.h>
#include <vfw.h>
#include <string>
#include <fstream>
#include <iomanip>
using namespace std;
class Video {
-
Call me an optimist, but I'm sure there's something more well-suited to my needs out there than OpenCV (plus, it completely crashed my computer).
I created this code last night:
#ifndef...
-
It's called texture blending, and you'd do it by using a black-to-white gradient as your alpha image for one of them and just the entire image on under it for the other one.
Say you wanted snow...
-
Thanks for the link, SLH, I'll give it a try.
Cross-platform tends to mean the code is a lot easier to follow (and see, for that matter).
A DV-AVI is an AVI file with a DV video stream in it, from...
-
You're cluttering up the thread with things that have no relevance whatsoever to his problem.
d3graph, here's what you'll want to do. Use the flash control on the form, that won't flicker as it's...
-
Someone actually asked it. Finally.
Yet you still blindly follow...
.NET is not a bad idea. Especially when open-source minds come up with something as utterly delightful as mono. But, anyway.
VB...
-
Ashok, I think you'll have to be a bit more clear to get your point across. Instead of telling us what you think you know, tell us exactly what you do know so that nothing gets muddled up in...
-
Think of the basic properties of physics, acceleration, velocity, and position. When you isolate these things everything will come easier. Then you don't ever have to do anything complicated, just...
-
Games usually have premultiplied lights, such as Half-Life and that. Their dynamic lighting really consists of premultiplied lightmaps being superimposed at certain degrees of translucency. Where...
-
Why don't you use .Picture?
-
What you're asking for is advanced, involving concepts such as gaussian blurring and, if you want it at any decent speed, maybe even pixel shading. I'm not sure why you wouldn't just load up an image...
-
I think it's standard for any sensible programmer to use a sensible language.
Yipes.
They might also stay on topic.
-
Here's some advice...
Don't use DirectX, use Bitblt. Find its deficiencies for yourself. Don't listen to other people telling you what to do. Be your own person.
And for godsakes learn how to use...
-
Every GetDC must have a ReleaseDC.
Your code sucks because it's using GetDC(0).
You're already making the assumption that the desktop's handle will be 0, which usually means that its DC is also 0....
-
Assuming Microsoft hasn't cornered the market with their wonderful Win32 API implementation, what other libraries are out there that can read video (in particular, DV-AVI) files? If the monopoly has...
-
Changing dependent variables based on others as well as time is known as integration.
The simplest, multiplying by time, is known as Euler Integration (pronounced Oiler, I believe... does it...
-
You can keep changing the view matrix without clearing the screen... that's how you'd draw things in other 3D projections on the same screen. Easy stuff, really.
-
Can anyone think of a widely-accepted format that is not tied to a specific company, and does not have any restrictions on its use?
-
I thought it was AND for the mask and PAINT for the sprite, as long as the mask has a white background and the sprite a black one, NoteMe...
Maybe the cold has gotten to my head :(
-
Perhaps you're using something like clearing your render target every time you blit.
Enter the concept of double-buffering:
Clear a DC the same size as your render target.
Blit everything to...
-
Another thought is to just restrict the user to 640x480, if it won't look as good/have worse performance at other levels (like the method NoteMe suggested). Though, considering the circumstances it's...
-
I remember that Fox had an offscreen/memory DC tutorial that I learned from... you may want to look over at his profile and see if his site is still listed.
As for that, mayhap this will help if...
-
Hey woss.
You know, you can make a heightmap in any image editing program; it would just be a different way to bring it into your program. Dark values indicate depressions while light ones indicate...
-
OK... makes enough sense, I suppose that private members are really only for the implementation of the actual derived class, so that's where they should be put. Thanks a lot :D
-
I'd code it and store the frames that you will need within a lookup array of Device Contexts created with CreateDC.
Now, think about your object. Your job will be easier if none of the actual...
-
Assuming I have two classes, the base containing a private member variable and the other class being derived from base, what is stopping me from accessing that private variable as a member inside of...
-
A minor ammendment here; Dev-Cpp is the environment, it comes packaged with the mingw32 (gcc for win32) compiler.
|
Click Here to Expand Forum to Full Width
|