• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:54
CEST 10:54
KST 17:54
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou21Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET9Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)81
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Merivale 8 Open - LAN - Stellar Fest Tenacious Turtle Tussle RSL Season 3 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BSL Team A vs Koreans - Sat-Sun 16:00 CET OGN to release AI-upscaled StarLeague from Feb 24 Is there anyway to get a private coach? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
ASL final tickets help Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Semifinal B
Strategy
Roaring Currents ASL final Relatively freeroll strategies BW - ajfirecracker Strategy & Training TvP Upgrades
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
MLB/Baseball 2023 2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1305 users

The Big Programming Thread - Page 702

Forum Index > General Forum
Post a Reply
Prev 1 700 701 702 703 704 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Manit0u
Profile Blog Joined August 2004
Poland17397 Posts
January 20 2016 07:08 GMT
#14021
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.
Time is precious. Waste it wisely.
Wrath
Profile Blog Joined July 2014
3174 Posts
January 20 2016 08:53 GMT
#14022
On January 20 2016 16:08 Manit0u wrote:
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.


Are weeks more than 7 days or you work more than 88 hours a week?
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2016-01-20 12:21:02
January 20 2016 12:20 GMT
#14023
--- Nuked ---
Manit0u
Profile Blog Joined August 2004
Poland17397 Posts
Last Edited: 2016-01-20 16:36:48
January 20 2016 12:49 GMT
#14024
On January 20 2016 17:53 WrathSCII wrote:
Show nested quote +
On January 20 2016 16:08 Manit0u wrote:
Working 11 days a week is no fun Perma-tired... Hate fixing shitty projects that are beyond hope.


Are weeks more than 7 days or you work more than 88 hours a week?


The latter

Edit:
Today was a great success. First I've improved app response times by a factor of 6 and then I added 30% boost on top of that. Encouraged by this I might feel bold enough tomorrow to add a reverse proxy and redis cache to boost it even further, but I guess I won't have the time for that.
Time is precious. Waste it wisely.
aXa
Profile Blog Joined July 2010
France748 Posts
Last Edited: 2016-01-20 20:43:46
January 20 2016 19:24 GMT
#14025
[image loading]

I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2016-01-20 20:56:12
January 20 2016 20:55 GMT
#14026
Nvm.
"windows bash is a steaming heap of shit" tofucake
Wrath
Profile Blog Joined July 2014
3174 Posts
January 20 2016 21:27 GMT
#14027
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?
aXa
Profile Blog Joined July 2010
France748 Posts
January 20 2016 21:36 GMT
#14028
On January 21 2016 06:27 WrathSCII wrote:
Show nested quote +
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.
Wrath
Profile Blog Joined July 2014
3174 Posts
January 21 2016 06:58 GMT
#14029
On January 21 2016 06:36 aXa wrote:
Show nested quote +
On January 21 2016 06:27 WrathSCII wrote:
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.


Ah... Well, can you help to get started with the basics?
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2016-01-21 07:22:29
January 21 2016 07:21 GMT
#14030
--- Nuked ---
aXa
Profile Blog Joined July 2010
France748 Posts
January 21 2016 08:21 GMT
#14031
On January 21 2016 15:58 WrathSCII wrote:
Show nested quote +
On January 21 2016 06:36 aXa wrote:
On January 21 2016 06:27 WrathSCII wrote:
On January 21 2016 04:24 aXa wrote:
I'm programming a Go game using OpenGL as a project for school, and I'm having a great time. I love OpenGL, I was wondering if any of you guys would recommend me a book on shaders ? I'd like to improve my skills so one day I can make my own game with beautiful graphics


I was going to ask the same thing...

I never took a computer graphics course so I don't have any info about it is being processed within the computer and within the GPU-CPU stuff. Tried to OpenGL, but without theory understanding it seems hard... Can anyone point me to a good startup place to understand graphics processing?


Mh, your question makes me feel like my question was not clear. I'm looking for a book to go more in-depth on shaders, I already understand the basics.


Ah... Well, can you help to get started with the basics?


