Questions tagged [software-rendering]
Software rendering refers to a rendering process that is unaided by any specialized graphics hardware.
47 questions
0
votes
0
answers
70
views
How do I make my Software 3D Renderer slow down as soon as I change the screen resolution during runtime?
I'm writing a Software 3D Renderer in C many months after I first originally wrote it in Python. It is made using SDL2. My engine currently has depth shading, perspective correct texturing and some ...
2
votes
0
answers
71
views
How do I get this texture mapping for my quad (no triangles) to be perspective correct?
I'm working on a 3D Software Rasterizer and I'm wanting to render textures on walls now. I've tried to do it myself, but failed since it just distorts. I read up on the wikipedia page for Texture ...
0
votes
0
answers
89
views
Why do the points of my triangle bend inwards?
I'm trying to make a tiny software renderer in hopes I can make some crappy little game in the far future, and I've hit a roadblock where nothing helps at all. I've found that whenever I go into the ...
0
votes
0
answers
58
views
texture in perspective by vertices not interpolation
I am writing a software renderer with allegro5, but without using its own triangle drawing functions, I use the al_draw_prim function to draw the triangles but with all the z coordinates at zero, the ...
1
vote
1
answer
216
views
Determine if a triangle is on the screen
I am working on a small software renderer, and I want to discard invisible triangles from the drawing process. Let's say I have a screen with resolution of 200x100 pixels. The triangle is defined with ...
1
vote
2
answers
298
views
I'm following a tutorial but I don't get the same result; why are the raytraced shadows not working?
I followed this tutorial called "Ray Tracing in One Weekend" by Peter Shirley. And I implemented the java version of it for studying Ray Tracing.
Everything was all right until Diffuse ...
1
vote
1
answer
868
views
How to sort polygons without a depth buffer
Please help me getting understanding how did they sort polygons in old games from the eighties.
They did not use z-buffer or anything like this, thats for sure.
Please look at the screenshot. How ...
1
vote
1
answer
148
views
Function to draw an image inside a rectangle
How can I draw an image inside a rectangle?
I am introducing myself in the manipulation of images for games, I have a window and inside there is a rectangle that deforms. I would like to fill the ...
0
votes
1
answer
1k
views
Software and Hardware Rendering
From what I understand, the main difference between software rendering and hardware rendering is that in software rendering you use the CPU to determine what to color each pixel, and in hardware ...
2
votes
1
answer
608
views
Isometric painter's algorithm problem
Note: I dont use tiles, I use 3D Polygons :)
I'm currently working on a real-time renderer for scanned real life objects. My main goal is to have an isometric viewer with the simple ability to rotate ...
0
votes
1
answer
264
views
Batching in Java (software rendering)
I've watched some tutorials on java game development and when they start using spritesheets all they do is get a subimage out of the spritesheet and create a new BufferedImage out of that. Does java ...
26
votes
8
answers
14k
views
What advantage do OpenGL, SFML and SDL have over software rendering?
I started watching the Handmade Hero stream, where Casey Muratori creates a game engine without using frameworks or such.
Yesterday I got to the part where he showed how an image is drawn onto the ...
0
votes
1
answer
2k
views
How can I rasterize 3D triangles in software?
I am creating a 3D software renderer, and I have a wire frame cube rendering. Now I am working on solid color rendering and I am wondering what an efficient algorithm for shading the contents of the ...
3
votes
1
answer
1k
views
What is FOVx in this diagram?
a beginner game developer here. I have recently taken upon learning about 3D game development and I am stuck on a simple matrix problem.
The image is found from this article: http://www.codinglabs....
1
vote
1
answer
367
views
projection / view matrix: the object is bigger than it should and depth does not affect vertices [closed]
I'm currently trying to write a C 3D software rendering engine from scratch just for fun and to have an insight on what OpenGL does behind the scene and what 90's programmers had to do on DOS.
I have ...
17
votes
4
answers
55k
views
Why would you use software rendering over hardware rendering, today?
As opposed to CPU or software rendering I assume?
Wouldn't generally all current rendering be GPU based, seeing as you would be using OpenGL or Direct X?
Could someone give me some info here, can't ...
1
vote
1
answer
369
views
How can I programatically determine if I can create a hardware D3D device?
I have a D3D 11 application to which I would like to add support for software rendering. This is because in some circumstances it will be run on over remote desktop or on machines without GPUs. From ...
6
votes
1
answer
3k
views
How does a segment-based rendering engine (as in Descent) work?
As far as I know Descent was one of the first games that featured a fully 3D environment, and it used a segment based rendering engine.
Its levels are built from cubic segments (these cubes may be ...
2
votes
2
answers
545
views
Is there a 3d animation software that prioritizes working with code rather than GUI? [closed]
All of the 3D animating softwares I've faced are centered around using GUI to work: windows, menus, mouse clicks, mouse adjustments, keyboard shortcuts. As a programmer, I find that limiting. In order ...
1
vote
1
answer
2k
views
Fast software color interpolating triangle rasterization technique
I'm implementing a software renderer with this rasterization method, however, I was wondering if there is a possibility to improve it, or if there exists an alternative technique that is much faster. ...
7
votes
2
answers
3k
views
UV texture mapping with perspective correct interpolation
I am working on a software rasterizer for educational purposes and I am having issues with the texturing.
The problem is, only one face of the cube gets correctly textured. The rest are stretched ...
0
votes
1
answer
2k
views
SDL and software/hardware rendering. How to go about it?
I know that SDL 1.2 does software rendering (CPU) and not hardware rendering (GPU). My question is, how do I use SDL but with hardware rendering? How do I not use its rendering API (software) and ...
3
votes
2
answers
28k
views
Forcing a game to use Direct3D WARP
I am making a study for a research project that involves measuring the performance and quality impact of rendering 3d games using a software rasterizer (like WARP).
I wonder if there is a way to ...
15
votes
3
answers
11k
views
How is software rendering done?
I would like to explore realtime software based rasterization. I know everything is going towards the GPU these days but there are a few games where it still makes sense to use a software renderer.
...