[QUOTE=GreyIOutcast;19817832]As well as a simple, human-readable markup.
It's only good for small databases of information, or uses on the web, in my opinion.
If you have a 56MB XML file, you probably shouldn't be using XML.[/QUOTE]
[QUOTE=Eleventeen;19816527]What [i]the fuck[/i] are you putting in an XML text file that causes it to be 56mbs?[/QUOTE]
Other companies/suppliers push out weekly or bimonthly updates as to what they have for sale and how much. Most just push their entire catalog and let everyone else sort it out whats going on.
On the bright side all of this has finally put all my data structure classes to use. :D
[QUOTE=BlackPhoenix;19818998][editline]10:13AM[/editline]
For some reason my previous reply didn't post; I was saying that I'm using variable time step, cause simulator uses variable time step; and 100 FPS requirement is there because of how fast the aircraft travels. So no matter if it's fixed or variable, it has to be 100 or more; and also physics in this simulator are major cause of FPS drop (they are in same thread).[/QUOTE]
The threading makes little difference when you're graphics bound, which is where I assume you are bound when recording video. In a fixed timestep situation, no matter if your display rate is 1000fps or 2 fps, the logic will be running at the appropriate speed or as close to it as possible.
[editline]09:46PM[/editline]
But of course if the simulator is out of your control there's not much you can do.
Setting up an X window is impossible. I'm having a segfault at the XCreateColormap line.
[cpp] display = XOpenDisplay(0);
if(display == 0)
{
IOLayer->log("Failed to connect to the X server.");
return true;
}
XVisualInfo* visual;
XVisualInfo visualTemplate;
int visualNumber; // Return value of available visuals
visualTemplate.screen = DefaultScreen(display);
visualTemplate.depth = 24; // 32 if with alpha channel.
while((visual == 0) && (visualTemplate.depth >= 16))
{
visual = XGetVisualInfo(display, VisualScreenMask | VisualDepthMask,
&visualTemplate, &visualNumber);
visualTemplate.depth -= 8;
}
if(visual == 0)
{
IOLayer->log("Could not get an X visual.");
XCloseDisplay(display);
display = 0;
return true;
}
Colormap colourmap = XCreateColormap(display,
RootWindow(display, visual->screen),
visual->visual, AllocNone);
attributes.colormap = colourmap;
attributes.border_pixel = 0;
attributes.event_mask = StructureNotifyMask | KeyPressMask | ExposureMask;
window = XCreateWindow(display,
RootWindow(display, visual->screen),
0, 0, width, height, 0, visual->depth,
InputOutput, visual->visual,
CWBorderPixel | CWColormap | CWEventMask,
&attributes);
Atom wmDelete;
wmDelete = XInternAtom(display, "WM_DELETE_WINDOW", true);
XSetWMProtocols(display, window, &wmDelete, 1);
XMapRaised(display, window);[/cpp]
[QUOTE=blankthemuffin;19818047]No, you should be using a fixed time step. A large or fluctuating delta time will induce errors depending on your integrator.
[url]http://gafferongames.com/game-physics/fix-your-timestep/[/url]
[url]http://turborilla.com/timestepping.html[/url]
[url]http://www.flipcode.com/archives/Main_Loop_with_Fixed_Time_Steps.shtml[/url][/QUOTE]
Very interesting, I've only read the first one but it seems to be a very intuitive solution to smooth physics.
Gonna do some experimentation into evolutionary AI. Saw a documentary on it the other day and it got my knickers wet..
Neural network anyone ?
Here's something I found while working on mine.
[url]http://www.ai-junkie.com/ann/evolved/nnt1.html[/url]
[img]http://dl.dropbox.com/u/2263071/Devlog/redarmy/redarmy.png[/img]
Credits for models go to [url=http://tomtallian.com/]Tom tallian[/url]
They are placeholders for now. Also I need to separate the gun models from the player model, I can't assign separate textures.
Don't want to start an argument but why do people forget to crop out the bit of code we can't read because half of it is hidden? If you want to show us some code then why not cpp tag it so we can read it?
[QUOTE=honeybuns;19821492]Don't want to start an argument but why do people forget to crop out the bit of code we can't read because half of it is hidden? If you want to show us some code then why not cpp tag it so we can read it?[/QUOTE]
I got lazy, it's 1:47 am, I just did a quick snip with the snip tool in vista and dropboxed it.
Offtopic: I like your avatar honeybuns.
Alt + Print -> Only screenshots the active window :)
[QUOTE=ZeekyHBomb;19821590]Alt + Print -> Only screenshots the active window :)[/QUOTE]
Oh, I didn't know that. Rated informative.
Thanks.
So you pretty much loaded the BSP that comes with Irrlicht and loaded some model. Cool.
[editline]10:05AM[/editline]
So garry are you going to release Gwen or what? I wanna try it out in SFML
[highlight](User was banned for this post ("Ass" - SteveUK))[/highlight]
[QUOTE=nullsquared;19821702]So you pretty much loaded the BSP that comes with Irrlicht and loaded some model. Cool.
[editline]10:05AM[/editline]
So garry are you going to release Gwen or what? I wanna try it out in SFML[/QUOTE]
So far yeah. But you always gotta start somewhere.
And I think he is going to.
[QUOTE=Blynx6;19821373]Stuff[/QUOTE]
Surely it would be better if you stored a pointer to the scene manager rather than using the get method every time you want to use it...
[QUOTE=nullsquared;19821702]So garry are you going to release Gwen or what?[/QUOTE]
It sounds like Gwen is a girl Garry kidnapped and is keeping in his basement.
08er with 26 post :ohdear:
[QUOTE=nullsquared;19821702]So you pretty much loaded the BSP that comes with Irrlicht and loaded some model. Cool.
[editline]10:05AM[/editline]
So garry are you going to release Gwen or what? I wanna try it out in SFML
[highlight](User was banned for this post ("Ass" - SteveUK))[/highlight][/QUOTE]
Okay now I'm 100% sure you just like to start arguments.
[editline]05:12PM[/editline]
[QUOTE=Blynx6;19821539]
Offtopic: I like your avatar honeybuns.[/QUOTE]
back atcha
On the subject of screenshots, I found a neat tool that takes proper screenshots of Aero windows.
[url]http://www.ntwind.com/software/winsnap.html[/url]
Why do you need fancy stuff for screen capturing? Aren't you just supposed to get the point across in video form?
[QUOTE=Ortzinator;19824004]On the subject of screenshots, I found a neat tool that takes proper screenshots of Aero windows.
[url]http://www.ntwind.com/software/winsnap.html[/url]
[/QUOTE]
It looks nice, but why pay $25 when PrtScr is free?
I suppose if you're writing a technical book, you might want to put down some money to get really nice screengrabs.
This is Free:
[url]http://www.7capture.com/[/url]
[QUOTE=Ortzinator;19824004]On the subject of screenshots, I found a neat tool that takes proper screenshots of Aero windows.
[url]http://www.ntwind.com/software/winsnap.html[/url]
[img]http://images.ntwind.com/winsnap3/winsnap_vs_other-3.png[/img][/QUOTE]
[IMG]http://imgur.com/omiGf.png[/IMG]
You can get the exact same effect for free by taking a screenshot with a blank mspaint window behind it.
[QUOTE=Vampired;19824296][IMG_thumb]http://imgur.com/omiGf.png[/IMG_thumb]
You can get the exact same effect for free by taking a screenshot with a blank mspaint window behind it.[/QUOTE]
You don't get transparency.
[QUOTE=noctune9;19824320]You don't get transparency.[/QUOTE]If you're printing it (unless you priint it on pink.) That's transparent.
[QUOTE=Ortzinator;19824004]On the subject of screenshots, I found a neat tool that takes proper screenshots of Aero windows.[/QUOTE]
They expect us to pay 25$ for drop shadows, rounded corners and a white background? :wtc:
[QUOTE=Eleventeen;19824030]Why do you need fancy stuff for screen capturing? Aren't you just supposed to get the point across in video form?[/QUOTE]
For some reason I thought 'screen capture' was the same as 'screen recording'.