Last change
on this file since 1156 was
827,
checked in by vrinside, 17 years ago
|
Added color blending with point sprite texture
|
File size:
640 bytes
|
Line | |
---|
1 | #ifndef __POINT_SET_RENDERER_H__ |
---|
2 | #define __POINT_SET_RENDERER_H__ |
---|
3 | |
---|
4 | #include "PCASplit.h" |
---|
5 | #include "BucketSort.h" |
---|
6 | #include "PointShader.h" |
---|
7 | #include "Texture2D.h" |
---|
8 | #include <Mat4x4.h> |
---|
9 | |
---|
10 | class PointSetRenderer { |
---|
11 | PCA::BucketSort* _bucketSort; |
---|
12 | PointShader* _shader; |
---|
13 | Texture2D* _pointTexture; |
---|
14 | public : |
---|
15 | PointSetRenderer(); |
---|
16 | ~PointSetRenderer(); |
---|
17 | |
---|
18 | private : |
---|
19 | void renderPoints(PCA::Point* points, int length); |
---|
20 | void renderCluster(PCA::ClusterList** bucket, int size, int level); |
---|
21 | |
---|
22 | public : |
---|
23 | void render(PCA::ClusterAccel* cluster, const Mat4x4& mat, int sortLevel, const Vector3& scale, const Vector3& origin); |
---|
24 | }; |
---|
25 | |
---|
26 | #endif |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.