• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:03
CEST 15:03
KST 22:03
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL54Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Weekly Cups (June 23-29): Reynor in world title form? The SCII GOAT: A statistical Evaluation PiG Sty Festival #5: Playoffs Preview + Groups Recap The GOAT ranking of GOAT rankings Statistics for vetoed/disliked maps
Tourneys
RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL BW General Discussion Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Unit and Spell Similarities
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 648 users

The Big Programming Thread - Page 702

Forum Index > General Forum
Post a Reply
Prev 1 700 701 702 703 704 1031 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
Poland17243 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
Poland17243 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
Poland17243 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
Poland17243 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 1031 Next
Please log in or register to reply.
Live Events Refresh
WardiTV European League
12:00
Swiss Groups Day 2
WardiTV1198
TKL 366
Liquipedia
CranKy Ducklings
10:00
Master Swan Open #93
CranKy Ducklings86
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 366
Hui .279
BRAT_OK 84
MindelVK 43
StarCraft: Brood War
Calm 11547
Horang2 2182
Bisu 1330
Jaedong 1212
Flash 1209
Larva 874
Mini 536
BeSt 383
Stork 382
actioN 314
[ Show more ]
Last 206
Soulkey 190
Hyun 163
Mind 103
hero 103
TY 56
sSak 49
Yoon 40
Mong 36
Icarus 21
Free 17
HiyA 12
GoRush 11
Terrorterran 1
Stormgate
NightEnD24
Dota 2
XcaliburYe593
canceldota230
Counter-Strike
zeus553
Heroes of the Storm
Khaldor289
Other Games
Gorgc3088
singsing2940
B2W.Neo1352
DeMusliM557
Happy340
Fuzer 251
XaKoH 228
Lowko201
SortOf113
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Adnapsc2 22
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2343
• WagamamaTV692
League of Legends
• Nemesis3452
Upcoming Events
FEL
2h 58m
RSL Revival
20h 58m
Clem vs Classic
SHIN vs Cure
FEL
22h 58m
WardiTV European League
22h 58m
BSL: ProLeague
1d 4h
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
3 days
The PondCast
3 days
Replay Cast
4 days
[ Show More ]
RSL Revival
4 days
Replay Cast
5 days
RSL Revival
5 days
RSL Revival
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.