dcsimg

Search:

Type: Posts; User: Sastraxi

Page 1 of 13 1 2 3 4

Search: Search took 3.56 seconds.

  1. Replies
    9
    Views
    1,140

    Re: DVD to Xvid or Divx ?

    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...
  2. Replies
    10
    Views
    897

    Re: Achieving 1600x1200 resolution

    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...
  3. Replies
    11
    Views
    1,232

    Re: DirectX / OpenGL vs. Engine

    Jacob:
  4. Replies
    11
    Views
    1,232

    Re: DirectX / OpenGL vs. Engine

    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...
  5. Replies
    22
    Views
    1,026

    Re: Capping FPS

    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,...
  6. Replies
    2
    Views
    540

    Re: Calc FPS

    ... you do realise "Timer" is probably not the best name for a variable?
  7. Replies
    12
    Views
    1,336

    Re: (curse words) AVI (curse words)

    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...
  8. Replies
    13
    Views
    768

    Re: Matrices in VC++?

    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.
  9. Replies
    12
    Views
    1,336

    Re: (curse words) AVI (curse words)

    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...
  10. Replies
    12
    Views
    1,336

    Re: (curse words) AVI (curse words)

    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...
  11. Replies
    12
    Views
    1,336

    Re: (curse words) AVI (curse words)

    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...
  12. Replies
    12
    Views
    714

    Re: Smooth Terrain Texure Varations

    Multi-texturing indeed.
  13. Replies
    24
    Views
    997

    Re: Why does my cube look like this??

    No, I think the version that you're using will, forcing you to rewrite to take advantage of new features.
  14. Replies
    12
    Views
    1,336

    (curse words) AVI (curse words)

    #include <windows.h>
    #include <vfw.h>
    #include <string>
    #include <fstream>
    #include <iomanip>

    using namespace std;

    class Video {
  15. Thread: AVI Files

    by Sastraxi
    Replies
    5
    Views
    748

    Re: AVI Files

    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...
  16. Replies
    12
    Views
    714

    Re: Smooth Terrain Texure Varations

    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...
  17. Thread: AVI Files

    by Sastraxi
    Replies
    5
    Views
    748

    Re: AVI Files

    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...
  18. Replies
    13
    Views
    1,004

    Re: gdi bitblt help needed

    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...
  19. Replies
    24
    Views
    997

    Re: Why does my cube look like this??

    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...
  20. Replies
    4
    Views
    718

    Re: Image Left position

    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...
  21. Replies
    7
    Views
    730

    Re: asteroid-type movement help

    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...
  22. Replies
    5
    Views
    683

    Re: Global, Dynamic Lighting System

    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...
  23. Replies
    4
    Views
    591

    Re: Saving picture from picture box

    Why don't you use .Picture?
  24. Re: VB: DirectX, "Bleeding" from one texture to another

    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...
  25. Re: Note transposer program may or may not need help...

    I think it's standard for any sensible programmer to use a sensible language.
    Yipes.
    They might also stay on topic.
  26. Replies
    13
    Views
    1,004

    Re: gdi bitblt help needed

    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...
  27. Thread: ReleaseDC

    by Sastraxi
    Replies
    4
    Views
    581

    Re: ReleaseDC

    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....
  28. Thread: AVI Files

    by Sastraxi
    Replies
    5
    Views
    748

    AVI Files

    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...
  29. Replies
    7
    Views
    650

    Re: Motion and timing

    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...
  30. Replies
    17
    Views
    916

    Re: 3D Radar! How is it done?

    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.
  31. Replies
    6
    Views
    525

    Suggestions for a Royalty-Free 3D format

    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?
  32. Replies
    6
    Views
    473

    Re: need a tissue for my dc issue.

    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 :(
  33. Replies
    12
    Views
    914

    Re: code or animation (bitblt)?

    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...
  34. Re: [Resolved] Resolution Change with Directx8

    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...
  35. Replies
    12
    Views
    914

    Re: code or animation (bitblt)?

    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...
  36. Thread: Mesh maker?

    by Sastraxi
    Replies
    7
    Views
    547

    Re: Mesh maker?

    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...
  37. Replies
    3
    Views
    603

    Re: Public inheritance... Private members?

    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
  38. Replies
    12
    Views
    914

    Re: code or animation (bitblt)?

    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...
  39. Replies
    3
    Views
    603

    Public inheritance... Private members?

    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...
  40. Replies
    6
    Views
    548

    Re: How do i get c++???????

    A minor ammendment here; Dev-Cpp is the environment, it comes packaged with the mingw32 (gcc for win32) compiler.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width