[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] 10th & 11th (jvk)
From: |
Janne Kujala |
Subject: |
[Gzz] 10th & 11th (jvk) |
Date: |
Wed, 11 Sep 2002 17:11:53 +0300 |
User-agent: |
Mutt/1.2.5i |
10th:
Implemented emboss texgen "vertex entry point"
11th:
Fixed bugs in vertex entry points and implemented fish eye distortion.
"make runfisheye" to test (note: needs GL_NV_vertex_program1_1).
The current implementation just divides the paper into
a 17x17 mesh and modulates the vertex distance from the
bulge origin (which should animate better than modulating the
paper coordinates).
Fisheye parameters:
cs1: paper-to-vertex coordinate mapping
cs2: bulge-to-vertex coordinate mapping
x0,y0,x1,y1:
the region of the paper (in paper coords)
that is drawn
Are these ok?
Possible improvements:
- try to find good grid size based on x0,y0,x1,y1
- use less vertices where the distortion is close to linear
- use projective texture mapping
- implement distortion in vertex programs
- use better distortion function
- do not evaluate points twice
What improvements should be done?
jvk
- [Gzz] 10th & 11th (jvk),
Janne Kujala <=