Unknown W. Brackets
555c76d439
Use bernstein for texcoord interpolation too.
...
This also closely matches hardware.
2016-04-09 22:14:15 -07:00
Unknown W. Brackets
2bafba3909
Interpolate bezier patch colors using bernstein.
...
This closely matches hardware (some color values seem to be off by one.)
See #7525 .
2016-04-09 21:41:49 -07:00
Henrik Rydgard
38a31fbd8b
Get rid of more uses of gstate from SplineCommon
2015-07-29 12:04:52 +02:00
Henrik Rydgard
53f062b7b2
refactor: Remove some uses of gstate from SplineCommon and a fex texcache functions
2015-07-29 11:40:45 +02:00
Unknown W. Brackets
5ee062c681
Try to optimize bezier color sampling.
2015-04-18 12:47:21 -07:00
Henrik Rydgard
033798c796
Expand spline data into a separate buffer. Prevent overflowing it by reducing the size of spline draws if necessary (but shouldn't really happen).
...
Might help #7386
2015-01-29 16:04:00 +01:00
Unknown W. Brackets
7ed67ad066
Use floats and SSE for spline colors.
2014-12-13 10:36:09 -08:00
xebra
43e3028add
[spline/bezier]Writing vertices to the buffer directly.
2014-12-14 01:08:00 +09:00
Henrik Rydgard
02a89306d1
Warning fixes, sprintf->snprintf
2014-09-13 23:51:07 +02:00
Henrik Rydgard
a4ae0f951a
Move spline generation to SplineCommon, make SplineDX9.cpp identical to Spline.cpp (merge later somehow)
2014-09-13 15:13:34 +02:00
Unknown W. Brackets
6630e45eff
Just add a packed version of Vec3f.
...
This way we can have it aligned to memory where needed. I think it'd be
better to avoid this if possible so that we can actually vectorize
spline/etc. code.
Fixes #5673 .
2014-03-17 06:59:40 -07:00
Henrik Rydgard
4cba4efbba
Try to fix scaling of generated UV texcoords on splines.
2013-09-24 14:14:05 +02:00