Jakub Valtar
d4f2392edc
Move collecting vertex attributes into a function
2015-07-21 14:20:50 -04:00
Jakub Valtar
8d942ad8b1
Fix curves (properly this time)
2015-07-21 10:39:06 -04:00
Jakub Valtar
aeb8f54230
Remove duplicate curve vertex
...
Fixes #2937
2015-07-20 16:35:04 -04:00
Jakub Valtar
bb9b82a42e
Sorter: Fix out of bounds exceptions
...
Fixes #3476
1) Arrays were not resized
2) There was a wrong index when rotating right
2015-07-17 10:13:10 -04:00
codeanticode
54a3c55590
finished implementing attrib API
2015-07-13 01:30:29 -04:00
codeanticode
48e136bb79
implementing new gl resource disposal method based on WeakReferences
2015-06-23 16:49:14 -04:00
codeanticode
ed573d10e2
tessellator is no longer static
2015-06-21 08:58:17 -04:00
Jakub Valtar
d9295c5f51
Fix NullPointerException in DepthSorter
2015-06-20 12:05:21 +02:00
codeanticode
0c6acb9025
Merge pull request #3372 from JakubValtar/feature-depth-sort-integration
...
Feature depth sort integration
2015-06-10 11:08:12 -04:00
Jakub Valtar
ca508802db
Fix sorter buffer size
2015-06-09 18:36:29 +02:00
codeanticode
dee0e73d12
don't disable multisampling if smooth is 1
2015-06-09 11:39:00 -04:00
Ben Fry
a4a87f8633
moving to pixelDensity()
2015-06-08 12:00:33 -04:00
Ben Fry
6ae240a038
rename primarySurface to primaryGraphics since surface means something else nowadays
2015-06-06 16:11:25 -04:00
Ben Fry
9bb8a6ab19
change up how smoothing is handled (see #3357 )
2015-06-06 16:09:12 -04:00
Ben Fry
88968262af
Merge branch 'master' of github.com:processing/processing
2015-06-05 22:21:04 -04:00
Ben Fry
eda15abce9
sorting out multi-display, fullScreen(), param passing with surface...
2015-06-05 21:24:28 -04:00
codeanticode
7ecabd8a34
init shader in shader() call
2015-06-05 18:57:17 -04:00
codeanticode
f62bbdfb0c
use pixelWidth/Height throughout
2015-06-05 10:48:39 -04:00
codeanticode
f553782cd0
duplicate stroke vertices when they fall in separate cache blocks
2015-06-03 08:55:43 -04:00
codeanticode
6f8700731d
bounds of orthographics projection region are relative to viewport
...
center, so it follows gluOrtho()
2015-06-02 15:27:08 -04:00
Jakub Valtar
7d8c388a58
Add new depth sorter
...
- In P3D, use ENABLE_DEPTH_SORT and DISABLE_DEPTH_SORT hints to switch
between sorted and unsorted mode. Raw output is affected as well.
- Enabling or disabling sorting will flush before making the change.
- You can first draw geometry which does not need sorting, then enable
sorted mode mid-frame and draw transparent geometry, then switch back.
The only cost for switching is flush.
2015-06-01 22:56:55 +02:00
codeanticode
e1efbea925
use texture point sampling when user requests noSmooth()
2015-06-01 12:50:18 -04:00
Jakub Valtar
5b1e9e1378
Remove old sorting code
2015-06-01 16:44:07 +02:00
codeanticode
d3a14b67e1
more efficient implementation of setImpl()
2015-05-31 19:57:39 -04:00
codeanticode
247690b142
inits pixelWidth, pixelHeight
2015-05-31 18:44:59 -04:00
codeanticode
0340afee00
collect child attributes in root
2015-05-31 18:06:24 -04:00
codeanticode
8d0ae882f2
fixed case in name of TexLight shader
2015-05-29 07:52:29 -04:00
codeanticode
c7dc28b518
initialize attribs in right place
2015-05-24 09:40:29 -04:00
codeanticode
55fee051a8
normalize attributes in tessellator's combine
2015-05-24 09:14:48 -04:00
codeanticode
9f3bc33337
replace vertex attribs with augmented array
2015-05-24 08:20:33 -04:00
codeanticode
8bb398d5bb
moved shaders to separate package
2015-05-19 23:48:05 -04:00
codeanticode
29f790a3b5
renamed texture shaders
2015-05-19 18:11:29 -04:00
codeanticode
1f7e61d601
make surfaceJOGL static to take care of
...
https://github.com/processing/processing/issues/3292
2015-05-17 21:08:10 -04:00
codeanticode
474dddf704
get current pixel scale from GLWindow
2015-05-17 09:14:22 -04:00
codeanticode
c0514c3d35
put JOGL back in
2015-05-14 18:20:03 -04:00
Ben Fry
11849e272b
cleanup
2015-05-13 22:39:56 -04:00
Ben Fry
631cb4276d
rewrite createShape() handling to clean up the mess
2015-04-28 12:42:53 -04:00
Jakub Valtar
b20fe4601a
Fixed extra edges in sphere tesselation
...
Fixes #3193
2015-04-25 00:26:20 +02:00
codeanticode
76651a4671
a few tweaks to active
2015-03-31 16:13:17 -04:00
codeanticode
b29fc259fe
correctly detect if the attribute is active
2015-03-31 16:05:14 -04:00
codeanticode
840a04fc66
fixed index issue
2015-03-31 15:48:52 -04:00
codeanticode
fcff028cf3
check if attribute is active
2015-03-31 15:39:46 -04:00
codeanticode
8ac36534d6
fixed index argument
2015-03-31 15:19:47 -04:00
codeanticode
c226badf22
added bind and unbind to VertexAttribute class
2015-03-31 15:09:22 -04:00
codeanticode
4e7f76ceb3
more work in PShape, same renaming
2015-03-31 12:04:33 -04:00
codeanticode
828cafa44a
attrib bits in PShape
2015-03-31 11:45:51 -04:00
codeanticode
c95f64df26
init attrib arrays
2015-03-30 22:27:00 -04:00
codeanticode
fd00bfdc73
added geometric transformations
2015-03-30 22:12:57 -04:00
codeanticode
efdbc0ae52
some attrib tweaks
2015-03-30 21:56:28 -04:00
codeanticode
c3b0b69eda
attrib functionality (theoretically) done
2015-03-30 21:27:06 -04:00