Uses of Class
eu.svjatoslav.sixth.e3d.gui.RenderingContext
Packages that use RenderingContext
Package
Description
Graphical user interface components for the Sixth 3D engine.
Headless rendering toolkit: windowless snapshots, pixel assertions,
golden-image comparison and scene-state dumps.
Sixth 3D engine.
Rasterization-based real-time software renderer for the Sixth 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.
Composite shapes that group multiple primitives into compound 3D objects.
Base class and utilities for composite shapes.
-
Uses of RenderingContext in eu.svjatoslav.sixth.e3d.gui
Subclasses of RenderingContext in eu.svjatoslav.sixth.e3d.guiModifier and TypeClassDescriptionclassA view of a RenderingContext for rendering a horizontal screen segment.Methods in eu.svjatoslav.sixth.e3d.gui that return RenderingContextModifier and TypeMethodDescriptionViewPanel.getRenderingContext()Returns the current rendering context for the active frame.Methods in eu.svjatoslav.sixth.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.Constructors in eu.svjatoslav.sixth.e3d.gui 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.sixth.e3d.headless
Methods in eu.svjatoslav.sixth.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.sixth.e3d.math
Methods in eu.svjatoslav.sixth.e3d.math with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidVertex.calculateLocationRelativeToViewer(TransformStack transforms, RenderingContext renderContext) Transforms this vertex from model space to screen space.Vertex.onScreenCoordinate(RenderingContext renderContext) Returns the screen-space position for the rendering context's buffer slot.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. -
Uses of RenderingContext in eu.svjatoslav.sixth.e3d.renderer.raster
Methods in eu.svjatoslav.sixth.e3d.renderer.raster with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidShapeCollection.drainTransformShapes(RenderingContext renderingContext) Second half ofShapeCollection.transformShapes(eu.svjatoslav.sixth.e3d.gui.ViewPanel, eu.svjatoslav.sixth.e3d.gui.RenderingContext): waits for all transform chunk tasks and merges their aggregators into the frame's root aggregator.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.voidShapeCollection.transformShapes(Camera camera, RenderingContext renderingContext) Camera-based variant ofShapeCollection.transformShapes(ViewPanel, RenderingContext)for headless rendering without aViewPanel(off-screen snapshots, golden-image tests, GI scene setup).voidShapeCollection.transformShapes(ViewPanel viewPanel, RenderingContext renderingContext) Transforms all shapes to screen space and queues them for rendering.voidShapeCollection.transformShapesBegin(Camera camera, RenderingContext renderingContext) Camera-based variant ofShapeCollection.transformShapesBegin(ViewPanel, RenderingContext)for headless rendering without aViewPanel.voidShapeCollection.transformShapesBegin(ViewPanel viewPanel, RenderingContext renderingContext) First half ofShapeCollection.transformShapes(eu.svjatoslav.sixth.e3d.gui.ViewPanel, eu.svjatoslav.sixth.e3d.gui.RenderingContext): resets the frame's aggregator, computes the frustum and walks the scene tree, forking heavy composites into chunk tasks on the frame's coordinator. -
Uses of RenderingContext in eu.svjatoslav.sixth.e3d.renderer.raster.shapes
Methods in eu.svjatoslav.sixth.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(eu.svjatoslav.sixth.e3d.gui.RenderingContext)can touch.protected doubleAbstractCoordinateShape.getScreenYMargin(RenderingContext renderingContext) Extra screen-space Y distance beyond the vertex bounds thatAbstractCoordinateShape.paint(eu.svjatoslav.sixth.e3d.gui.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.sixth.e3d.renderer.raster.shapes.basic
Methods in eu.svjatoslav.sixth.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.sixth.e3d.renderer.raster.shapes.basic.line
Methods in eu.svjatoslav.sixth.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.sixth.e3d.renderer.raster.shapes.basic.solidpolygon
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon with parameters of type RenderingContextModifier and TypeMethodDescriptionstatic voidSolidPolygon.drawTriangle(RenderingContext context, Point2D onScreenPoint1, Point2D onScreenPoint2, Point2D onScreenPoint3, 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.sixth.e3d.renderer.raster.shapes.basic.texturedpolygon
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.texturedpolygon with parameters of type RenderingContext -
Uses of RenderingContext in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidBspCompositeShape.transform(TransformStack transformPipe, RenderAggregator aggregator, RenderingContext context) Assigns per-slot painter ranks by traversing the BSP tree back-to-front from the viewer position. -
Uses of RenderingContext in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.base
Methods in eu.svjatoslav.sixth.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)