Mercurial > octave-nkf
comparison src/ChangeLog @ 7829:8ca8e97e8c0a
Add rendering interface for surface object (no implementation yet).
* * *
Add surface properties.
* * *
Add cdata -> RGB color conversion function. Use it in surface objects.
* * *
Add normals automatic computation to surface objects.
* * *
Make sure the correct "get" method is called.
* * *
Extend scaler interface to accept NDArray.
* * *
Surface rendering (1st part).
* * *
Fix wrong indexing.
* * *
Fix bug in xget_ancestor argument declaration.
* * *
Initialize OpenGL context correctly. Fix bug in surface rendering.
* * *
Set material color when rendering surface facets.
* * *
Add rendering of surface mesh and markers.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 14 Feb 2008 12:17:44 +0100 |
parents | 4739b6a1925c |
children | 61aee739a4da |
comparison
equal
deleted
inserted
replaced
7828:4739b6a1925c | 7829:8ca8e97e8c0a |
---|---|
12 axes::properties::calc_ticks_and_lims method | 12 axes::properties::calc_ticks_and_lims method |
13 (axes::properties::update_ylim): ditto | 13 (axes::properties::update_ylim): ditto |
14 (axes::properties::update_zlim): ditto | 14 (axes::properties::update_zlim): ditto |
15 | 15 |
16 2008-06-04 Michael Goffioul <michael.goffioul@gmail.com> | 16 2008-06-04 Michael Goffioul <michael.goffioul@gmail.com> |
17 | |
18 * graphics.cc (xget_ancestor): Pass graphics_object argument by value | |
19 instead of by reference. | |
20 | |
21 * graphics.h.in (surface::properties::xdata, | |
22 surface::properties::ydata, surface::properties::zdata, | |
23 surface::properties::normalmode, surface::properties::vertexnormals): | |
24 Add 'u' modifier. | |
25 (surface::properties::update_normals): New method to compute normals | |
26 automatically. | |
27 (surface::properties::update_xdata, surface::properties::update_ydata, | |
28 surface::properties::update_zdata, | |
29 surface::properties::update_normalmode, | |
30 surface::properties::update_vertexnormals): New updaters to update | |
31 normals automatically. | |
32 * graphics.cc (surface::properties::update_normals): Likewise. | |
33 (cross_product): New inlined utility function for cross product | |
34 computation adn accumulation. | |
35 | |
36 * graphics.h.in (class base_scaler, class lin_scaler, class | |
37 log_scaler, class scaler): Add scale method for NDArray. | |
38 (log_scaler::do_scale): Factorize scaling code. | |
39 | |
40 * graphics.h.in (figure::properties::update_position): Re-remove. | |
41 (figure::properties::facecolor): Re-add 'texturemap' value. | |
42 (surface::properties::get_color_data): New method to compute actual | |
43 surface color data from cdata. | |
44 * graphics.cc (surface::properties::get_color_data): Likewise. | |
45 (xget_ancestor): New utility function to retrieve an ancestor of a | |
46 given type. | |
47 (convert_cdata): New utility function to convert cdata property into | |
48 actual color data. | |
49 | |
50 * graphics.h.in (surface::properties::facecolor): Add "texturemap" | |
51 as possible value. | |
52 (class surface::properties): New properties alphadata, | |
53 alphadatmapping, ambientstrength, backfacelighting, diffusestrength, | |
54 edgealpha, edgelighting, erasemode, facelighting, meshstyle, | |
55 normalmode, specularcolorreflectance, specularexponent, | |
56 specularstrength, vertexnormals. | |
57 (surface::properties::init): Add constraints for alphadata, | |
58 vertexnormals and cdata (the latter are commented until cdata | |
59 has changed type). | |
17 | 60 |
18 * graphics.h.in (base_properties::update_boundingbox): New method | 61 * graphics.h.in (base_properties::update_boundingbox): New method |
19 to handle object resize. | 62 to handle object resize. |
20 (figure::properties::set_boundingbox): New method to set figure | 63 (figure::properties::set_boundingbox): New method to set figure |
21 position from backend. | 64 position from backend. |