| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
putting the duplicate camera in a local variable turned
out to be a bad idea. bring the dynamic version back.
the skybox rendering was affected by the camera fov, which
made it look like it was not really at infinity, so set it
always to 90°.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
it's possible for interactive programs to keep updating
the geometry of the scene during rendering, which caused
primitives to look deformed or shattered in the final
image.
to avoid this we take a snapshot of the current state of
things (scene and camera), and render based on that copy.
|
|
|
|
|
|
| |
we are still doing alpha blending, so we use the
X chan internally, but we don't care about it
when (mem)drawing to the screen.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
> They made two mistakes. they hanged the wrong man and they didn't finish the job.
so Clint Eastwood came back to kick my ass. the mistakes in
question were that the Viewport shouldn't know about double
buffering, conceptually it has a framebuffer and that's it.
the second one was passing it to the renderer, when the
renderer couldn't care less about what a viewport is.
|
|
|
|
|
| |
do the frame buffer clearing and swapping as part
of the rendering process, not within shootcamera.
|
| |
|
| |
|
|
|
|
|
|
| |
also fixed an issue with cliptriangle() where an
entire tri would get discarded if all its vertices
were outside the frustum.
|
| |
|
|
|
|
|
| |
also got rid of Deco. there's no point in having that,
just deal with image(6) files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
i integrated the renderer i've been developing
on the tinyrend repo and got rid of a bunch of
stuff that's no longer necessary. also began
structuring things to fit the new interface i
have in mind.
there are still some artifacts with the
projection xforms that cause issues with
clipping and division by zero.
|
|
|
|
| |
work. add uv coordinates to the vertex.
|
|
|