• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:34
CET 20:34
KST 04:34
  • 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
[BSL21] Non-Korean Championship - Starts Jan 100SC2 All-Star Invitational: Jan 17-1819Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises3Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11
StarCraft 2
General
Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises SC2 All-Star Invitational: Jan 17-18 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
A cwal.gg Extension - Easily keep track of anyone I would like to say something about StarCraft StarCraft & BroodWar Campaign Speedrun Quest BGH Auto Balance -> http://bghmmr.eu/ (UMS) SWITCHEROO *New* /Destination Edit/
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
Elden Ring Thread General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! Stormgate/Frost Giant Megathread
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: 956 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
Poland17557 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
Poland17557 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
Poland17557 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
Poland17557 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 7h 26m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 302
trigger 254
mouzHeroMarine 185
Liquid`MaNa 172
JuggernautJason101
BRAT_OK 79
RushiSC 37
SC2Nice 30
MindelVK 19
Railgan 10
StarCraft: Brood War
Jaedong 527
Mini 167
Shuttle 121
Dewaltoss 100
firebathero 88
Bonyth 78
Killer 33
ajuk12(nOOB) 14
HiyA 13
JYJ 12
[ Show more ]
NaDa 11
yabsab 10
Dota 2
qojqva4821
Fuzer 237
febbydoto15
League of Legends
C9.Mang0219
Counter-Strike
pashabiceps2370
fl0m1229
Heroes of the Storm
Liquid`Hasu373
Other Games
Grubby5380
FrodaN1791
Beastyqt936
B2W.Neo639
mouzStarbuck221
DeMusliM189
ArmadaUGS108
KnowMe102
QueenE75
Livibee67
IndyStarCraft 40
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• kabyraGe 195
• naamasc235
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Michael_bg 6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV801
Other Games
• imaqtpie1966
• Shiphtur376
• tFFMrPink 17
Upcoming Events
Korean StarCraft League
7h 26m
OSC
16h 26m
IPSL
18h 26m
Dewalt vs Bonyth
OSC
22h 26m
OSC
1d 16h
uThermal 2v2 Circuit
1d 18h
Replay Cast
2 days
Patches Events
3 days
OSC
3 days
OSC
4 days
[ Show More ]
OSC
5 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.