• What are you working on?
    5,004 replies, posted
WAYWO bug report: it's not January.
-snip-
Any one use zsh/oh-my-zsh? I'm mighty confused on how to get a good sexy theme on it.
[QUOTE=DoctorSalt;49652386]Any one use zsh/oh-my-zsh? I'm mighty confused on how to get a good sexy theme on it.[/QUOTE] I usually just go to the [URL="https://github.com/robbyrussell/oh-my-zsh/wiki/Themes"]themes page of the wiki[/URL] for ideas :v:
But what confuses me is that the background colors aren't changeable directly, so are we expected to open a picture of the theme in PS and manually find the colors? Seems like a shitty way to do it.
[URL="https://github.com/Darkwater/dotfiles/blob/master/.zshrc#L104-L156"]I just set my $PROMPT manually[/URL]
[QUOTE=DoctorSalt;49652671]But what confuses me is that the background colors aren't changeable directly, so are we expected to open a picture of the theme in PS and manually find the colors? Seems like a shitty way to do it.[/QUOTE] If you mean the colors of the terminal, that's handled by the terminal emulator and can't be controlled by zsh. If you aren't using one I believe you can use Xcolors
[QUOTE=WillKirkby;49651979]WAYWO bug report: it's not January.[/QUOTE] Hey, it's easier to revert your system clock than to make a new thread. [editline]2nd February 2016[/editline] Everybody revert their clocks a month back, please.
[QUOTE=cartman300;49653084]Hey, it's easier to revert your system clock than to make a new thread. [editline]2nd February 2016[/editline] Everybody revert their clocks a month back, please.[/QUOTE] Happy new year waywo!
So I figured out what I did wrong. Back when I first tried implementing specular lighting I just kinda "winged it" and never thought to look up a proper procedure. I also tried doing something none of the other tutorials I've seen ever did, and that was storing a specular exponent in the alpha channel of the texture. So now during a lighting pass, a light can pull a surface texture, modify the light transmission based on the surface normal. multiplied by the amount of allowed light the surface can reflect, but scatter the light based on how much the surface should scatter it: [t]http://i.imgur.com/t0ypV77.png[/t][t]http://i.imgur.com/0u9U6Sv.png[/t][t]http://i.imgur.com/fRcbnh3.png[/t][t]http://i.imgur.com/2FLUUWM.png[/t] (those are crude examples because I had to make them in photoshop) The effect of the last stage can be quite considerable even without the using a normal/bumpmap. For example, in the following image, I used a plain white texture with an empty full shiny specular map, except I added noise to the alpha "scatter/exponent" channel: [t]http://i.imgur.com/7D6zCzF.png[/t] The end result looks something like this: [quote][vid]https://my.mixtape.moe/cjxhum.mp4[/vid][/quote]
[IMG]https://i.gyazo.com/516281ac60801a7f5664a4a142f72483.gif[/IMG] First post in a month. Edit: When lights are closer than 100 pixels they dem them self. [IMG]https://i.gyazo.com/800fcabbf86d4dba5fe7ef2a45305d93.gif[/IMG] Last edit: This was all created in about 3 hours im super proud of it. [video=youtube;4lbi8cWg00k]http://www.youtube.com/watch?v=4lbi8cWg00k&feature=youtu.be[/video]
I should be reading for Astronomy tomorrow, or studying for Linear Algebra, but I'm adding more important functions to my tree structure for my simulation program and trying to linearize as much as I can. That counts, right?
I hate how much of a pain it is to set up OpenGL when you are starting a new project. Took me like a solid hour and a half to draw the same stupid triangle I draw every time I set up OpenGL from scratch. Maybe I should save this...
added boss waves to my game. they appear every 5 days on the final wave of the night. like everything else they have randomized names [img]http://i.imgur.com/Bs6R62t.png[/img]
Finally submitted my zombie game (GIBZ) to Steam Greenlight! [url=http://steamcommunity.com/sharedfiles/filedetails/?id=614174203]steamcommunity.com/sharedfiles/filedetails/?id=614174203[/url]
[QUOTE=WTF Nuke;49655821]I hate how much of a pain it is to set up OpenGL when you are starting a new project. Took me like a solid hour and a half to draw the same stupid triangle I draw every time I set up OpenGL from scratch. Maybe I should save this...[/QUOTE] Or use a really simple wrapper like OOGL or what I'm currently making
The usual hangups are making sure all my buffers are being set up correctly, debugging the shaders, etc. I have a simple OpenGL wrapper myself.
[QUOTE=WTF Nuke;49656566]The usual hangups are making sure all my buffers are being set up correctly, debugging the shaders, etc. I have a simple OpenGL wrapper myself.[/QUOTE] 45 minutes of that hour are usually spent looking at a black window (or cornflower blue I guess, if that's your thing) and wondering what the hell is wrong.
[QUOTE=Darwin226;49656574]45 minutes of that hour are usually spent looking at a black window (or cornflower blue I guess, if that's your thing) and wondering what the hell is wrong.[/QUOTE] 10 of them are spent looking at khronos.org and 5 just silently praying.
[media]https://www.youtube.com/watch?v=5Vh1enzDvAU[/media] Here's a gameplay video of my Global Game Jam 2016 entry, developed in Catania. This was my second time participating at a GGJ event - my team was improvised on the spot and we had a lot of fun developing this game. You can think of the game as an experimental reverse mouse-based Undertale RPG combat system, where you have to complete "rituals" [I]("ritual" was the theme of the GGJ)[/I] to attack the enemy or use your spells. Rituals are reflex-based mouse/touch-friendly minigames. The game was developed using C++14 and SFML. [url]http://globalgamejam.org/2016/games/demon-cleansing[/url]
Fixed my projection plane issues (thanks to Johnny and BackwardSpy) [vid]http://richardbamford.io/dmp/2016-02-02_15-21-12.webm[/vid]
For our embedded systems course we have to do some stuff with a 4x20 LCD and an ATmega32, decided to take it a step further and mess around with the custom character options of the HD44780 Quick editor in C# so I don't have to mess around with binary data [img]http://i.imgur.com/S33i7sG.png[/img] Which exports this: [code] char char0[] = {0x0,0x14,0x14,0x1D,0x15,0x15,0x0,0x0}; setchar(0, char0); char char1[] = {0x0,0x0,0x1B,0x13,0x1A,0x12,0x0,0x0}; setchar(1, char1); [/code] which results in [vid]https://files.kuubstudios.com/sharex/goz3rr/2016-02-02_17-10-02.webm[/vid] [editline]2nd February 2016[/editline] also this [t]http://i.imgur.com/AOgSuXB.jpg[/t]
Glad to see your embedded systems course is actually worth a shit, I'm taking one and we're 4 lectures in and the professor is talking about how to program in Arduino. In depth. Explaining how if statements work, how to write conditional statements, and how variable scope is defined. This is a 4000 level course, mind you. I hate my university.
Joining the basic OpenGL train: [vid]https://zippy.gfycat.com/HelplessConsiderateHamster.webm[/vid] And the syntax to make everything you see: [code] #include "Testbed.h" #include "..\PotionEngine\Rendering\Transform.hpp" #include "..\PotionEngine\Util.hpp" void Testbed::Init() { tex1.LoadFromFile( "../Resources/Textures/wall.png" ); testMesh.GetMaterial()->SetTexture( "_MainTex", &tex1 ); Vertex v1 = Vertex(); v1.position = Vector3( 0.5f, 0.5f, 0.0f ); v1.color = Vector3( 1.0f, 0.0f, 0.0f ); v1.UV = Vector2( 1.0f, 1.0f ); Vertex v2 = Vertex(); v2.position = Vector3( 0.5f, -0.5f, 0.0f ); v2.color = Vector3( 0.0f, 1.0f, 0.0f ); v2.UV = Vector2( 1.0f, 0.0f ); Vertex v3 = Vertex(); v3.position = Vector3( -0.5f, -0.5f, 0.0f ); v3.color = Vector3( 0.0f, 0.0f, 1.0f ); v3.UV = Vector2( 0.0f, 0.0f ); Vertex v4 = Vertex(); v4.position = Vector3( -0.5f, 0.5f, 0.0f ); v4.color = Vector3( 1.0f, 1.0f, 1.0f ); v4.UV = Vector2( 0.0f, 1.0f ); Vertex verts[ 4 ] = { v1, v2, v3, v4 }; GLuint indices[] = { 0, 1, 3, 1, 2, 3 }; testMesh.ApplyVertices( verts, 4 ); testMesh.ApplyIndices( indices, 6 ); testMesh.transform.Translate( Vector3( 0.5f, -0.5f, 0.0f ) ); } void Testbed::Draw() { camera.transform.SetPosition( Vector3( 0.f, 0.f, -2.f - sin( POT_GET_TIME_MS / 1000 ) ) ); testMesh.transform.SetRotation( Vector3( 0, 55, DegToRad( POT_GET_TIME_MS / 50 ) ) ); camera.Render( testMesh ); } [/code] I'm very happy with the clarity of my API so far. It's also very robust in the back, for example allowing the hot-swapping of different materials on a mesh during run-time.
I saw some robots in sold in stores that uses Arduino or some other small processors. Can those robots be programmed as like, or I'm stuck with 'following a red line' robots Any good robots that can be freely programmed, expanded on it sensors, so I dont waste money on those gimmicky starters robots?
[QUOTE=Protocol7;49657655] I hate my university.[/QUOTE] Quit. [editline]2nd February 2016[/editline] With everyone who disagrees - why waste money with something you hate; why not learn on your own and spare money for something worthy?
[QUOTE=Fourier;49658817]Quit. [editline]2nd February 2016[/editline] With everyone who disagrees - why waste money with something you hate; why not learn on your own and spare money for something worthy?[/QUOTE] To be fair, even if it is wasted time and money, a lot of jobs require a university degree regardless of experience.
[QUOTE=KillerLUA;49659122]To be fair, even if it is wasted time and money, a lot of jobs require a university degree regardless of experience.[/QUOTE] it's getting more and more lax in the US (west coast at least). Protocol7 could just say they went to the uni and don't list your graduation date. I do this, people don't give a fuck, it just helps HR filter shit.
[QUOTE=Trebgarta;49659337]Ha ha americans, my education is freee. Jokes aside, can you people "lateral transfer" if thats the right term, to continue from same level, in a better university? Also let alone Uni is a nice experience, it is also a convenience when it comes to learning. At least thats the case for me here, I dont know about there but there ought to be a way to get the education you deserve, right?[/QUOTE] no, you still have to apply as a transfer student and those have limited spots. my university is wonderful enough that it has competitive majors for damn near every major now. CSE has like a 20% acceptance rate.
[QUOTE=Fourier;49658817]Quit. [editline]2nd February 2016[/editline] With everyone who disagrees - why waste money with something you hate; why not learn on your own and spare money for something worthy?[/QUOTE] Because you can learn things and gain contacts that you wouldn't easily on your own. For me, university is almost a kickstarter for my career. I'll be able to get a good job at a large studio much more easily, and be able to gain knowledge from teachers who worked at prestigious studios in the field I want to work in. To simply say "quit" is short-sighted, and calling it a "waste [of] money" is too.
Sorry, you need to Log In to post a reply to this thread.