SubSpace Render

Scene File Example

color(
	name(red)

	value(
		1 0 0
	)
)

texture-color(
	name(red)
	color(red)
)

shader-lambert(
	name(red)
	texture(red)
)

mesh(
	name(plane)

	vertices(
		0 0 0
		1 0 0
		0 1 0
		1 1 0
	)

	vertex-speeds(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)

	uvws(
		0 0 0
		1 0 0
		0 1 0
		1 1 0
	)

	uvw-speeds(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)

	normals(
		0 0 1
	)

	normal-speeds(
		0 0 0
	)

	triangles(
		0 1 2 0 1 2 0 0 0
		2 1 3 2 1 3 0 0 0
	)
)

collider-ellipse(
	name(sphere)
	shader(red)

	transform(
		0 0 0
		1 0 0
		0 1 0
		0 0 1
	)

	transform-speed(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)

	space(
		0 0 0
		1 0 0
		0 1 0
		0 0 1
	)

	space-speed(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)
)

collider-instace(
	name(plane)
	shader(red)
	mesh(plane)

	transform(
		1 1 1
		1 0 0
		0 1 0
		0 0 1
	)

	transform-speed(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)

	space(
		1 1 1
		1 0 0
		0 1 0
		0 0 1
	)

	space-speed(
		0 0 0
		0 0 0
		0 0 0
		0 0 0
	)
)

Custom Texture Example

import MainClient;
import ClientUtil;

class CustomTexture : Texture { }

void main() { }

Custom Shader Example

import MainClient;
import ClientUtil;

class CustomShader : Shader { }

void main() { }