List of commits:
Subject Hash Author Date (UTC)
tr 11c1e0006c1f518d6488614c816fa3c993a355b1 Alexey 2017-03-21 15:14:16
#t push origin --all 11adafa0e28d59de4241ab39c120c973671a3cfc Alexey 2017-03-21 15:07:20
#t push origin --all beab7672d13771e22d5767872dff3f5525d4fa5e Alexey 2017-03-21 14:58:29
# : : bc17c3c618b3209c2c37fe041f8147c120e75e42 Alexey 2017-03-20 15:08:18
# 62a5490137f475545309fe6190beb74c56802050 Alexey 2017-03-20 14:42:04
# 42f703f3251b2d7d96ee022955cdaa405c5293b9 Alexey 2017-03-17 22:47:38
# 5737ad61503ae00f7b2024e550e24faf5aa2efc9 Alexey 2017-03-12 18:56:13
# 9575b3e86695e1585d8063722776c59d0cd12c10 Alexey 2017-03-09 01:08:10
op # 066b109760c5ea0f36a08bf4256426ac6311ea30 Alexey 2017-03-08 14:44:26
h# cf98cf078fa4b35b3228082cba8dad1a2e4e0adb Alexey 2017-03-07 13:00:11
ko# f144472b7c0900692ee11fccda7bc7d3e3b50096 Alexey 2017-03-06 16:55:29
nk 449c7c4a58b96c1f21999ace709d4c3486874fe7 Alexey 2017-03-06 16:38:08
on/off 270d34eac26f7fccc70e7dd492899c535a866511 Alexey 2017-03-06 10:58:34
reel 5bdd2c0dbf3d743b3818d038a054280f37e117f8 Alexey 2017-03-05 21:13:49
c++ t.c --target=arm-linux-gnu `pkg-config --libs --cflags gtk+-3.0 epoxy ` -o op -lOpenImageIO -lopencv_videoio ebaac349ce934d80f1444df53b7bbda3a42a35b6 Alexey 2017-03-05 18:25:42
c++ t.c --target=arm-linux-gnu `pkg-config --libs --cflags gtk+-3.0 epoxy ` -o op -lOpenImageIO -lopencv_videoio 7ddf326fbc3789c95efafe10b0381290ab37632f Alexey 2017-03-05 15:32:41
Commit 11c1e0006c1f518d6488614c816fa3c993a355b1 - tr
Author: Alexey
Author date (UTC): 2017-03-21 15:14
Committer name: Alexey
Committer date (UTC): 2017-03-21 15:14
Parent(s): 11adafa0e28d59de4241ab39c120c973671a3cfc
Signing key:
Tree: 638cd5c32ff18b4c8e5adbac379cc8295f91634b
File Lines added Lines deleted
t.c 4 5
File t.c changed (mode: 100644) (index 8f0ac2d..4f84081)
... ... in mat4 p;
49 49
50 50 void main() void main()
51 51 { {
52 vec3 b=vec3(2.5,-.4,-5.42);
53 b=normalize(b);
52 vec3 b=vec3(.5,-.4,-.42);
54 53 //vec3 tb=vec3(p*b); //vec3 tb=vec3(p*b);
55 54 mat3 tw = transpose(inverse(mat3(p))); mat3 tw = transpose(inverse(mat3(p)));
56 55 vec3 h = normalize(tw*cb); vec3 h = normalize(tw*cb);
57 56 vec3 s = vec3(p * knn ); vec3 s = vec3(p * knn );
58 57 vec3 hk=normalize(b - s); vec3 hk=normalize(b - s);
59 intensity = max(dot(h,hk), 0.0);
58 intensity = max(dot(h,b), 0.0);
60 59 if(gl_FrontFacing) if(gl_FrontFacing)
61 60 gl_FragColor = vec4( intensity*texture( t, kn).xyz, 1.); gl_FragColor = vec4( intensity*texture( t, kn).xyz, 1.);
62 61 else discard; else discard;
 
... ... glBindVertexArray(0);
253 252 // glActiveTexture(GL_TEXTURE0); // glActiveTexture(GL_TEXTURE0);
254 253 // glBindTexture(GL_TEXTURE_2D, vertexT); // glBindTexture(GL_TEXTURE_2D, vertexT);
255 254
256 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
257 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
255 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
256 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
258 257 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1024, 1024, 0, GL_RGBA, GL_UNSIGNED_BYTE,trr); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1024, 1024, 0, GL_RGBA, GL_UNSIGNED_BYTE,trr);
259 258
260 259 return TRUE; return TRUE;
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/bowler17/gl

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/bowler17/gl

Clone this repository using git:
git clone git://git.rocketgit.com/user/bowler17/gl

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main