Uses of Class
eu.svjatoslav.aukio.e3d.renderer.raster.RenderingContext
Packages that use RenderingContext
Package
Description
Graphical user interface components for the Aukio 3D engine.
Headless rendering toolkit: windowless snapshots, pixel assertions,
golden-image comparison and scene-state dumps.
Rasterization-based real-time software renderer for the Aukio 3D engine.
Renderable shape classes for the rasterization pipeline.
Primitive shape implementations for the rasterization pipeline.
3D line segment rendering with perspective-correct width and alpha blending.
Solid-color polygon rendering with scanline rasterization.
Textured triangle rendering with perspective-correct UV mapping.
Base class and utilities for composite shapes.
-
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.gui
Methods in eu.svjatoslav.aukio.e3d.gui that return RenderingContextModifier and TypeMethodDescriptionViewPanel.getRenderingContext()Returns the current rendering context for the active frame.Methods in eu.svjatoslav.aukio.e3d.gui with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidViewSpaceTracker.analyze(TransformStack transformPipe, RenderingContext renderingContext) Transforms the tracked points from object space to view space.doubleViewSpaceTracker.getAngleXY(RenderingContext renderingContext) Returns the angle between the viewer and object in the XY plane.doubleViewSpaceTracker.getAngleXZ(RenderingContext renderingContext) Returns the angle between the viewer and object in the XZ plane.doubleViewSpaceTracker.getAngleYZ(RenderingContext renderingContext) Returns the angle between the viewer and object in the YZ plane.doubleViewSpaceTracker.getDistanceToCamera(RenderingContext renderingContext) Returns the distance from the camera to the object's center. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.headless
Methods in eu.svjatoslav.aukio.e3d.headless with parameters of type RenderingContextModifier and TypeMethodDescriptionstatic voidSnapshot.renderInto(ShapeCollection scene, Camera camera, RenderingContext ctx, int backgroundArgb) Renders one frame into an existing context, filling the background with the given ARGB color first. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster
Subclasses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.rasterModifier and TypeClassDescriptionclassA view of a RenderingContext for rendering a horizontal screen segment.Methods in eu.svjatoslav.aukio.e3d.renderer.raster with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidVertex.calculateLocationRelativeToViewer(TransformStack transforms, RenderingContext renderContext) Transforms this vertex from model space to screen space.voidShapeCollection.drainTransformShapes(RenderingContext renderingContext) Second half ofShapeCollection.transformShapes(Camera, RenderingContext): waits for all transform chunk tasks and merges their aggregators into the frame's root aggregator.Vertex.onScreenCoordinate(RenderingContext renderContext) Returns the screen-space position for the rendering context's buffer slot.voidRenderAggregator.paint(RenderingContext renderBuffer) Sorts all queued shapes by Z-depth (back to front) and paints them.voidShapeCollection.paintShapes(RenderingContext renderingContext) Paints all already-sorted shapes to the rendering context.voidRenderAggregator.paintSorted(RenderingContext renderBuffer) Paints all shapes that have already been sorted.voidVertex.setCameraSpaceCoordinate(double x, double y, double z, RenderingContext renderContext) Writes a camera-space position directly into this vertex's slot state and projects it to screen coordinates, bypassing the transform stack.Vertex.transformedCoordinate(RenderingContext renderContext) Returns the camera-space coordinate for the rendering context's buffer slot.voidShapeCollection.transformShapes(Camera camera, RenderingContext renderingContext) Camera-based variant ofShapeCollection.transformShapes(Camera, RenderingContext)for headless rendering without aViewPanel(off-screen snapshots, golden-image tests, GI scene setup).voidShapeCollection.transformShapesBegin(Camera camera, RenderingContext renderingContext) Camera-based variant ofShapeCollection.transformShapesBegin(Camera, RenderingContext)for headless rendering without aViewPanel.Constructors in eu.svjatoslav.aukio.e3d.renderer.raster with parameters of type RenderingContextModifierConstructorDescriptionRenderingContext(RenderingContext parent) Creates an independent pass context for one pipeline pass (one eye in stereo): shares the frame's pixel buffer, graphics and services, but owns the per-pass projection fields (center, scale, stereo viewport, slot, frame/cycle stamps).protectedRenderingContext(RenderingContext parent, int renderMinY, int renderMaxY) Protected constructor for creating segment views.SegmentRenderingContext(RenderingContext parent, int renderMinY, int renderMaxY, int segmentIndex) Creates a segment view of a parent rendering context. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes with parameters of type RenderingContextModifier and TypeMethodDescriptionAbstractCoordinateShape.clippedVertices(RenderingContext renderingContext) Returns the near-plane-clipped vertex loop for the context's buffer slot, or null if this shape was not clipped (or was culled) this frame.protected doubleAbstractCoordinateShape.getScreenXMargin(RenderingContext renderingContext) Extra screen-space X distance beyond the vertex bounds thatAbstractCoordinateShape.paint(RenderingContext)can touch.protected doubleAbstractCoordinateShape.getScreenYMargin(RenderingContext renderingContext) Extra screen-space Y distance beyond the vertex bounds thatAbstractCoordinateShape.paint(RenderingContext)can touch.intAbstractShape.getTransformWeight(RenderingContext renderingContext) Estimated cost of transforming this shape, in arbitrary units where a leaf primitive counts 1.doubleAbstractCoordinateShape.getZ(RenderingContext renderingContext) Returns the average Z-depth of this shape in screen space for the context's buffer slot.abstract voidAbstractCoordinateShape.paint(RenderingContext renderBuffer) Paints this shape onto the rendering context's pixel buffer.voidAbstractCoordinateShape.transform(TransformStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) Transforms this shape from world space to screen space and queues it for rendering.abstract voidAbstractShape.transform(TransformStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) Transforms this shape from world space to screen space and queues it for rendering. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic with parameters of type RenderingContextModifier and TypeMethodDescriptionprotected doubleBillboard.getScreenXMargin(RenderingContext renderingContext) Same story on the X axis: the quad extends half its screen width to either side of the center vertex.protected doubleBillboard.getScreenYMargin(RenderingContext renderingContext) The screen-aligned quad extends this far above and below the center vertex, well beyond the (single-vertex) Y range.voidBillboard.paint(RenderingContext targetRenderingArea) Renders this billboard to the screen. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.line
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.line with parameters of type RenderingContextModifier and TypeMethodDescriptionprotected doubleLine.getScreenXMargin(RenderingContext renderingContext) The thick-line widening is perpendicular to the line direction, so it reaches past the vertex range on the X axis exactly as much as on Y.protected doubleLine.getScreenYMargin(RenderingContext renderingContext) The thick-line path widens the line perpendicular to its direction by the projected endpoint radii, reaching beyond the vertex Y range.voidLine.paint(RenderingContext buffer) Renders this line to the screen using perspective-correct width and alpha blending. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.solidpolygon
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.solidpolygon with parameters of type RenderingContextModifier and TypeMethodDescriptionstatic voidSolidPolygon.drawTriangle(RenderingContext context, Point2D onScreenPoint1, Point2D onScreenPoint2, Point2D onScreenPoint3, double z1, double z2, double z3, MouseInteractionController mouseInteractionController, Color color) Renders a triangle using scanline rasterization.voidSolidPolygon.paint(RenderingContext renderBuffer) Renders this polygon to the screen.voidSolidPolygon.transform(TransformStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) Transforms vertices to screen space and computes lighting once per frame. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.texturedpolygon
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.basic.texturedpolygon with parameters of type RenderingContextModifier and TypeMethodDescriptionintTriangleMeshBlock.getTransformWeight(RenderingContext renderingContext) voidTexturedTriangle.paint(RenderingContext renderBuffer) voidTriangleMeshBlock.transform(TransformStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) Transforms every triangle of the block with the composed top transform of the stack (hoisted out of the loop), culls (near plane, subpixel with verdict cache, viewport) and queues a thin handle per surviving triangle. -
Uses of RenderingContext in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.composite.base
Methods in eu.svjatoslav.aukio.e3d.renderer.raster.shapes.composite.base with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidAbstractCompositeShape.beforeTransformHook(TransformStack transformPipe, RenderingContext context) This method should be overridden by anyone wanting to customize the shape before it is rendered.intAbstractCompositeShape.getTransformWeight(RenderingContext renderingContext) Total transform weight of this composite: the sum of its children's weights, i.e.voidAbstractCompositeShape.transform(TransformStack transformPipe, RenderAggregator aggregator, RenderingContext context)