~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/renderconverter/RE_renderconverter.h

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * $Id: RE_renderconverter.h,v 1.7 2004/12/27 19:28:50 ton Exp $
3
 
 *
4
 
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU General Public License
8
 
 * as published by the Free Software Foundation; either version 2
9
 
 * of the License, or (at your option) any later version. The Blender
10
 
 * Foundation also sells licenses for use in proprietary software under
11
 
 * the Blender License.  See http://www.blender.org/BL/ for information
12
 
 * about this.
13
 
 *
14
 
 * This program is distributed in the hope that it will be useful,
15
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 
 * GNU General Public License for more details.
18
 
 *
19
 
 * You should have received a copy of the GNU General Public License
20
 
 * along with this program; if not, write to the Free Software Foundation,
21
 
 * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
 
 *
23
 
 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
24
 
 * All rights reserved.
25
 
 *
26
 
 * The Original Code is: all of this file.
27
 
 *
28
 
 * Contributor(s): none yet.
29
 
 *
30
 
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
31
 
 * Interface to transform the Blender scene into renderable data.
32
 
 *
33
 
 * @mainpage RE - Blender RE-converter external interface
34
 
 *
35
 
 * @section about About the RE-converter module
36
 
 *
37
 
 * The converter takes a Blender scene, and transforms the data into
38
 
 * renderer-specific data.
39
 
 *
40
 
 * Conversions:
41
 
 * 
42
 
 * halos: (world settings) stars ->
43
 
 *        some particle effects  ->
44
 
 *        meshes with halo prop  ->  
45
 
 *                                  HaloRen (made by inithalo)
46
 
 *
47
 
 *
48
 
 *                                  VlakRen (face render data)
49
 
 * Each vlakren needs several VertRens to make sense.
50
 
 *                                  VertRen (vertex render data)
51
 
 *
52
 
 * @section issues Known issues with RE-converter
53
 
 *
54
 
 *
55
 
 * @section dependencies Dependencies
56
 
 *
57
 
 *
58
 
 * */
59
 
 
60
 
#ifndef RE_RENDERCONVERTER_H
61
 
#define RE_RENDERCONVERTER_H
62
 
 
63
 
#ifdef __cplusplus
64
 
extern "C" {
65
 
#endif
66
 
 
67
 
        struct LampRen;
68
 
        struct Object;
69
 
        struct Lamp;
70
 
        
71
 
        /** Transform a blender scene to render data. */
72
 
        void RE_rotateBlenderScene(void);
73
 
 
74
 
        /** Free all memory used for the conversion. */
75
 
        void RE_freeRotateBlenderScene(void);
76
 
 
77
 
        /**
78
 
         * Used by the preview renderer.
79
 
         */
80
 
        void RE_add_render_lamp(struct Object *ob, int doshadbuf);
81
 
 
82
 
        /**
83
 
         * Strange support for star rendering for drawview.c... For
84
 
         * rendering purposes, these function pointers should be NULL.
85
 
         */
86
 
        void RE_make_stars(void (*initfunc)(void),
87
 
                                           void (*vertexfunc)(float*),
88
 
                                           void (*termfunc)(void));
89
 
        
90
 
        /**
91
 
         * called by meshtools 
92
 
         */
93
 
        void RE_make_sticky(void);
94
 
 
95
 
 
96
 
#ifdef __cplusplus
97
 
}
98
 
#endif
99
 
 
100
 
#endif
101