• What are you working on? February 2012
    3,497 replies, posted
[QUOTE=sim642;34557470]Mind sharing how it exactly works? You could get positions and sizes of all windows through WinAPI, but how do you display the :v:s and how do you get mouse input?[/QUOTE] For displaying, I actually have a fullscreen transparent form that allows mouse events to fall through it. For input, I'm using global hooks to get the mouse input. The hardest part for me through was figuring out the win api functions and when to use them (I'm not exactly experienced with them :v:) [b]Edit:[/b] [img_thumb]http://i.imgur.com/kcOlc.jpg[/img_thumb]
[QUOTE=TheCloak;34559637]Does anybody know of a good free .NET OCR library? Other than Tesseract and that MODI thing Microsoft provides? Tesseract doesn't work and MODI requires Microsoft Office.[/QUOTE] For a project we used Puma.NET which is based of Cuneiform I think. It was horrible, but not hard to get working. If you get strange exceptions, try running as admin.
Thought of a way to fake component based entity systems in C++ with a hierarchal system. Just put Entity::Init() in your init function, or whatever component you need to derive from. It's not a great, or robust solution but it works
[QUOTE=origamiguy;34559920]Ah. I would actually rather like to see those, are you able to show me?[/QUOTE] Nah, saw them a long tiem ago when one of the animators posted pics of it in work.
[QUOTE=horsedrowner;34560080]For a project we used Puma.NET which is based of Cuneiform I think. It was horrible, but not hard to get working. If you get strange exceptions, try running as admin.[/QUOTE] Well, I'm getting this: [img]http://speedcap.net/img/aadeb96bb708a2e5bceb75a7a95c8002/25c2ec7e.png[/img] Here's my code: [code] Try Dim T As New Tesseract Using O As New OpenFileDialog With O If Not .ShowDialog = DialogResult.Cancel Then Dim B As Bitmap = New Bitmap(.FileName) T.Init(Application.ExecutablePath, "Eng", False) Dim L As List(Of Word) = T.DoOCR(B, Rectangle.Empty) For Each w As Word In L MessageBox.Show(w.Text) Next End If End With End Using Catch Ex As Exception MessageBox.Show(Ex.Message) End Try[/code] I've tried everything, can't get it working, but I'll look up Puma.NET.
:suicide: VB... "Those days are gone, those days are gone" [QUOTE=TheCloak;34560467]Well, I'm getting this: [img]http://speedcap.net/img/aadeb96bb708a2e5bceb75a7a95c8002/25c2ec7e.png[/img] Here's my code: [code] Try Dim T As New Tesseract Using O As New OpenFileDialog With O If Not .ShowDialog = DialogResult.Cancel Then Dim B As Bitmap = New Bitmap(.FileName) T.Init(Application.ExecutablePath, "Eng", False) Dim L As List(Of Word) = T.DoOCR(B, Rectangle.Empty) For Each w As Word In L MessageBox.Show(w.Text) Next End If End With End Using Catch Ex As Exception MessageBox.Show(Ex.Message) End Try[/code] I've tried everything, can't get it working, but I'll look up Puma.NET.[/QUOTE]
I've recently made many upgrades to AirTraffic. That includes fully functional menus with pause support and animated sprites for aircrafts. I also added wind, but it's hard to feel it's effect and making it stronger would make it really difficult and unrealistic. Here's a video of the last upgrades:[video=youtube;EpKpxiUZsWQ]http://www.youtube.com/watch?v=EpKpxiUZsWQ[/video]
Gravity can be fun :dance: [img]http://i.imgur.com/bS7z3.png[/img]
[QUOTE=VGS_Devs;34560669]:suicide: VB... "Those days are gone, those days are gone"[/QUOTE] I'd use C# but VB is my first programming language and I program about 200% faster in it than C#.
[QUOTE=TheCloak;34561414]I'd use C# but VB is my first programming language and I program about 200% faster in it than C#.[/QUOTE]Just learn C# :v:
[IMG]http://i.imgur.com/RfZ8e.jpg[/IMG] managed to finally get my websockets server handshaking properly with the latest WebSockets protocol :~) writing it from scratch in c++ with boost asio
Small video of what I've been working on with another programmer and an artist. [video=youtube;HZXfPJlr7QQ]http://www.youtube.com/watch?v=HZXfPJlr7QQ&feature=player_embedded[/video] Our blog is located here : [url]http://optim-gamestudio.posterous.com/[/url]
Success! Everything you see is generated by the CPU, then passed to the GPU and ray traced. The very nice house was built by hand. [img]http://i.imgur.com/qjr4O.png[/img]
IMHO raytracing will start paying its toll when you start adding entities.
[QUOTE=Map in a box;34562189]IMHO raytracing will start paying its toll when you start adding entities.[/QUOTE] As long as they're writing to the depth buffer they don't need to ray trace entities, just use normal polygons.
[QUOTE=Map in a box;34562189]IMHO raytracing will start paying its toll when you start adding entities.[/QUOTE] Entities will be rendered with polygons. We're only using ray tracing to accelerate the landscape rendering, and deal with transparency.
[QUOTE=dije;34561440]Just learn C# :v:[/QUOTE] Can already program in C#. Prefer VB [editline]5th February 2012[/editline] this isn't funny
[QUOTE=Matte;34562287]Entities will be rendered with polygons. We're only using ray tracing to accelerate the landscape rendering, [b]and deal with transparency.[/b][/QUOTE] That might be a problem with entities, where entities will be completely invisible if they are behind a transparent block. Unless you drew entities first (and entities can only have alphas of 0 or 255) and looked at the depth buffer while ray tracing. I might be talking out my ass at this point.
Attempting to implement A* pathfinding, some strange occurrences, any help is appreciated... -snip something fucked up my gif, i'll re-post it later-
[QUOTE=TheCloak;34562955]Can already program in C#. Prefer VB [editline]5th February 2012[/editline] this isn't funny[/QUOTE] How exactly?
He ain't sane!
Got my addon publisher publishing to workshop. Think I should clean up the layout before I release it? :v: [img]http://puu.sh/fQA7[/img]
[QUOTE=Matte;34562287]Entities will be rendered with polygons. We're only using ray tracing to accelerate the landscape rendering, and deal with transparency.[/QUOTE] And it seems to be working really nicely. Good job. I never imagined anyone would use raytracing in an actual game environment for a few years yet, but I guess you managed to optimise it enough to make it viable. [editline]6th February 2012[/editline] [QUOTE=garry;34563573]Got my addon publisher publishing to workshop. Think I should clean up the layout before I release it? :v: [img]http://puu.sh/fQA7[/img][/QUOTE] Publish button below the addon info panel, maybe that'd look better.
How you could prefer VB over C# knowing both is beyond me. VB is slower and looks like it was written with retarded people in mind (if you use VB don't take this as an offense, I just mean the syntax is silly)
Who was the guy who made the shooter game starring :v:?
[QUOTE=DeanWinchester;34563693]How you could prefer VB over C# knowing both is beyond me. VB is slower and looks like it was written with retarded people in mind (if you use VB don't take this as an offense, I just mean the syntax is silly)[/QUOTE] I don't see how VB can be slower seeing as it compiles to exactly the same IL. Sure, it's a horrible language to work with but when comparing it with C#, I don't think speed is an argument you can use.
[QUOTE=Darwin226;34563375]How exactly?[/QUOTE] It's my first language, I'm used to it.
[QUOTE=DeanWinchester;34563693]How you could prefer VB over C# knowing both is beyond me. VB is slower and looks like it was written with retarded people in mind (if you use VB don't take this as an offense, I just mean the syntax is silly)[/QUOTE] The syntax is worse than lua. (The style at least, lua is still a good scripting language, just the lack of {} annoys me after using c# / c++.)
[QUOTE=TheCloak;34563839]It's my first language, I'm used to it.[/QUOTE] But we all had a first language. There's a reason people don't stick with them.
My first language was perl, and to this day 'continue;' statements don't look right. I always want to put 'next;' :v:
Sorry, you need to Log In to post a reply to this thread.