Well, I learned myself by googling everything to death, so it's kind of difficult to remember where I picked up useful informations.What I can tell you, is that your first exercice should be this:
Find a .obj file of the famous teapot (http://inst.eecs.berkeley.edu/~cs184/sp09/assignments/teapot.obj), use GLFW, glew and GLM to try to draw the scene with said teapot. Hardest part will be understand how shaders work.
iaretehnoob
Profile Joined June 2004
Sweden741 Posts
January 21 2016 12:54 GMT
#14032
http://learnopengl.com/ looks like a good starting point for OpenGL. Appears to be quite comprehensive and non-terrible at a first glance. For more theory and a focus on ray tracing I like http://scratchapixel.com/ , lots of good information there.

I'm not sure what you are looking for with regards to shaders. The basics of how shaders work and how they interact with each other and your main program? Different techniques and lighting models? Or something else?
Wrath
Profile Blog Joined July 2014
3174 Posts
Last Edited: 2016-01-21 15:00:18
January 21 2016 14:57 GMT
#14033
I think I was not clear with the basics...

I have no idea what "rendering" or "shaders" are or even how the data are being processed in the GPU. I have taken computer architecture courses so I have an idea how things go between memory - cpu stuff. But I have no idea how GPU process data and the other terms related to graphics libraries or API are.

I'm not sure how I am supposed to work with OpenGL and try stuff without understanding those stuff first.

Thank you very much Nesserev!

This is like a good start except I want an already made classes that I can view on YouTube or something. No time to enroll on any classes

I'll begin searching on what you gave me, hopefully I can find some useful stuff.
Khalum
Profile Joined September 2010
Austria831 Posts
January 21 2016 16:16 GMT
#14034
sdafjiasdfljasdfjhsadfüjasdäjgdlmmöx#üßwerßjmlög

The OpenCV SURF implementation uses OpenCL per default since version 3.0 and that beautiful thing just crashes on some laptops. And I wasted 5 hours trying to figure out where the f... my code had a bug....

I need beer now. Lots of.



Zocat
Profile Joined April 2010
Germany2229 Posts
January 21 2016 16:53 GMT
#14035
If you're completely new this is a decent tutorial: https://bitbucket.org/alfonse/gltut/downloads (it's the former arcsynthesis.org tutorial, for people that know about that one).

In general I think the book Real-Time Rendering (Moller, ...) is a great resource, but it's not specific to a language. I'd say it's more theory based for understanding, not for doing (getting results fast).

The "red book" is an intro to OpenGL.

There is also an "orange" book which focuses on Shaders. aXa that might be an option for you.
I have also heard ShaderX (old, outdated?, 1st one free here) and GPU Pro books mentioned.



Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
January 21 2016 17:10 GMT
#14036
Are video players optimised further or do they use ffmpeg straight out of the box? Does anyone have an idea? I've seen some ffmpeg decode examples, but vlc often performs better.
Manit0u
Profile Blog Joined August 2004
Poland17397 Posts
January 22 2016 01:04 GMT
#14037
[image loading]
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2016-01-22 07:22:23
January 22 2016 07:22 GMT
#14038
On January 22 2016 10:04 Manit0u wrote:
+ Show Spoiler +
[image loading]


I'm sad that the first real progamming language I learned - Perl - isn't on that list

http://www.cpan.org/misc/japh
Manit0u
Profile Blog Joined August 2004
Poland17397 Posts
January 22 2016 11:05 GMT
#14039
On January 22 2016 16:22 Morfildur wrote:
Show nested quote +
On January 22 2016 10:04 Manit0u wrote:
+ Show Spoiler +
[image loading]


I'm sad that the first real progamming language I learned - Perl - isn't on that list

http://www.cpan.org/misc/japh


This reminds me of this beauty (flight simulator):


