• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:50
CET 11:50
KST 19:50
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
SC2 All-Star Invitational: Jan 17-1819Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises2Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou Starcraft 2 Zerg Coach ComeBackTV's documentary on Byun's Career !
Tourneys
OSC Season 13 World Championship WardiTV Mondays $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play
Brood War
General
I would like to say something about StarCraft A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ (UMS) SWITCHEROO *New* /Destination Edit/ What monitor do you use for playing Remastered?
Tourneys
SLON Grand Finals – Season 2 [BSL21] Non-Korean Championship - Starts Jan 10 [Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET
Strategy
Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player Fighting Spirit mining rates
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! Stormgate/Frost Giant Megathread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Canadian Politics Mega-thread The Games Industry And ATVI 12 Days of Starcraft
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1846 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
Poland17556 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
Poland17556 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
Poland17556 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
Poland17556 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 2h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 160
Creator 85
StarCraft: Brood War
PianO 1441
Horang2 1252
Shuttle 882
Jaedong 588
Stork 412
Larva 377
actioN 304
Light 293
Soma 225
Mini 200
[ Show more ]
Hyuk 190
Hyun 186
ZerO 155
Mong 127
Sharp 112
ggaemo 105
EffOrt 94
Pusan 89
hero 86
JYJ 68
Rush 65
ToSsGirL 57
Barracks 56
sorry 54
Mind 51
Killer 50
Bale 44
Sacsri 40
soO 31
zelot 29
yabsab 14
Movie 10
ajuk12(nOOB) 9
Noble 5
GoRush 5
Dota 2
NeuroSwarm101
League of Legends
C9.Mang0547
JimRising 496
Counter-Strike
shoxiejesuss1023
Other Games
summit1g8168
ceh9432
Fuzer 173
B2W.Neo121
ZerO(Twitch)20
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 27
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Adnapsc2 12
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2274
• Stunt698
Upcoming Events
OSC
2h 10m
Korean StarCraft League
16h 10m
OSC
1d 1h
IPSL
1d 3h
Dewalt vs Bonyth
OSC
1d 7h
OSC
2 days
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
Patches Events
3 days
Liquipedia Results

Completed

C-Race Season 1
WardiTV 2025
META Madness #9

Ongoing

IPSL Winter 2025-26
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
Escore Tournament S1: W2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1: W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2026 TLnet. All Rights Reserved.