Is it possible to run an external console application with C# and get the results?
it's mum but okay wateva
[QUOTE=layla;21831379]it's mum but okay wateva[/QUOTE]
Your mom's a mummy?
[QUOTE=iNova;21831373]Is it possible to run an external console application with C# and get the results?[/QUOTE]
You can use System.Diagnostics.Process. Set the StartInfo to redirect the IO-streams and UseShellExecute to false. The streams are still valid even if the process has exited.
[QUOTE=layla;21831379]it's mum but okay wateva[/QUOTE]
This.
[QUOTE=nullsquared;21825899]Yay for 3D labels :v:[/QUOTE]
Are you also going to add axis labels as decrements and increments of pi?
[QUOTE=Tamschi;21831473]You can use System.Diagnostics.Process. Set the StartInfo to redirect the IO-streams and UseShellExecute to false. The streams are still valid even if the process has exited.[/QUOTE]
Got it already, but thanks anyways (:
[CODE]
string ApplicationPath = "path";
string ApplicationArguments = "args";
Process ProcessObj = new Process();
ProcessObj.StartInfo.FileName = ApplicationPath;
ProcessObj.StartInfo.Arguments = ApplicationArguments;
ProcessObj.StartInfo.UseShellExecute = false;
ProcessObj.StartInfo.CreateNoWindow = true;
ProcessObj.StartInfo.RedirectStandardOutput = true;
ProcessObj.Start();
ProcessObj.WaitForExit();
string Result = ProcessObj.StandardOutput.ReadToEnd();
[/CODE]
[QUOTE=raccoon12;21822202]Looking at Irrlicht, although I want to learn more about OpenGL
I'm thinking of getting a good idea of OpenGL, then I'll try to make my own engine (my goal)
but anyways, here's something you can do with Irrlicht in about ~75 lines of code:
[img]http://dl.dropbox.com/u/6623973/why.jpg[/img][/QUOTE]
I like how the lurkers rated the irrlicht sample BSP demo artistic.
[QUOTE=Jallen;21831947]I like how the lurkers rated the irrlicht sample BSP demo artistic.[/QUOTE]
Yep.
Well I haven't posted in a while, been lurking the waywo threads since v3
It seems I can never finish stuff :(
Here is my C#/XNA tile-engine + camera :
[IMG]http://img1.uploadscreenshot.com/images/orig/5/12806441945-orig.jpg[/IMG]
It currently features transparent tiles and multiple layer, panning and zooming.
Also have neural network laying around that just needs some interfacing with xna, and a little p2p program I'm working on, got it to connect to the server and ask for a peer list.
[QUOTE=high;21824826]I am working on making a program that when you press a hotkey it captures all keystrokes and redirects them to a specific window. So I can chat with an irc client while playing games :x.[/QUOTE]
I would be interested in that. Do you plan to make it so that it sends the keystrokes to another application or use some IRC protocol to send messages directly to the IRC channel?
I'd prefer if it was the first one since maybe you could use it with other IM programs but I don't even know if it's possible.
Don't have a picture yet, because I don't know how to paste them in this cool box thing, but I am using OpenGL and Bryce to make a huge rainforest Island. It is rendering now! Then I will use 'Unity' to animate and script the whole place.
I am also working on an MMO on netscratch which is for tiny kids.
Making a pixel army!
And a new Youtube video!
Also, on top of ALL OF THAT, I am trying to get a Nuke on MW2 AND record it.
[QUOTE=Overv;21831663]Are you also going to add axis labels as decrements and increments of pi?[/QUOTE]
I was thinking about that, but I'm not sure how to implement it.
See, "pi" is only known to the GUI. Once it is converted to numbers for the internal window, it is only known as a number. When the labels get rendered, they only have these numbers...
Now, consider my label/grip step was "pi". I could easily make labels at "2pi", "3pi", etc. But what if the step was something like "3/2pi"? Then it would be very difficult to make it display "3pi" as a label instead of something like "2(3/2pi)" which isn't really useful.
Does anyone know what is wrong with this code?
[URL="http://pastebin.com/fQxUZBGW"]http://pastebin.com/fQxUZBGW[/URL]
I kinda know what it's doing but it's basically just snippets put together.
I'm trying to Restore a minimized window (Skype) but the console window just loses focus and nothing else happens.
[QUOTE=nullsquared;21832999]Now, consider my label/grip step was "pi". I could easily make labels at "2pi", "3pi", etc. But what if the step was something like "3/2pi"? Then it would be very difficult to make it display "3pi" as a label instead of something like "2(3/2pi)" which isn't really useful.[/QUOTE]
Couldn't you use a smaller label step (1/4pi or something) and only display the ones you want?
[QUOTE=BAZ;21833482]Couldn't you use a smaller label step (1/4pi or something) and only display the ones you want?[/QUOTE]
You could, but what if the user wants to use "3/2pi" as a step? This is all 100% customizable, I can't just assume some constant step.
Was going to have a shot at some xbox development using OpenXDK, and had to download cygwin to use it. Set it to install and accidentally set it to install ALL libraries. Came back to my laptop 5 hours later to find the cygwin folder sitting at 5GB.
Fuck
Customization :smug:
[img]http://img222.imageshack.us/img222/9079/customization1.png[/img]
(position in orange, velocity in green, acceleration in blue)
[QUOTE=BAZ;21823755]Woop! You added my cheese sun gif!
[img]http://www.cubeupload.com/files/eb4200style.png[/img]
As a little reward, have a link to it. (Not really finished, but fun to tinker with anyway)
[url]http://culexus.com/seb/Projects/Planets/Planets.rar[/url][/QUOTE]
Small bug, If you resize the sun too small the whole thing crashes.
Cool, I got in the highlights!
Now I need to make something else impressive before the next thread.
[QUOTE=Xerios3;21825726]-spider thingies in OGRE-
- Every unit now has to cast a ray to check the terrain's height which raped just like that all the speed I had gained =([/QUOTE]
Are you recalculating the ray for every instance every frame? If so, try only recalculating when they move and storing it as a var.
Thanks, it did improve a bit, but unfortunately that won't be that useful when I'll have thousands of units moving at the same time.
[img]http://www.cubeupload.com/files/a0b200mclone.jpg[/img]
Decided to make my Minecraft clone 2d, in 3d everything's too hard :v:
[editline]04:29PM[/editline]
Doing something wrong again, 3 fps :v:
[QUOTE=Jallen;21831947]I like how the lurkers rated the irrlicht sample BSP demo artistic.[/QUOTE]
yeah lol
What do you guys think?
Should I:
a) Learn OpenGL and try making an engine
b) Learn DirectX and try making an engine
c) Just use Irrlicht for rendering and build off that
d) same as C except use Ogre
[QUOTE=raccoon12;21835047]yeah lol
What do you guys think?
Should I:
a) Learn OpenGL and try making an engine
b) Learn DirectX and try making an engine
c) Just use Irrlicht for rendering and build off that[/QUOTE]
OpenGL
[QUOTE=Dlaor;21835016][img]http://www.cubeupload.com/files/a0b200mclone.jpg[/img]
Decided to make my Minecraft clone 2d, in 3d everything's too hard :v:
[editline]04:29PM[/editline]
Doing something wrong again, 3 fps :v:[/QUOTE]
Post your code? Also, might I recommend not using Processing for anything complex? It's great for quick prototyping, but I've had headaches previously trying to develop a complete game in it.
[QUOTE=raccoon12;21835047]yeah lol
What do you guys think?
Should I:
a) Learn OpenGL and try making an engine
b) Learn DirectX and try making an engine
c) Just use Irrlicht for rendering and build off that[/QUOTE]
Ogre ;)
[QUOTE=raccoon12;21835047]yeah lol
What do you guys think?
Should I:
a) Learn OpenGL and try making an engine
b) Learn DirectX and try making an engine
c) Just use Irrlicht for rendering and build off that[/QUOTE]
I'm pretty sure you asked the same thing months ago, just start something.
But your options are stupid anyway. You don't need to make an engine to learn an api.
Sorry, you need to Log In to post a reply to this thread.