#include <math.h>
#include <sys/time.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
double L ,o ,P
,_=dt,T,Z,D=1,d,
s[999],E,h= 8,I,
J,K,w[999],M,m,O
,n[999],j=33e-3,i=
1E3,r,t, u,v ,W,S=
74.5,l=221,X=7.26,
a,B,A=32.2,c, F,H;
int N,q, C, y,p,U;
Window z; char f[52]
; GC k; main(){ Display*e=
XOpenDisplay( 0); z=RootWindow(e,0); for (XSetForeground(e,k=XCreateGC (e,z,0,0),BlackPixel(e,0))
; scanf("%lf%lf%lf",y +n,w+y, y+s)+1; y ++); XSelectInput(e,z= XCreateSimpleWindow(e,z,0,0,400,400,
0,0,WhitePixel(e,0) ),KeyPressMask); for(XMapWindow(e,z); ; T=sin(O)){ struct timeval G={ 0,dt*1e6}
; K= cos(j); N=1e4; M+= H*_; Z=D*K; F+=_*P; r=E*K; W=cos( O); m=K*W; H=K*T; O+=D*_*F/ K+d/K*E*_; B=
sin(j); a=B*T*D-E*W; XClearWindow(e,z); t=T*E+ D*B*W; j+=d*_*D-_*F*E; P=W*E*B-T*D; for (o+=(I=D*W+E
*T*B,E*d/K *B+v+B/K*F*D)*_; p<y; ){ T=p[s]+i; E=c-p[w]; D=n[p]-L; K=D*m-B*T-H*E; if(p [n]+w[ p]+p[s
]== 0|K <fabs(W=T*r-I*E +D*P) |fabs(D=t *D+Z *T-a *E)> K)N=1e4; else{ q=W/K *4E2+2e2; C= 2E2+4e2/ K
*D; N-1E4&& XDrawLine(e ,z,k,N ,U,q,C); N=q; U=C; } ++p; } L+=_* (X*t +P*M+m*l); T=X*X+ l*l+M *M;
XDrawString(e,z,k ,20,380,f,17); D=v/l*15; i+=(B *l-M*r -X*Z)*_; for(; XPending(e); u *=CS!=N){
XEvent z; XNextEvent(e ,&z);
++*((N=XLookupKeysym
(&z.xkey,0))-IT?
N-LT? UP-N?& E:&
J:& u: &h); --*(
DN -N? N-DT ?N==
RT?&u: & W:&h:&J
); } m=15*F/l;
c+=(I=M/ l,l*H
+I*M+a*X)*_; H
=A*r+v*X-F*l+(
E=.1+X*4.9/l,t
=T*m/32-I*T/24
)/S; K=F*M+(
h* 1e4/l-(T+
E*5*T*E)/3e2
)/S-X*d-B*A;
a=2.63 /l*d;
X+=( d*l-T/S
*(.19*E +a
*.64+J/1e3
)-M* v +A*
Z)*_; l +=
K *_; W=d;
sprintf(f,
"%5d %3d"
"%7d",p =l
/1.7,(C=9E3+
O*57.3)%0550,(int)i); d+=T*(.45-14/l*
X-a*130-J* .14)*_/125e2+F*_*v; P=(T*(47
*I-m* 52+E*94 *D-t*.38+u*.21*E) /1e2+W*
179*v)/2312; select(p=0,0,0,0,&G); v-=(
W*F-T*(.63*m-I*.086+m*E*19-D*25-.11*u
)/107e2)*_; D=cos(o); E=sin(o); } }


To run it on Linux:

cc banks.c -o banks -DIT=XK_Page_Up -DDT=XK_Page_Down \
-DUP=XK_Up -DDN=XK_Down -DLT=XK_Left -DRT=XK_Right \
-DCS=XK_Return -Ddt=0.02 -lm -lX11 -L/usr/X11R6/lib
Time is precious. Waste it wisely.
Khalum
Profile Joined September 2010
Austria831 Posts
January 22 2016 14:16 GMT
#14040
While we're at it..
http://motherboard.vice.com/read/donald-trump-in-a-programming-language
Prev 1 700 701 702 703 704 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Larva 511
Leta 463
Dewaltoss 78
Aegong 43
Backho 38
zelot 11
Sharp 4
Dota 2
XcaliburYe407
ODPixel375
League of Legends
JimRising 698
Counter-Strike
Stewie2K618
Super Smash Bros
Mew2King70
Heroes of the Storm
Khaldor116
Other Games
summit1g8985
singsing695
Happy228
mouzStarbuck105
Trikslyr23
Organizations
Other Games
gamesdonequick529
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• StrangeGG 84
• LUISG 29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1887
• Lourlo417
• HappyZerGling133
Upcoming Events
RSL Revival
1h 6m
WardiTV Invitational
2h 6m
OSC
6h 6m
SKillous vs goblin
Spirit vs GgMaChine
ByuN vs MaxPax
Afreeca Starleague
23h 6m
Snow vs Soma
Sparkling Tuna Cup
1d 1h
WardiTV Invitational
1d 3h
CrankTV Team League
1d 4h
BASILISK vs Streamerzone
Team Liquid vs Shopify Rebellion
Team Vitality vs Team Falcon
BSL Team A[vengers]
1d 6h
Gypsy vs nOOB
JDConan vs Scan
RSL Revival
1d 8h
Wardi Open
2 days
[ Show More ]
CrankTV Team League
2 days
Replay Cast
3 days
WardiTV Invitational
3 days
CrankTV Team League
3 days
Replay Cast
4 days
CrankTV Team League
4 days
Replay Cast
4 days
The PondCast
5 days
CrankTV Team League
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.