[gimp-normalmap] / trunk / preview3d.c Repository:
ViewVC logotype

Log of /trunk/preview3d.c

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 41 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 20:16:52 2008 UTC (19 months, 1 week ago) by cocidius
File length: 63702 byte(s)
Diff to previous 39
* Update INSTALL, README
* Update contact information if file headers

Revision 39 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 18 05:03:30 2007 UTC (2 years, 10 months ago) by cocidius
File length: 63692 byte(s)
Diff to previous 37
Cleaned up some compiler warnings on 64-bit systems

Revision 37 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 17 23:33:21 2006 UTC (3 years, 3 months ago) by cocidius
File length: 63731 byte(s)
Diff to previous 36
Don't initialize gloss map texture unit if client can't support more than 2
multitexture units.

Revision 36 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 17 23:11:04 2006 UTC (3 years, 3 months ago) by cocidius
File length: 63577 byte(s)
Diff to previous 35
Don't set anisotropic filtering if not supported by the client

Revision 35 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 17 23:05:06 2006 UTC (3 years, 3 months ago) by cocidius
File length: 63439 byte(s)
Diff to previous 33
Some stupid bugs fixed

Revision 33 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 17 11:16:40 2006 UTC (3 years, 3 months ago) by cocidius
File length: 63369 byte(s)
Diff to previous 32
Removed requirement for the GL_SGIS_generate_mipmap extension.

Revision 32 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 22:02:28 2005 UTC (4 years ago) by cocidius
File length: 61801 byte(s)
Diff to previous 31
Code formatting cleanups

Revision 31 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 22:07:16 2005 UTC (4 years, 1 month ago) by cocidius
File length: 61801 byte(s)
Diff to previous 30
* Faster cubic interpolation for scaling and filtering
* Added refinement step to parallax mapping shader to improve quality

Revision 30 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 22:46:41 2005 UTC (4 years, 1 month ago) by cocidius
File length: 61639 byte(s)
Diff to previous 29
* scale.c: scale_pixels() now uses cubic filtering rather than linear
* normalmap.c: sample_alpha_map() now uses cubic filtering rather than linear

Revision 29 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 21:37:30 2005 UTC (4 years, 1 month ago) by cocidius
File length: 61583 byte(s)
Diff to previous 28
Final cleanups pending release

Revision 28 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 21:32:43 2005 UTC (4 years, 1 month ago) by cocidius
File length: 61587 byte(s)
Diff to previous 26
* Added license comment to files missing it
* Added UV scale to 3D preview

Revision 26 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 02:01:46 2005 UTC (4 years, 1 month ago) by cocidius
File length: 58595 byte(s)
Diff to previous 24
Fixed/cleaned up preview objects rendering code

Revision 24 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 00:19:28 2005 UTC (4 years, 1 month ago) by cocidius
File length: 73846 byte(s)
Diff to previous 23
More preview objects!

Revision 23 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 20:30:18 2005 UTC (4 years, 1 month ago) by cocidius
File length: 64394 byte(s)
Diff to previous 22
Cleanups

Revision 22 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 30 00:29:11 2005 UTC (4 years, 1 month ago) by cocidius
File length: 55808 byte(s)
Diff to previous 21
* Added toolbar to 3D preview with the following toggle buttons: Rotate
object, Rotate light, Rotate scene and Fullscreen

Revision 21 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 28 08:02:08 2005 UTC (4 years, 1 month ago) by cocidius
File length: 48993 byte(s)
Diff to previous 20
Fixed another bug that caused ATI cards to hit a software path regarding
non-power-of-two textures.  ATI cards can do them but not with mipmapping.
Thus, scaling NPOT textures is now done for any card that doesn't report the
ARB_texture_non_power_of_two extension string.  Scaling is now done to the
nearest power-of-two, rather than the next power-of-two.

Revision 20 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 28 05:48:57 2005 UTC (4 years, 1 month ago) by cocidius
File length: 49653 byte(s)
Diff to previous 19
Fixed a bug that was throwing ATI cards onto a software path when GLSL
shaders were enabled.  Apparently having GL_LINE_SMOOTH enabled while using
GLSL was the cause.

