Woo, opacity!
[img]http://puu.sh/cM8V[/img]
Outputted file:
[img]http://puu.sh/cM7I[/img]
I've also just finished support for any size of image, so now you're not locked to the power of two.
I think I'll add windows into my UI library and make some use of my context menus next so I can hide some of the less important stuff away to save some space to add more options, then I'll work on more than 1 frame so you can export a full sprite sheet.
To you, WAYWO, I dedicate my 666th post.
I'm currently fiddling around with wxWidgets, working on getting some sort of hex-viewer thing going. There's no provided ones so I'd either have to use a third-party library or whip up something myself. As I don't anticipate actually editing anything with the control I think I'll just use a wxGrid and see if that works. Someone mentioned using wxTextCtrl which is another possibility, but I'm not sure how I'd get it displaying offsets as easily.
[QUOTE=thisBrad;34108535]Holy shit my project has 253,970 lines of code[/QUOTE]
Which one? The entirety of Terraria is less than 100,000
Got time working last night, fell asleep before I could show it :/ Got back and had a shower now, here's some animated Newton-Raphson:
[code]def f(x) return x + sin(time * 3) * sin(x) end
def g(x) return x^3/3 - x end
y = f(x)
y = g(x)
let a = mousex
for i = 1 to 10 do
let a = a - (f(a) - g(a)) / d/da (f(a) - g(a))
end
x = a
print(time)[/code]
[IMG]http://i.imgur.com/OHF8n.gif[/IMG]
(Fraps is recording the canvas instead of my desktop, not sure how to stop that)
You can see it skipping some time when you pan or zoom the graph, that's all fixed now :)
A nice animated surface as well:
[IMG]http://i.imgur.com/6N9yX.gif[/IMG]
I've forgotten the relation for that one.
[editline]8th January 2012[/editline][code]
y = sin(x + time*2) - x^3/3 + ln(z + 1)[/code]
(I think)
it looks like someone getting an erection :v:
C++ makes me so angry sometimes.
Making a game, a gui engine, networking stuff, and other complicated crap: Cool, I'll be nice and almost never crash.
Solving mazes for a grade: NO FUK U NO MAZES 4 U!
[QUOTE=raBBish;34102697]To be exact: I'm injecting a DLL using stealthy methods, then using VMT hooks added callbacks everywhere. Then I built the Lua state on that.[/QUOTE]
What kind of stealthy methods? Are you manual mapping?
[QUOTE=neos300;34111154]C++ makes me so angry sometimes.
Making a game, a gui engine, networking stuff, and other complicated crap: Cool, I'll be nice and almost never crash.
Solving mazes for a grade: NO FUK U NO MAZES 4 U![/QUOTE]
The only good thing about C++ is knowing that you're usually the cause of your problems. Or maybe that's not a good thing, I'm not sure :v:
[editline]8th January 2012[/editline]
I was thinking of adding to the definition syntax, so that something like "let f(x) = x^2" is parsed in the same way as "def f(x) return x^2 end". It seems more mathsy :3 and shouldn't lead to any ambiguities, but the lack of an end token could lead to some dodgy misinterpretation if the user enters bad code, so the error messages wouldn't make much sense. Good idea Y/N?
[editline]8th January 2012[/editline]
Fixed an issue with my field plotting that was causing it to not smooth properly along one axis.
Before:
[img]http://i.imgur.com/suI9C.png[/img]
After:
[img]http://i.imgur.com/F3GxR.png[/img]
When are you releasing that sexy grapher?
When it's done, probably :v: I could put a build up if you guys wanted to take a look at it, you'd have to figure it out though, I'd rather work on the project than work on a readme for now :/ It's also ~20MiB at the minute, because I only built the monolithic version of wxWidgets, so there's just one DLL full of stuff I don't need or use. I was gonna have to sort that out at some point though :)
[QUOTE=cody8295;34112174]Stox!
[IMG]http://content.screencast.com/users/codydv/folders/Jing/media/cf901c23-5e08-489a-b6b8-8b8397511c85/2012-01-08_1136.png[/IMG][/QUOTE]
It says "100% Buy" so you better buy them.
Added the new definition syntax to the parser while I was waiting for wxWidgets to compile again :) just need to change the linker settings, and it should be good to go.
[editline]8th January 2012[/editline]
Blargh, using the separate libs, it links without complaint but crashes on startup, before it even draws the controls properly. Looks like it'll be a 20 meg download guys :/
[editline]8th January 2012[/editline]
Compiles fine in debug with those libs, I'm gonna have to investigate...
[QUOTE=amcfaggot;34113966]
[img]http://i.somethingawful.com/forumsystem/emoticons/emot-frogc00l.gif[/img][/QUOTE]
what's with you and gran and porting everything to lua
not that I have anything against that :v:
I have a really big hardon for Lua. It is the best thing ever.
[QUOTE=amcfaggot;34114274]I have a really big hardon for Lua. It is the best thing ever.[/QUOTE]
[img]http://puu.sh/cO2k[/img]
oh
Okay, I still have no idea why that's not working, [b]but[/b] WinRAR made it a sensible size anyway :) so I guess that's cool.
I packaged a text file, examples.txt, with a load of different graphs and simple programs, so you guys should be able to figure everything out. It seems to work on all of the computers I've tested on, but if not, let me know. If you make it crash, let me know, and tell me how. If you are killed or injured through its use, let me know, but remember I can't legally be held responsible :v:
Anyway:
[url=https://rapidshare.com/files/2924787666/Procedural_Grapher_alpha.rar]Here you go.[/url] Have fun. Try to break it, or just fiddle. Up to you.
[QUOTE=Fox-Face;34111361]What kind of stealthy methods? Are you manual mapping?[/QUOTE]
Not yet. I use a simple LoadLibrary while developing, otherwise I can't debug with VS. I'm planning on making my own injector later, possibly using manual mapping.
It's been a fun day. I spent six hours trying to find and then code a Lua interface for C++ before giving up and installing Boost and LuaBind. Now I'm rewriting stuff to use LuaBind.
e: I don't regret :v:
[cpp]// Before
std::istringstream iss(GetCommandLine());
std::copy(std::istream_iterator<std::string>(iss),
std::istream_iterator<std::string>(),
std::back_inserter<std::vector<std::string>>(tokens));
// After
boost::split(tokens, std::string(GetCommandLine()), boost::is_any_of("\t "));[/cpp]
[QUOTE=raBBish;34114417]installing Boost and LuaBind. Now I'm rewriting stuff to use LuaBind.[/QUOTE]
I'll pray for you.
[QUOTE=r0b0tsquid;34114408]Okay, I still have no idea why that's not working, [b]but[/b] WinRAR made it a sensible size anyway :) so I guess that's cool.
I packaged a text file, examples.txt, with a load of different graphs and simple programs, so you guys should be able to figure everything out. It seems to work on all of the computers I've tested on, but if not, let me know. If you make it crash, let me know, and tell me how. If you are killed or injured through its use, let me know, but remember I can't legally be held responsible :v:
Anyway:
[url=https://rapidshare.com/files/2924787666/Procedural_Grapher_alpha.rar]Here you go.[/url] Have fun. Try to break it, or just fiddle. Up to you.[/QUOTE]
RapidShare?
I feel like I'm downloading something from a youtube description where the title is "100% WORKING AUTO MINER LOLZ"
[QUOTE=supersnail11;34114570]RapidShare?
I feel like I'm downloading something from a youtube description where the title is "100% WORKING AUTO MINER LOLZ"[/QUOTE]
Where would you rather download it from? I don't tend to distribute stuff very often, and I had a RapidShare account already. The download counter's pretty handy too.
Is it working for you?
[QUOTE=r0b0tsquid;34114765]Where would you rather download it from? I don't tend to distribute stuff very often, and I had a RapidShare account already. The download counter's pretty handy too.
Is it working for you?[/QUOTE]
Mediafire's a pretty good site. Keeps your stats even without an acc.
It works, but a google code or github page might be a better option, because then you can add the source code when you're done.
Also, it works for me.
[img]http://dl.dropbox.com/u/23280705/wave.gif[/img]
Is that the underside? Because if not, the lighting seems messed up.
Is it that choppy for you on screen as well?
I completely forgot there even was an FP Programmers group.
I should join.
[QUOTE=r0b0tsquid;34115026]Is that the underside? Because if not, the lighting seems messed up.
Is it that choppy for you on screen as well?[/QUOTE]
No, it's just the FPS I recorded it at.
[editline]8th January 2012[/editline]
That isn't the underside, though.
So lighting isn't working? Huh :/ is the whole thing that same shade?
The grid isn't showing either, is that because you've unchecked it?
[QUOTE=r0b0tsquid;34115347]So lighting isn't working? Huh :/ is the whole thing that same shade?
The grid isn't showing either, is that because you've unchecked it?[/QUOTE]
I unchecked the grid, but the whole thing is that shade.
Sorry, you need to Log In to post a reply to this thread.