• What are you working on? V5
    2,005 replies, posted
[QUOTE=dezek;18349324]I would love to use GWEN instead of (In my opinion) shitty CEGUI in Ogre.[/QUOTE] Ogre3D also has MyGUI, RBGui, RocketLib, and many other top-notch GUI libs that you should try instead of CEGUI. But, yeah, I'll do the renderer for Ogre. And, obviously, the input system, too, except that'll be slightly tied to OIS so if you use something else you'll need to fix it yourself. @ garry: the problem is proper font spacing all that shit which needs to be done manually since there's no "rendertext" function in Ogre, all you get is an image of all available characters (supported by various methods in Ogre::Font).
Is it like Image = CreateText( "String Here" ) then can you do stuff like width = image->width() width = image->height() etc? I could bend the system to accommodate that kind of stuff (which would be cool to do anyway imo)
[QUOTE=nullsquared;18349376]Ogre3D also has MyGUI, RBGui, RocketLib, and many other top-notch GUI libs that you should try instead of CEGUI.[/QUOTE] Yeah, at first I did try some alternatives like MyGUI but for some reason I changed back to CEGUI. Thinking of it, why the hell did I choose CEGUI before MyGUI...
Should be easy enough to add gwen to GtaIV using a scripthook. [editline]02:44PM[/editline] yay balls [img]https://dl.dropbox.com/u/99765/ballssssssssssssssss.png[/img]
[QUOTE='-[ Fizzadar ]-;18348972']@the two time since functions Found 'em both, but their too complicated and accurate for what I need :P[/QUOTE] More time functions! [php] function setDate($t) { $dateFormat = 'd:m:Y'; $s = time() - $t; if ($s < 60) return 'Moments Ago'; $m = floor($s / 60); if ($m < 60) return $m.' Minute'.($m != 1 ? 's' : '').' Ago'; $h = floor($m / 60); if ($h < 24) return $h.' Hour'.($h != 1 ? 's' : '').' Ago'; $d = floor($h / 24); if ($d < 2) return 'Yesterday, '.(date('h:i A', $t)); if ($d < 7) return $d.' Day'.($d != 1 ? 's' : '').' Ago'; $w = round($d / 7); if ($w <= 2) return $w.' Week'.($w != 1 ? 's' : '').' Ago'; return date($dateFormat, $t); } [/php]
That particle sutff looks really really cool. Thinking of an Idea for MiniLD #14, the themes are comedy or/and tragedy.
C++ exercise with pointers, references, allocating memory in the heap, constructors and destructors and overloading functions. If anyone's interested, here's the source: [url]http://pastebin.org/53475[/url]
[QUOTE=garry;18349396]Is it like Image = CreateText( "String Here" ) then can you do stuff like width = image->width() width = image->height() etc? I could bend the system to accommodate that kind of stuff (which would be cool to do anyway imo)[/QUOTE] I wish (in fact that's what I had to create for my own GUI). It's more like Font font = loadSomeFont() /* LOL you're on your own, get the character-texture from the font and per-character UV coords and render it however you want to */
I made a shitty unoptimized falling sand clone: [url=http://5.latest.testbotrobert.appspot.com/jSand.html]Applet[/url] [IMG]http://i35.tinypic.com/nbejxl.png[/IMG] [B]Edit:[/B] Thanks for all your awesome bug reports like "rzfjiii" :v: And to whoever wrote that it doesn't work in Chrome, are you sure you have the latest JRE installed? Because it works in my Chrome 4
[QUOTE=Robber;18355773] And to whoever wrote that it doesn't work in Chrome, are you sure you have the latest JRE installed? Because it works in my Chrome 4[/QUOTE] Yup that fixed it. For some reason it worked in Fx even with the old one. [editline]07:03PM[/editline] Who has a quad or octo core in here? (or multiple CPUs) I wanna see how my ray tracer is on more than dual-cores. 1440x900 @ 1 FPS on an X2 4800+ [media]http://img33.imageshack.us/img33/1935/raytracerday4.png[/media]
If you give me an .exe, I should be able to try it out on my i7 to see how it works out.
[QUOTE=Dryvnt;18360139]If you give me an .exe, I should be able to try it out on my i7 to see how it works out.[/QUOTE] Cool, let me just build a version that has the resolution and stuff configurable and I'll upload it for you (and anyways else with a quad/octo core).
You do that, I'll go to bed and post whatever results I get by tomorrow.
I'm pretty sure there's a problem when the floor reflects itself reflecting something.
Just rewrote my screenshot utility. Works a lot better this time around :)
[QUOTE=nullsquared;18359780]Yup that fixed it. For some reason it worked in Fx even with the old one. [editline]07:03PM[/editline] Who has a quad or octo core in here? (or multiple CPUs) I wanna see how my ray tracer is on more than dual-cores. 1440x900 @ 1 FPS on an X2 4800+ [media]http://img33.imageshack.us/img33/1935/raytracerday4.png[/media][/QUOTE] I would love to test this too. I have a Core2Quad Q9550.
[QUOTE=nullsquared;18359780]Yup that fixed it. For some reason it worked in Fx even with the old one. [editline]07:03PM[/editline] Who has a quad or octo core in here? (or multiple CPUs) I wanna see how my ray tracer is on more than dual-cores. 1440x900 @ 1 FPS on an X2 4800+ [media]http://img33.imageshack.us/img33/1935/raytracerday4.png[/media][/QUOTE] Currently at home on my eeepc but I can run it on my Phenom II x4 955 @3.2ghz when I get back to my university room on monday if you upload it.
[QUOTE=nullsquared;18359780]Yup that fixed it. For some reason it worked in Fx even with the old one. [editline]07:03PM[/editline] Who has a quad or octo core in here? (or multiple CPUs) I wanna see how my ray tracer is on more than dual-cores. 1440x900 @ 1 FPS on an X2 4800+ [media]http://img33.imageshack.us/img33/1935/raytracerday4.png[/media][/QUOTE] I've got an AMD Phenom 9750 Quad.
Making a textured skin base for GWEN, but getting issues with texture filtering making it all blurry as crap when it's stretched :(
[QUOTE=Robber;18355773]I made a shitty unoptimized falling sand clone: [url=http://5.latest.testbotrobert.appspot.com/jSand.html]Applet[/url] [IMG]http://i35.tinypic.com/nbejxl.png[/IMG] [B]Edit:[/B] Thanks for all your awesome bug reports like "rzfjiii" :v: And to whoever wrote that it doesn't work in Chrome, are you sure you have the latest JRE installed? Because it works in my Chrome 4[/QUOTE] Pretty neat work. Worked for me on Chrome 3.0.195.33 Release Build. Although it completely froze to halt for about 5 seconds on clicking the link.
[img]http://img5.imageshack.us/img5/9457/conversion.jpg[/img] I couldn't really think of any beginner program ideas so I went with a conversion calculator, not the most interesting thing in the world but there has to be a starting point somewhere :v:
A simple horizontal-scrolling space shooter is what I'm working on. Don't have anything to show yet, just started and still working on the classes.
Just spent 3 hours trying to get an alogrithim I found on the net to work, turned out rubbish so now I am adapting my code to make coal veins to make terrain, it needs some modifying though. [b]Edit:[/b] Done, also implemented a random screenshot thingy. Its nice to watch the terrains fly by. [img]http://filesmelt.com/downloader/07.png[/img] [img]http://filesmelt.com/downloader/264.png[/img] [img]http://filesmelt.com/downloader/340.png[/img] [img]http://filesmelt.com/downloader/426.png[/img] They aren't too varied, but thats a good thing. Now I can take this and get the level genertor to add rivers, mountains, forests and bottemless chasms.
Download: [url]http://filesmelt.com/downloader/simple_raytracer.zip[/url] Make sure you read the readme, it's small and useful (AKA will answer the obvious question you will have, such as, OMG HWO I NO FPS?!?!) This is the first time I've distributed anything built by MSVC (actually Code::Blocks using MSVC's compiler :v:), so I'm not entirely sure if it'll work right off the bat. I think it should Just Work if you have the VC++ runtime redistributable.
I got 8FPS on the first one and 2-3 on the second one.
I got 8fps on the 1, and 3 fps on the larger one. Although there's no movement so I'm only going on the fps in the header.
Looks nice, but gives me 0.48 FPS here.. :eng99: Wouldn't it be more viable to use something like [url=http://en.wikipedia.org/wiki/CUDA]CUDA[/url]/[url=http://www.khronos.org/opencl/]OpenCL[/url] instead of raw CPU for this though? my CPU sucks but I have a high-end GPU.
I got 4fps on quadcore_1 and 2fps on quadcore_2. (Intel(R) Core(TM)2 Duo CPU T5800 @2.00GHz laptop)
[QUOTE=nullsquared;18364621]Download: [url]http://filesmelt.com/downloader/simple_raytracer.zip[/url] Make sure you read the readme, it's small and useful (AKA will answer the obvious question you will have, such as, OMG HWO I NO FPS?!?!) This is the first time I've distributed anything built by MSVC (actually Code::Blocks using MSVC's compiler :v:), so I'm not entirely sure if it'll work right off the bat. I think it should Just Work if you have the VC++ runtime redistributable.[/QUOTE] 8.5FPS in the first one and 4FPS in the second one. (using a Q9550 @2.8Ghz) Now do a GPU accelerated version next. :buddy:
[QUOTE=garry;18364659]I got 8fps on the 1, and 3 fps on the larger one. Although there's no movement so I'm only going on the fps in the header.[/QUOTE] [quote=README.txt] [blabla] other keys: page up - increase # of ray iterations page down - decrease # of ray iterations [b] WASD - move forward/left/back/right QE - move up/down [/b] (no rotation for now, sorry) [/quote] Cool, thanks for the results, guys. I might as well try a GPU version sometime, even though I wanted to first see how fast I could personally make a CPU version (obviously I won't be able to make it as fast as the gurus can with some of those CPU RTRT out there). [editline]11:16AM[/editline] [QUOTE=Robber;18364757]8.5FPS in the first one and 4FPS in the second one. (using a Q9550 @2.8Ghz)[/QUOTE] Actually can you try running it with -threads=8 or -threads=6 instead of the original -threads=4, I'm curious if there would be a difference as I had previously observed.
Sorry, you need to Log In to post a reply to this thread.