Search:

Type: Posts; User: ulillillia

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Basically, my setup is this: 1. Generate the...

    Basically, my setup is this:

    1. Generate the POV scene file to reflect the new seed used. This part has no problems.
    2. Run Arbaro which generates the tree, saving to an INC file, always...
  2. How do I get POV-Ray to render something without the GUI coming up each time?

    I'm trying to batch render things with POV-Ray (several thousand things at that, trees made from Arbaro, since Arbaro lacks an automation feature) and the GUI is the biggest problem I'm having right...
  3. And just so you know, the real solution was that...

    And just so you know, the real solution was that I only needed to surround the entire command with quotes. With that, I got POV-Ray to render the tree as expected. However, it's bringing up a...
  4. I accidentally copied my code wrong. The full...

    I accidentally copied my code wrong. The full code had the inclusion of the include file and the output file. I only meant to copy the code with just the input file only being added in. Just...
  5. You read my post wrong. Look closely: there are...

    You read my post wrong. Look closely: there are 4 parameters, not 6 like you're stating. Reread the post. I'm used to using unsigned for char because of negative array indexes being referenced...
  6. It's a string that's 512 characters long (511...

    It's a string that's 512 characters long (511 effective). This is the declaration. Even if I use something very excessive, like 32,768 for the array, I still get the same thing. It's not overflow,...
  7. System function problems - add paths, executable truncated

    I'm trying to automate the generation of trees with Arbaro and POV-Ray (since Arbaro, oddly, lacks the option to bulk render trees). I've got main part of the code working where the scene file is...
  8. The "no source code available here" notice prevents debugging

    Any time I have math in a function call and I press F11 in Visual C++ 2008 Express, I get a notice stating that there is no source code at the current location and a choice to either choose "OK" or...
  9. Replies
    4
    Views
    8,554

    By "plain C", I mean not C++ or C#, just C. ...

    By "plain C", I mean not C++ or C#, just C. Searching for things involving C tends to have C++ and C# included into the mix and that's where I get "plain C" from.

    CreateThread - that sounds like...
  10. Replies
    4
    Views
    8,554

    Multithreading in plain C for Windows

    When the frame rate in my game drops, controls become awkward and unresponsive. To solve this problem, I've thought of separating the CPU-intensive drawing routines from the other routines...
  11. Replies
    10
    Views
    3,719

    When I have a group of variables that are very...

    When I have a group of variables that are very closely related that are intended to be arranged in a table, I format the lines like an Excel spreadsheet would. It makes it much easier for me to...
  12. Replies
    10
    Views
    3,719

    You don't know what I'm doing. I generated the...

    You don't know what I'm doing. I generated the numbers randomly and from formatting I had and copying and pasting, I had the leading zeros. Of course, this isn't everything - the full details are...
  13. Replies
    10
    Views
    3,719

    @Matticus I wasn't after using octal, I was only...

    @Matticus I wasn't after using octal, I was only intending on decimal, for setting temporary random values from 0 to 999,999 with 6 digits always present (which meant keeping the leading zeros). I...
  14. Replies
    10
    Views
    3,719

    Oh, I wasn't aware of octal being in programming....

    Oh, I wasn't aware of octal being in programming. I knew that putting an x after the 0 indicates hexadecimal, of which I've used plenty of times before as expected so I avoided that and just kept...
  15. Replies
    10
    Views
    3,719

    Odd illegal digit errors

    This is an error I've never seen until now and it doesn't make sense to me. Why am I getting it on this line:



    SceneryXOffset[LoopCount] = 099385ll; SceneryOffsetStart[LoopCount] = 0;...
  16. Figured I can't edit my post to update progress,...

    Figured I can't edit my post to update progress, so I have to make a new one....

    I found the SDL_CreateRGBSurfaceFrom function that takes existing pixel data, but I either get an all-black image...
  17. Is it is even possible to get SDL to reference...

    Is it is even possible to get SDL to reference data in a predefined array? Either I get an all-out full-on crash upon starting when attempting to set SDL_Back, or an "unhandled exception" error. ...
  18. Combining SDL and AlphaBlend - referencing buffers

    I've now got SDL working, however, I have a big unknown. For over 3 years, I've been using AlphaBlend for all of my drawing and I don't want to change that. I've got the front and back buffers set...
  19. Where do I set the name of the library and what...

    Where do I set the name of the library and what would the name be? There are 3 files in the lib directory - sdl.dll, sdl.lib, and sdlmain.lib.
  20. I set the "Additional library directories" under...

    I set the "Additional library directories" under the project settings at project > %s properties > configuration properties > Linker > General. The libraries and include files have been set as well...
  21. Okay, so I supposedly got that going. With only...

    Okay, so I supposedly got that going. With only SDL.h being included without any SDL_Init, SDL_Quit, and the like to go with it (just the bare include in other words), I was able to run my game. ...
  22. I've already downloaded them (I forgot to mention...

    I've already downloaded them (I forgot to mention that). I unzipped the ZIP file then copied the folder over to where my project is. I don't know how to get SDL.h to be "discovered" from there (I'm...
  23. How do I get SDL to be found by VC++ 2008 Express?

    The only thing I want SDL for is just fullscreen mode and vsync, nothing else. I attempted to get SDL started but I only get a "fatal error C1083: Cannot open include file: 'SDL.h': No such file or...
  24. Why are global variables bad? I'm using as few...

    Why are global variables bad? I'm using as few as I can. The bulk of the global variables is image data. These are in the form of arrays. About 100 to 150 of the others are actual variables,...
  25. I was searching the MSDN library. I do see...

    I was searching the MSDN library. I do see "symbols loaded" for the actual program during the build phase. I still cannot find a way to set any type of breakpoint besides the standard execution...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4