Revision 19 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 28 05:28:51 2005 UTC (4 years, 1 month ago) by cocidius
File length: 49615 byte(s)
Diff to previous 18
hehe

Revision 18 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 28 05:24:13 2005 UTC (4 years, 1 month ago) by cocidius
File length: 49669 byte(s)
Diff to previous 17
Various cleanups

Revision 17 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 21:21:57 2005 UTC (4 years, 1 month ago) by cocidius
File length: 49716 byte(s)
Diff to previous 16
* Better error handling for compiling and linking GLSL shaders and programs
* Disable Bump mapping menu items for shaders that fail compilation
* Disable Parallax Occlusion and Relief mapping shaders for hardware that
can't support them

Revision 16 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 02:48:44 2005 UTC (4 years, 1 month ago) by cocidius
File length: 47576 byte(s)
Diff to previous 15
* Fixed a problem in the parallax mapping fragment shader that caused
compile errors for ATI cards

Revision 15 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 01:29:02 2005 UTC (4 years, 1 month ago) by cocidius
File length: 47576 byte(s)
Diff to previous 14
Various UI tweaks

Revision 14 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 26 10:06:37 2005 UTC (4 years, 1 month ago) by cocidius
File length: 47838 byte(s)
Diff to previous 13
* Added Parallax Occlusion Mapping to bump mapping effects, an "ATI" version
limited to 8 height samples (due to texture indirection limits), and an
"nVidia" version with 20 samples
* Disable Relief mapping for hardware that can't support it (due to limited
number of texture indirections)

Revision 13 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 26 07:15:11 2005 UTC (4 years, 1 month ago) by cocidius
File length: 40040 byte(s)
Diff to previous 12
Set 3D preview window's resize policy to queue rather than immediate

Revision 12 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 25 02:26:59 2005 UTC (4 years, 1 month ago) by cocidius
File length: 40044 byte(s)
Diff to previous 11
* Much improved 3D Preview UI
* Added controls to 3D Preview for specular exponent, ambient color, diffuse
color and specular color

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 22 22:13:43 2005 UTC (4 years, 2 months ago) by cocidius
File length: 36250 byte(s)
Diff to previous 10
Added "Convert to height" conversion option.  This allows you to convert
existing normal maps to height maps.  It isn't perfect, but it does produce
some respectable results.  It doesn't handle normalmaps with lots of fine
detail very well.  Use the Invert X, Invert Y and new Contrast options to get
it looking right.

Revision 10 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 21 07:29:58 2005 UTC (4 years, 2 months ago) by cocidius
File length: 36251 byte(s)
Diff to previous 9
* Added scale.c and scale.h to share scale_image() between normalmap.c and
preview.c
* Renamed scale_image() to scale_pixels()
* Added true non-power-of-two texture support to 3D preview, scaling images for
cards that don't support it
* Added Relief Mapping option to 3D preview (VERY cool!)
* Added Minimum Z option
* Added Invert X and Y options
* Added Swap RGB option

Revision 9 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 19 22:11:44 2005 UTC (4 years, 2 months ago) by cocidius
File length: 24695 byte(s)
Diff to previous 8
* Added Inverse height and Invert alpha channel conversions
* Tweaked 3D preview UI
* Various cleanups

Revision 8 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 18 03:51:30 2005 UTC (4 years, 2 months ago) by cocidius
File length: 24301 byte(s)
Diff to previous 7
* Improved 3D preview
* Added parallax bump mapping option to 3D preview (uses normal map alpha as
height source)
* Addes specular lighting option to 3D preview

Revision 7 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 16 06:14:04 2005 UTC (4 years, 2 months ago) by cocidius
File length: 17445 byte(s)
Diff to previous 5
* Switched to GLEW for OpenGL extension loading/checking
* Updateded dependencies list in INSTALL
* Added build instructions for Windows to INSTALL
* Added Windows build rules to Makefile

Revision 5 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 12 23:40:30 2005 UTC (4 years, 2 months ago) by cocidius
File length: 18325 byte(s)
Diff to previous 2
Added 5x5 versions of the Sobel and Prewitt filters

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Oct 13 23:07:31 2004 UTC (5 years, 1 month ago) by cocidius
File length: 18296 byte(s)
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

ViewVC Help
Powered by ViewVC 1.0.4