ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/mesh.c
Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Tue Jul 14 23:13:50 2020 UTC (3 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.33: +3 -3 lines
Diff to previous 2.33
fix(mesh): reverted previous change (2.30) to better accommodate dense meshes

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Sat Apr 4 04:34:08 2020 UTC (4 years ago) by greg
Branch: MAIN
Changes since 2.32: +3 -1 lines
Diff to previous 2.32
Fixed segmentation error when running parallel processes on meshes with materials

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Sat Dec 28 18:05:14 2019 UTC (4 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.31: +1 -3 lines
Diff to previous 2.31
Removed redundant include files

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Tue Nov 27 06:20:37 2018 UTC (5 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.30: +22 -20 lines
Diff to previous 2.30
Added missing free() call

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Tue Nov 27 01:04:33 2018 UTC (5 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.29: +3 -3 lines
Diff to previous 2.29
Realized I didn't need to minimize array size in every patch to avoid overflow

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 27 00:42:26 2018 UTC (5 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.28: +25 -8 lines
Diff to previous 2.28
Made mesh building more robust to long triangles

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Wed Mar 1 21:51:38 2017 UTC (7 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad5R1, rad5R2
Changes since 2.27: +10 -10 lines
Diff to previous 2.27
Very minor improvement should not affect behavior

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Tue Mar 22 03:56:17 2016 UTC (8 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.26: +2 -2 lines
Diff to previous 2.26
Made error messages more consistent when library file not found

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Tue Nov 6 17:12:35 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2, rad4R2P1, rad4R2P2, rad5R0
Changes since 2.25: +5 -19 lines
Diff to previous 2.25
Simplified nextmeshtri() logic considerably

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Tue Nov 6 01:56:37 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.24: +27 -27 lines
Diff to previous 2.24
Fixed potential bugs in new routine -- still untested

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Tue Nov 6 01:04:23 2012 UTC (11 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.23: +110 -56 lines
Diff to previous 2.23
Added routine for cycling through all triangles

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Fri Feb 18 00:40:25 2011 UTC (13 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.22: +4 -11 lines
Diff to previous 2.22
Major code reorg, moving mgflib to common and introducing BSDF material

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Wed Dec 15 17:27:52 2010 UTC (13 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.21: +2 -2 lines
Diff to previous 2.21
Minor change to avoid compiler warning

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Sat May 1 21:49:42 2010 UTC (13 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.20: +3 -3 lines
Diff to previous 2.20
Removed C++ comments

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Tue May 25 22:04:13 2004 UTC (19 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1, rad3R7P1, rad3R7P2, rad3R8, rad3R9, rad4R0
Changes since 2.19: +3 -3 lines
Diff to previous 2.19
Added const modifier to key and other parameters in lookup.h

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 20:33:12 2004 UTC (20 years, 1 month ago) by schorsch
Branch: MAIN
Changes since 2.18: +12 -5 lines
Diff to previous 2.18
Continued ANSIfication, and other fixes and clarifications.

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Tue Mar 16 19:56:27 2004 UTC (20 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.17: +1 -3 lines
Diff to previous 2.17
Removed spurious warning about triangle-less patches

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 18:55:50 2004 UTC (20 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.16: +2 -1 lines
Diff to previous 2.16
Moved paths.h out of rtio.h and included it manually where R_OK was needed

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Fri Jan 30 00:08:31 2004 UTC (20 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.15: +8 -9 lines
Diff to previous 2.15
Returned to 32-bit (x2) uv coordinates, since 16-bits was sometimes inadequate

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Fri Nov 14 17:22:06 2003 UTC (20 years, 5 months ago) by schorsch
Branch: MAIN
Changes since 2.14: +5 -2 lines
Diff to previous 2.14
Reduced compile warnings, and other compatibility fixes.

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 18 16:53:52 2003 UTC (20 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.13: +7 -7 lines
Diff to previous 2.13
Reduced texture coordinate size to 16-bits/sample

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 22:30:17 2003 UTC (20 years, 9 months ago) by schorsch
Branch: MAIN
Changes since 2.12: +3 -2 lines
Diff to previous 2.12
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Jul 17 09:21:29 2003 UTC (20 years, 9 months ago) by schorsch
Branch: MAIN
Changes since 2.11: +2 -2 lines
Diff to previous 2.11
Added prototypes and includes from patch by Randolph Fritz.
Added more required includes and reduced other compile warnings.

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 03:47:00 2003 UTC (20 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.10: +5 -3 lines
Diff to previous 2.10
Fixed serious bug in ranimate where mesh instances were not being freed

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 03:30:11 2003 UTC (20 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.9: +11 -12 lines
Diff to previous 2.9
Fixed potential bug in reference counting of mesh'es and instance's

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Mon Jun 30 14:59:11 2003 UTC (20 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 2.8: +5 -3 lines
Diff to previous 2.8
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 00:25:49 2003 UTC (20 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.7: +23 -23 lines
Diff to previous 2.7
Changed instances of "int4" to "int32" and "int2" to "int16"

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Tue May 13 17:58:32 2003 UTC (20 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.6: +1 -1 lines
Diff to previous 2.6
Changed (char *) casts for memory copies to (void *) and other fixes

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 00:52:33 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.5: +4 -4 lines
Diff to previous 2.5
Added (void *) cast to realloc calls

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Fri Apr 18 22:10:20 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.4: +2 -2 lines
Diff to previous 2.4
Bug fix in mesh uv coordinate range checking

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Fri Mar 14 21:27:45 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.3: +159 -37 lines
Diff to previous 2.3
Added -a option to obj2mesh to incorporate materials in mesh

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 17:26:58 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.2: +0 -0 lines
Diff to previous 2.2
Returned old behavior with flat surfaces and improved documentation

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 04:59:04 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.1: +27 -33 lines
Diff to previous 2.1
Numerous bug fixes in new mesh code

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 17:08:55 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
First working version of new "mesh" primitive, obj2mesh converter

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rad5R3: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a