|
CubeTwister 2.0alpha141 2011-10-13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectidx3d.idx3d_Rasterizer
idx3d.idx3d_LinearRasterizer
public final class idx3d_LinearRasterizer
Linear rasterizer stage of the render pipeline.
This rasterizer performs linear interpolation of textures. Hence the algorithm is very fast but yields distortions when faces are not parallel to the camera plane.
For surfaces with large textured triangles use
idx3d_PerspectiveRasterizer.
| Field Summary | |
|---|---|
boolean |
ready
|
| Constructor Summary | |
|---|---|
idx3d_LinearRasterizer(idx3d_RenderPipeline pipeline)
|
|
| Method Summary | |
|---|---|
boolean |
isAntialiased()
|
void |
loadLightmap(idx3d_Lightmap lm)
Lightmap loader. |
void |
loadMaterial(idx3d_InternalMaterial material)
Material loader. |
void |
render(idx3d_Triangle tri)
Renderer. |
void |
setPipeline(idx3d_RenderPipeline pipeline)
Render pipeline. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean ready
| Constructor Detail |
|---|
public idx3d_LinearRasterizer(idx3d_RenderPipeline pipeline)
| Method Detail |
|---|
public void setPipeline(idx3d_RenderPipeline pipeline)
idx3d_Rasterizer
setPipeline in class idx3d_Rasterizerpublic boolean isAntialiased()
public void loadLightmap(idx3d_Lightmap lm)
idx3d_Rasterizer
loadLightmap in class idx3d_Rasterizerpublic void loadMaterial(idx3d_InternalMaterial material)
idx3d_Rasterizer
loadMaterial in class idx3d_Rasterizerpublic void render(idx3d_Triangle tri)
idx3d_Rasterizer
render in class idx3d_Rasterizer
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||