We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2888

Summary: SOFT RENDERER: Textured Triangles prerequisites
Product: SDL Reporter: Jared <absinthdraco>
Component: renderAssignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: absinthdraco, philipp.wiesemann
Version: don't know   
Hardware: All   
OS: All   
See Also: https://bugzilla.libsdl.org/show_bug.cgi?id=1734
Bug Depends on:    
Bug Blocks: 2894    
Attachments: Macro file.
Floating-point header.
Floating-point implementation.
Implementation instantiation file.
Floating-point header cleanup file.
File archive.
Tar'ed file set
Common macros & float funcs
Common macros & float funcs
Common macros & floating point functions
Common macros and floating-point functions
Common macros and floating-point functions
Common macros and floating-point functions
Common macros and floating-point functions
Common macros and floating-point functions
Common macros and floating-point functions
Snapshot, in case something has changed.

Description Jared 2015-02-23 22:33:47 UTC
A set of C preprocessor macros and floating-point mathematics routines.

The floating-point routines are styled after SGLIB: set a few preprocessor macros, include the relevant file (either .h or .xmacro), and use the files as appropriate. They need to be adapted to the SDL build system.

The routines and macros are used in a un-committed "pixel perfect" subdivision-area-based textured-triangle renderer. The renderer is intended to support [1734], and these files are in turn intended to support the renderer.
Comment 1 Jared 2015-02-23 22:34:44 UTC
Created attachment 2045 [details]
Macro file.
Comment 2 Jared 2015-02-23 22:35:17 UTC
Created attachment 2046 [details]
Floating-point header.
Comment 3 Jared 2015-02-23 22:35:46 UTC
Created attachment 2047 [details]
Floating-point implementation.
Comment 4 Jared 2015-02-23 22:36:33 UTC
Created attachment 2048 [details]
Implementation instantiation file.
Comment 5 Jared 2015-02-23 22:40:18 UTC
Created attachment 2049 [details]
Floating-point header cleanup file.

Used to get rid of preprocessor warnings if you invoke the header several times. Used by common_float.c
Comment 6 Jared 2015-02-28 03:08:59 UTC
Created attachment 2055 [details]
File archive.

Archive for more convenience.
Comment 7 Jared 2015-03-14 14:13:12 UTC
Created attachment 2061 [details]
Tar'ed file set

A new file archive, just in case I changed something and forgot.
Comment 8 Jared 2015-03-17 02:13:16 UTC
Created attachment 2066 [details]
Common macros & float funcs

Fixed a bug that resulted in functions getting the wrong name.
Comment 9 Jared 2015-03-20 03:52:32 UTC
Created attachment 2072 [details]
Common macros & float funcs

Fixes INT_CONSTR()
Comment 10 Jared 2015-03-22 08:00:23 UTC
Created attachment 2077 [details]
Common macros & floating point functions

Fixes several bugs in the implementations.
Comment 11 Jared 2015-03-22 08:04:27 UTC
Comment on attachment 2077 [details]
Common macros & floating point functions

Partially tested.
Comment 12 Jared 2015-03-23 04:45:31 UTC
Created attachment 2080 [details]
Common macros and floating-point functions

Newest source. Separate pretest program runs to completion.
Comment 13 Jared 2015-03-25 05:18:13 UTC
Created attachment 2084 [details]
Common macros and floating-point functions

Latest code. Pretest runs to completion.
Comment 14 Jared 2015-03-27 03:10:04 UTC
Created attachment 2093 [details]
Common macros and floating-point functions
Comment 15 Jared 2015-03-28 20:05:04 UTC
Created attachment 2097 [details]
Common macros and floating-point functions

Just-in-case upload.
Comment 16 Jared 2015-04-01 03:50:11 UTC
Created attachment 2102 [details]
Common macros and floating-point functions
Comment 17 Jared 2015-04-24 23:38:33 UTC
Created attachment 2133 [details]
Common macros and floating-point functions

I got tired of the debug messages, so now there's a simple report formatting system to provide nesting-dependent prefix-whitespace.
Comment 18 Jared 2015-05-27 01:47:32 UTC
Created attachment 2161 [details]
Snapshot, in case something has changed.