summaryrefslogtreecommitdiffstats
path: root/dimension/realize.c
Commit message (Collapse)AuthorAgeFilesLines
* New DMNSN_ARRAY_FOREACH() macro, faster than iterating with dmnsn_array_get().Tavian Barnes2010-05-081-112/+87
|
* Use C99 for loop initializers.Tavian Barnes2010-05-051-22/+11
|
* Don't apply the transformations which create an object to its textures.Tavian Barnes2010-05-031-0/+13
| | | | For example, sphere { 0, 2 } would scale the texture by a factor of 2.
* Don't apply object modifiers to a NULL CSG object.Tavian Barnes2010-05-031-1/+2
|
* Give backtraces for diagnostics from macros and include files.Tavian Barnes2010-04-181-6/+10
| | | | | Partly this means that dmnsn_diagnostic() can't be called anywhere except during parsing, because the dmnsn_parse_location::parent pointers dangle.
* Have dmnsn_diagnostic() take a dmnsn_parse_location.Tavian Barnes2010-04-181-5/+3
|
* Rename dmnsn_matrix_*_mul() to dmnsn_transform_*().Tavian Barnes2010-04-171-13/+13
|
* Initial support for image_maps.Tavian Barnes2010-04-151-5/+44
|
* Support transforming pigments and textures in dimension.Tavian Barnes2010-04-151-16/+57
|
* Support planes in dimension.Tavian Barnes2010-04-151-0/+25
|
* Improve CSG and light handling.Tavian Barnes2010-04-101-128/+128
| | | | | | - Lights can be inside CSG objects - Lights can be modified by transformations - CSG objects can contain only one object
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-60/+0
| | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now.
* Implement CSG in front-end.Tavian Barnes2010-04-071-27/+209
|
* Warn about "rounding" not "casting" floats to integers.Tavian Barnes2010-03-111-1/+1
|
* Preliminary support for global_settings.Tavian Barnes2010-03-091-3/+52
|
* Don't treat colors and vectors as different types.Tavian Barnes2010-03-081-2/+2
| | | | | This allows things like 0.5*White, where White was #defined to be a color. POV-Ray's colors.inc almost parses now.
* Allow bare finishes in object modifiers.Tavian Barnes2010-02-281-0/+12
|
* Parse interiors.Tavian Barnes2010-02-251-5/+39
|
* Get rid of fmemopen() hack.Tavian Barnes2010-02-091-10/+4
|
* New dmnsn_assert() macro for invariant violations.Tavian Barnes2010-02-091-48/+27
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Support reflective finishes.Tavian Barnes2010-01-141-2/+54
|
* Begin parsing finishes.Tavian Barnes2010-01-141-0/+86
|
* Make internal raytracing API more consistent.Tavian Barnes2010-01-131-22/+21
|
* Clean up finish combination allocation semantics.tavianator2009-12-271-14/+4
|
* Separate finishes into single-purpose finishes.Tavian Barnes2009-12-231-2/+16
|
* Differentiate between colors and vectors in the AST.Tavian Barnes2009-12-211-3/+2
|
* Make symbol table semantics line up with povray's.Tavian Barnes2009-12-191-1/+2
|
* Implement a symbol table.Tavian Barnes2009-12-191-6/+21
|
* Forgot fclose() in dmnsn_realize_string().Tavian Barnes2009-12-191-1/+5
|
* Preliminary dmnsn_realize_string(), just in case.Tavian Barnes2009-12-171-0/+13
|
* Tokenize on-the-fly.Tavian Barnes2009-12-171-2/+12
| | | | | No more manual tokenization and parsing, giving a simpler interface. Also, this brings us closer to a dmnsn_realize_string() interface.
* Accept width and height command-line arguments.Tavian Barnes2009-12-161-7/+0
|
* Support the 'direction' camera item.Tavian Barnes2009-12-161-0/+4
|
* Finish camera placement routine.Tavian Barnes2009-11-271-44/+89
|
* Fake camera semantics until I figure out the real ones.Tavian Barnes2009-11-271-42/+176
|
* Add cameras to grammar.Tavian Barnes2009-11-261-0/+3
|
* Implement background colors.Tavian Barnes2009-11-261-3/+6
|
* Implement point lights.Tavian Barnes2009-11-251-33/+32
|
* Support solid-color pigments.Tavian Barnes2009-11-251-0/+134
|
* Support scaling and translation transformations.Tavian Barnes2009-11-251-0/+31
|
* Implement object modifiers and rotation.Tavian Barnes2009-11-251-34/+62
|
* Use dmnsn_new_*() rather than dmnsn_*_construct().Tavian Barnes2009-11-191-12/+12
|
* Store inverse object transformation in a separate field.Tavian Barnes2009-11-091-2/+0
|
* Make dmnsn_delete_scene() delete the scene's elements too.Tavian Barnes2009-11-091-19/+3
|
* Parse arithmetic expressions.Tavian Barnes2009-11-041-8/+35
|
* Handle spheres.Tavian Barnes2009-11-041-10/+75
|
* Don't flip boxes that are specified backwards.Tavian Barnes2009-10-301-3/+6
|
* Refactor parsing and realization a bit.Tavian Barnes2009-10-301-23/+38
|
* (Sort of) realize boxes.Tavian Barnes2009-10-301-1/+70
| | | | We now have a working rendering from an SDL input, kinda!