• What Are You Working On? July 2015
    1,392 replies, posted
[QUOTE=Tamschi;48101048]That doesn't apply here (as much), since later pages should have more content. I wonder if a tab control with hidden registers would work.[/QUOTE] It still does, actually. When you're composing user interfaces, you should still be making any extraneous space work harmoniously with the parent panel and any sparse children. Microsoft does this fairly well with their wizards, and their work would be a good place for reference. [img]http://book.realworldhaskell.org/read/figs/win32-wizard1.png[/img] [img]http://i46.tinypic.com/2zqhniw.png[/img]
Trying out our improved water system and new debug tools. [vid]http://zguyserver.nu/videos/2015-07-02_16-06-15.mp4[/vid]
Random appearances. [vid]http://webm.host/ddc6e/vid.webm[/vid] [B]It's even synced in multiplayer![/B]
Something I actually made (well, modified from something a friend made...) a while ago but thought you guys might find a little interesting: [video=youtube;UrO4-OWEDNs]https://www.youtube.com/watch?v=UrO4-OWEDNs[/video] Showing the difference between impulse and penalty force collision resolution. The video has about 20,000 circles in that simulation, I think.
Having fun with the Nvidia OpenCL drivers (porting my renderer) Apparently it can't decide which one of the following function overloads to pick in the following situation: [cpp] clamp(somethingfloat2f, integer, integer) ///cannot choose between overloads clamp(float2, float2, float2) clamp(float2, float, float) [/cpp] Even though the overloads are identical in this situation, so it should really pick the bottom one. It *is* ambiguous so I can understand, but all the compiler differences between AMD and Nvidia are getting tiring. The convert_x functions are also implemented as macros and seemingly causing another whole bunch of fun for me too. The statement [cpp] convert_int2((float2){x, y}); [/cpp] seems to make it shit itself for no adequate reason. Using a temporary fixes this 11/10. OpenCL best. Then again, 8500 lines of OpenCL worked first time (with seemingly ok performance) with only 3 compile errors (with a minor fix/hack to the khronos headers to fix a 3rd party library) on a notoriously badly supported platform, so maybe I'm just judgemental
To try and make it seem like the player is cranking the Gatling Gun, I restricted the rotation some more and added some different frames for the arm. The arm changes frame to different bent versions based on the distance from the player's arm to the end point of the crank. [video=youtube;vFFLhcznqfA]http://www.youtube.com/watch?v=vFFLhcznqfA[/video]
[QUOTE=Torrunt;48104656]To try and make it seem like the player is cranking the Gatling Gun, I restricted the rotation some more and added some different frames for the arm. The arm changes frame to different bent versions based on the distance from the player's arm to the end point of the crank. [video=youtube;vFFLhcznqfA]http://www.youtube.com/watch?v=vFFLhcznqfA[/video][/QUOTE] Feels like there should be one more frame there though, imo.
[QUOTE=Torrunt;48104656]To try and make it seem like the player is cranking the Gatling Gun, I restricted the rotation some more and added some different frames for the arm. The arm changes frame to different bent versions based on the distance from the player's arm to the end point of the crank. [video=youtube;vFFLhcznqfA]http://www.youtube.com/watch?v=vFFLhcznqfA[/video][/QUOTE] You could model your hand (2D mesh), apply texture on it and then deform the mesh.. I think someone here has beautiful script for bending :)
[QUOTE=Torrunt;48104656]-snip-[/QUOTE] If you look closely it looks meh, but no one is going to look closely. Ship it
[QUOTE=polkm;48105091]If you look closely it looks meh, but no one is going to look closely. Ship it[/QUOTE] Are you one of the developers of Batman: Arkham Knight?
[vid]https://pbs.twimg.com/tweet_video/CI7tpMkUsAA_YB_.mp4[/vid] added some...pots? they have a nice smoke effect on them, and drop random items (health mostly). Gibs too!
[QUOTE=Torrunt;48104656]To try and make it seem like the player is cranking the Gatling Gun, I restricted the rotation some more and added some different frames for the arm. The arm changes frame to different bent versions based on the distance from the player's arm to the end point of the crank. [video=youtube;vFFLhcznqfA]http://www.youtube.com/watch?v=vFFLhcznqfA[/video][/QUOTE] Your tripod is attached on the half of the gun. If you would make that left bright part of it a bit shorter (like it should be) the left end of gun would travel a shorter distance on the y axis, so the player wont have to stretch up/down too much, and you would still keep the wide shooting angle(or can even make it bigger). [quote][img]https://s-media-cache-ak0.pinimg.com/736x/d3/1d/cb/d31dcb5c5fe637eb85c739299c775a87.jpg[/img][/quote] [quote][img]http://media.liveauctiongroup.net/i/7482/8788142_1.jpg?v=8CC7F07071F7CC0[/img][/quote]
The code just flows after one beer, awesome [editline]2nd July 2015[/editline] I am just doing simple path recording (position + rotation), I need to figure out, how to optimize the path later. [img_thumb]http://i.imgur.com/Ln6jISV.jpg[/img_thumb]
Does anyone remember the Webserver From Hell? It was a random webpage generator I made a while ago. [t]http://i.imgur.com/gCV6VI6.png[/t] [t]http://i.imgur.com/icAyqb6.png[/t] [t]http://i.imgur.com/hZ4LMuT.png[/t] I'm considering bringing it back and rebuilding it from scratch. Would anyone want to collaborate on such a project with me? I feel like it would be more fun, chaotic, and hilarious with multiple people working on it. I'd be writing it in C# on a [URL="https://github.com/NancyFx/Nancy"]Nancy[/URL]-based HTTP server, if that helps.
[QUOTE=Fourier;48106037]The code just flows after one beer, awesome[/QUOTE] I didn't code anything useful in months, i'm seriously considering opening up that cognac bottle i have.
berkin: i'm tempted to do something with openresty revolving around that idea
Ok, got the voxels to generate properly. Now to align them with the model. [img]http://i.imgur.com/mCT0TCq.png[/img]
[QUOTE=cartman300;48106502]I didn't code anything useful in months, i'm seriously considering opening up that cognac bottle i have.[/QUOTE] I'd recommend little sips but not too much because you will just get dumber.
I'm making a SHMUP with flappy bird controls [vid]http://webm.host/db378/vid.webm[/vid] [editline]2nd July 2015[/editline] As you can see, it's almost impossible :v:
[QUOTE=chimitos;48107699]I'm making a SHMUP with flappy bird controls [vid]http://webm.host/db378/vid.webm[/vid] [editline]2nd July 2015[/editline] As you can see, it's almost impossible :v:[/QUOTE] I'd like to see Zero Wing played like that. Now that would be a challenge
[QUOTE=chimitos;48107699]I'm making a SHMUP with flappy bird controls [vid]http://webm.host/db378/vid.webm[/vid] [editline]2nd July 2015[/editline] As you can see, it's almost impossible :v:[/QUOTE] That actually looks pretty satisfying to play.
[QUOTE=Fourier;48107279]I'd recommend little sips but not too much because you will just get dumber.[/QUOTE] Ugh, I always get too excited by progress and drink too much
Speaking of binary formats, as you can see the JSON version is a little bit larger. [t]http://billhelifreak.xlphp.net/screen/20150703025926431.png[/t] Sure the program freezes for a second when you close it while it's compressing it but I think it's worth it.
Working on a Rant bot for Telegram using a library I wrote for their API (ignore the Github bot being confused) [img_thumb]http://i.imgur.com/sNykIeQ.png[/img_thumb] Pretty rudimentary so far, but it already has a preset variable for your username. Later on I'm hoping to add the ability to save scripts and share them with other people using the bot! Add @rant_bot on Telegram to try it out (@rantbot was taken) Source: [url]https://github.com/jmazouri/Rantogram[/url]
[QUOTE=jmazouri;48108765]Working on a Rant bot for Telegram using a library I wrote for their API (ignore the Github bot being confused) [img_thumb]http://i.imgur.com/sNykIeQ.png[/img_thumb] Pretty rudimentary so far, but it already has a preset variable for your username. Later on I'm hoping to add the ability to save scripts and share them with other people using the bot! Add @rant_bot on Telegram to try it out (@rantbot was taken) Source: [url]https://github.com/jmazouri/Rantogram[/url][/QUOTE] Oh, you're the guy who submitted that issue. I thought the username looked familiar. Sorry about the problems with globals. A couple small tips you might find useful: 1. If you want properly formatted, fancier quotation marks (it does single-quotes for nested quotes as well), use [URL="http://berkin.me/rantdocs/functions/quote/"]this function[/URL] in place of your escaped quotes. 2. Use \a in place of a/an before queries and other random elements. It will choose the correct indefinite article for you.
What am i working on? Nothing! I have 106 unfinished projects in my Projects folder. [img]http://i.imgur.com/GVMsnmr.png[/img]
[QUOTE=Berkin;48109182]Oh, you're the guy who submitted that issue. I thought the username looked familiar. Sorry about the problems with globals. A couple small tips you might find useful: 1. If you want properly formatted, fancier quotation marks (it does single-quotes for nested quotes as well), use [URL="http://berkin.me/rantdocs/functions/quote/"]this function[/URL] in place of your escaped quotes. 2. Use \a in place of a/an before queries and other random elements. It will choose the correct indefinite article for you.[/QUOTE] Thanks for fixing it so quickly! I'm still getting used to the complexities of Rant, so I just copy-pasted that example from the docs :v ([url]http://berkin.me/rantdocs/queries[/url])
Finished the GPU voxelization! [img]http://i.imgur.com/1zH3nMS.png[/img] [img]http://i.imgur.com/FR76aoV.png[/img] This is with a voxel resolution of 256, but you can adjust it to however large or small you want. It's probably a poor idea to go over 512 though. I don't have conservative rasterization implemented yet, but with a resolution this high you don't really get holes. Here's an example: [img]http://i.imgur.com/h89SBH4.png[/img] Overall very pleased with the result. Learned a lot about geometry shaders and stuff. Maybe I'll use a compute shader later.
[QUOTE=cartman300;48109403]What am i working on? Nothing! I have 106 unfinished projects in my Projects folder. [img]http://i.imgur.com/GVMsnmr.png[/img][/QUOTE] I should have a projects folder.
So the other day I saw that someone made a utility to query images from an sql-like syntax. I decided it was a cool idea and I wanted to try my hand at writing something similar, so I ended up writing a library to do it. Here's a script that takes only every few groups of pixels from an image: [code] input in output out[in.width, in.height] out: select color from in where x % 5 < 1 and y % 5 < 1 [/code] This input: [thumb]http://i.imgur.com/6C6p1nX.jpg[/thumb] results in this output: [thumb]http://i.imgur.com/6ri45JX.png[/thumb] I can also do calculations in the select statement: [code] out: select {1-r,1-g,1-b,a} from in [/code] [thumb]http://i.imgur.com/j3B3mLB.png[/thumb] I still need to add support for functions (both inbuilt ones such as sin/cos/etc and the ability to define your own from within the queries) and conditional statements. I'm prototyping this in C# currently but I plan to move to C++ once I have everything a bit more thought out. If anyone is interested, the code is up at [url]https://github.com/redxdev/ImageQuery[/url]. Know that it is incredibly slow and unoptimized at the moment (both in terms of memory and CPU usage).
Sorry, you need to Log In to post a reply to this thread.