2005-09-03 18:10:13 +00:00
|
|
|
|
2002-10-12 11:37:38 +00:00
|
|
|
/**
|
|
|
|
|
* $Id$
|
|
|
|
|
*
|
|
|
|
|
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
|
|
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
|
* of the License, or (at your option) any later version. The Blender
|
|
|
|
|
* Foundation also sells licenses for use in proprietary software under
|
|
|
|
|
* the Blender License. See http://www.blender.org/BL/ for information
|
|
|
|
|
* about this.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is: all of this file.
|
|
|
|
|
*
|
|
|
|
|
* Contributor(s): none yet.
|
|
|
|
|
*
|
|
|
|
|
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
|
|
|
|
* BKE_bad_level_calls function stubs
|
|
|
|
|
*/
|
|
|
|
|
|
2006-01-30 19:59:33 +00:00
|
|
|
#include <stdlib.h>
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2004-01-21 04:38:03 +00:00
|
|
|
#include "BKE_bad_level_calls.h"
|
2002-10-12 11:37:38 +00:00
|
|
|
#include "BLI_blenlib.h"
|
2004-01-21 04:38:03 +00:00
|
|
|
#include "BPI_script.h"
|
2006-01-29 23:41:15 +00:00
|
|
|
#include "DNA_texture_types.h"
|
2002-10-12 11:37:38 +00:00
|
|
|
#include "DNA_material_types.h"
|
2006-02-07 11:39:26 +00:00
|
|
|
#include "DNA_node_types.h"
|
2006-01-29 23:41:15 +00:00
|
|
|
#include "DNA_scene_types.h"
|
|
|
|
|
|
|
|
|
|
#include "RE_render_ext.h"
|
|
|
|
|
#include "RE_shader_ext.h"
|
|
|
|
|
#include "RE_pipeline.h"
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
int winqueue_break= 0;
|
|
|
|
|
|
2002-12-12 22:18:25 +00:00
|
|
|
char bprogname[1];
|
|
|
|
|
|
2006-01-30 19:59:33 +00:00
|
|
|
struct IpoCurve;
|
|
|
|
|
struct FluidsimSettings;
|
|
|
|
|
struct Render;
|
|
|
|
|
struct RenderResult;
|
|
|
|
|
|
|
|
|
|
char *getIpoCurveName( struct IpoCurve * icu );
|
|
|
|
|
void insert_vert_ipo(struct IpoCurve *icu, float x, float y);
|
|
|
|
|
struct IpoCurve *verify_ipocurve(struct ID *id, short a, char *b, char *d, int e);
|
|
|
|
|
void elbeemDebugOut(char *msg);
|
|
|
|
|
void fluidsimSettingsFree(struct FluidsimSettings* sb);
|
|
|
|
|
|
2002-12-12 22:18:25 +00:00
|
|
|
|
2002-10-12 11:37:38 +00:00
|
|
|
/* readfile.c */
|
|
|
|
|
/* struct SpaceButs; */
|
|
|
|
|
void set_rects_butspace(struct SpaceButs *buts){}
|
|
|
|
|
/* struct SpaceImaSel; */
|
|
|
|
|
void check_imasel_copy(struct SpaceImaSel *simasel){}
|
|
|
|
|
/* struct ScrArea; */
|
|
|
|
|
void unlink_screen(struct bScreen *sc){}
|
|
|
|
|
void freeAllRad(void){}
|
|
|
|
|
void free_editText(void){}
|
|
|
|
|
void free_editArmature(void){}
|
New: X-axis mirror weightpainting.
- Set the button in Paint Panel, Edit buttons context
- It assumes the mesh to be near-perfectly mirrored. Current threshold is
set to 0.0001 (maximum difference allowed).
In order to evaluate proper mirroring, a new option will be added in
Mesh editmode later.
- When the flipped group doesn't exist yet, it creates the group
- Of course this doesn't work for mirror modifier!
New: Select/activate flipped bone or vertex group
- Press SHIFT+F in PoseMode or WeightPaint mode to get the flipped bone.
Is especially to see while painting if the mirror copying works OK.
New: "Apply Envelope to VertexGroup" uses X-mirror option too.
Todo; check on mirror vertex painting, and mirror Mesh editmode....
The implementation is based on a 8x8x8 Octree, where vertex locations are
stored. Vertices on the threshold boundary of an Octree node are filled in
the neighbour nodes as well, ensuring that the lookup works with threshold.
The current size of the Octree gives good speedup, even for 128k vertices
it only needs 256 lookup cycles per checked vertex.
Same code could be used for the bevel tool for example.
src/meshtools.c:
int mesh_octree_table(Object *ob, float *co, char mode)
- mode 's' or 'e' is "start octree" or "end octree"
- mode 'u' is "use", it then returns an index nr of the found vertex.
(return -1 if not found)
2005-10-22 14:05:25 +00:00
|
|
|
void free_vertexpaint(void){}
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2005-10-10 19:34:35 +00:00
|
|
|
char *getIpoCurveName( struct IpoCurve * icu )
|
2005-08-23 13:16:02 +00:00
|
|
|
{
|
|
|
|
|
return 0;
|
2005-10-10 19:34:35 +00:00
|
|
|
}
|
2005-08-23 13:16:02 +00:00
|
|
|
|
|
|
|
|
void insert_vert_ipo(struct IpoCurve *icu, float x, float y)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2005-10-10 19:34:35 +00:00
|
|
|
struct IpoCurve *verify_ipocurve(struct ID *id, short a, char *b, char *d, int e)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
void setscreen(struct bScreen *sc){}
|
2004-11-07 20:15:16 +00:00
|
|
|
void force_draw_all(int header){}
|
2002-10-12 11:37:38 +00:00
|
|
|
/* otherwise the WHILE_SEQ doesn't work */
|
|
|
|
|
/* struct Sequence; */
|
|
|
|
|
|
|
|
|
|
/* MAART: added "seqar = 0; totseq = 0" because the loader will crash without it. */
|
2004-01-21 12:45:13 +00:00
|
|
|
void build_seqar(struct ListBase *seqbase, struct Sequence ***seqar, int *totseq)
|
2002-10-12 11:37:38 +00:00
|
|
|
{
|
|
|
|
|
*seqar = 0;
|
|
|
|
|
*totseq = 0;
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-16 06:00:40 +00:00
|
|
|
/* blender.c */
|
|
|
|
|
void mainqenter (unsigned short event, short val){}
|
|
|
|
|
|
2002-10-12 11:37:38 +00:00
|
|
|
void BPY_do_pyscript(ID *id, short int event){}
|
2003-12-16 00:17:59 +00:00
|
|
|
void BPY_clear_script(Script *script){}
|
|
|
|
|
void BPY_free_compiled_text(struct Text *text){}
|
BPython:
- Made Blender.event var (previously only used by script links) hold ascii value -- where it applies -- of current event during events callback registered with Draw.Register(gui, events, button_events). Useful for gui scripts like Campbell's Python console. No problem using this var to hold the value, since in gui scripts it was not used (always None).
- Updated Window and Window.Theme with new theme vars and the Time space.
- Script links:
-- Added "Render" event for script links (runs twice, second time as "PostEvent", for clean-up actions). Now FrameChanged links don't run when a single pic is rendered.
-- Added "Enable Script Links" button in the script buttons tab. Now this bit gets saved in .blends along with the rest of G.f, so users can define per .blend if they are on or off by default. "blender -y" also disables all slinks as happened before with OnLoad ones only.
-- Other small changes in the script buttons tab:
When a link is added (button "new"), it becomes the active one for the window, no need to press a button to reach it.
Also, a pupmenu showing all available texts is shown when "new" is pressed, so users can choose a text w/o having to type. Cancel the popup to leave the string button empty (link exists, but has no script assigned). A pulldown would be better UI-wise, but it's kinda weird to show both scripts and normal texts (Blender doesn't differentiate them) in a script links pulldown. With a popup we can show only texts ending in ".py" (not done in this commit, need opinions) and if the script has no or another extension, case of many in old and current .blend's, there's still the string box for writing its name.
-- Implemented Ton's space handler script links:
Right now only for the 3d View, but it's trivial to add for others. There are two types: EVENT, to receive 3d View events from a chosen window and DRAW, to draw on the window. Ton's idea was to give scripts a controlled way to integrate better within Blender.
Here's how it works:
- scripts must have a proper header, like:
# SPACEHANDLER.VIEW3D.EVENT
and then they are shown in 3d View's View menu, "Space Handler Scripts" submenu. Check (mark, click on it) a script to make it active.
EVENT handlers should consult the Blender.event var to get the current event, which can be compared with values from the Draw module:
import Blender
from Blender import Draw
evt = Blender.event
if evt == Draw.AKEY:
print "a"
elif evt == Draw.LEFTMOUSE:
print "left mouse button"
else:
return # ignore, pass event back to Blender
Blender.event = None # tell Blender not to process itself the event
DRAW handlers are free to draw to their owner 3D View. OpenGL attributes and modelview and projection matrices are pushed before running the handler and poped when it finishes.
To communicate between EVENT and DRAW handler scripts we have the Blender.Registry module, as always.
Still need to code some nice example, which should also serve to test properly space handlers. Simple tests went fine.
- doc updates about the additions.
=======
Note: the UI part of the space handlers and script links is of course open for changes, I just tried to make it understandable. Probably we won't use the scriptlinks icon for "None Available" (check 3d View -> View -> Space Handler Scripts), though it hints at what space handlers are. The tooltips may not be accepted either, since other menus don't use them. Opinions welcomed.
2005-05-08 21:20:34 +00:00
|
|
|
void BPY_free_screen_spacehandlers (struct bScreen *sc){}
|
2006-04-30 22:10:39 +00:00
|
|
|
void BPY_pydriver_update(void){}
|
2006-04-30 16:22:31 +00:00
|
|
|
float BPY_pydriver_eval(struct IpoDriver *driver)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
/* depsgraph.c: */
|
|
|
|
|
struct Object **BPY_pydriver_get_objects(struct IpoDriver *driver)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2006-06-12 00:10:00 +00:00
|
|
|
int BPY_button_eval(char *expr, double *value)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
/* writefile.c */
|
|
|
|
|
/* struct Oops; */
|
|
|
|
|
void free_oops(struct Oops *oops){}
|
|
|
|
|
void exit_posemode(int freedata){}
|
|
|
|
|
void error(char *str, ...){}
|
|
|
|
|
|
|
|
|
|
/* anim.c */
|
|
|
|
|
ListBase editNurb;
|
|
|
|
|
|
|
|
|
|
void waitcursor(int val){}
|
|
|
|
|
void allqueue(unsigned short event, short val){}
|
|
|
|
|
#define REDRAWVIEW3D 0x4010
|
|
|
|
|
Material defmaterial;
|
|
|
|
|
|
|
|
|
|
/* exotic.c */
|
|
|
|
|
void load_editMesh(void){}
|
|
|
|
|
void make_editMesh(void){}
|
EditMesh refactory + undo recode
The changelog is very long... it's on the web too:
http://www.blender3d.org/cms/Mesh_editing_rewrite.425.0.html
EditMesh refactor notes (user)
**** New selection modes
When entering Edit Mode for a Mesh, you now have the choice for three selection modes. These are shown as icons in the 3D header (hotkey is being searched for!).
- Vertex Select
Select vertices as usual, fully compatible with how previous version work
- Edge Select
Vertices are not drawn anymore, and selections happen by default on the edges. It is a true edge select, meaning that you can select three out of four edges in a face, without automatic having the 4th edge selected.
- Face Select
Instead of vertices, now selection 'points' are drawn in the face centers. Selected faces also get a colored outline, like for edges. This also is true face select, for each face individual regardless selection status of its vertices or edges.
While holding SHIFT, and press a selection mode, you can also combine the above choices. Now selection becomes mixed, and will behave as expected.
For example; in Edge+Face select mode, selecting the 4 edges of a face will select the face too.
The selection modes and optional drawing modes (like transparant faces, normals, or solid drawing) all work together. All of Blender's mesh editing tools now react to the correct selection mode as well.
Most noticeable it's in:
**** Extrude
Extruding in Edge or Face Select mode allows much more precise control over what's extruded and what should be excluded. Try for example a checker pattern selection, and extrude it.
New is the fixed translation when faces are extruded. This always follows the (averaged) face normal(s) of the old face(s), enabling much easier working in 3D views . A single 'G' (Grab) or 'R' (Rotate) or 'S' (Scale) will change transform modus as usual.
**** Other things to note
- Hiding edges/faces will also behave different based on Select Mode.
- while editing, normals of faces are updated always now
- Border select (BKEY) has 2 different rules for edges; when one edge is fully inside of the border, it will only select edges that are fully inside. Otherwise it selects each edge intersecting with the border.
- in face mode, adding vertices, edges or a circle is invisible...
- "Add monkey" now works as a normal primitive (rotated and on 3d cursor)
- Mesh undo was fully recoded, hopefully solving issues now with Vertex Keys and Groups
- Going in and out of editmode was fully recoded. Especially on larger models you'll notice substantial speed gain.
**** Todo
Add 'FaceSelect mode' functionality in EditMode, including zbuffered selection, display and editing of UV texture.
EditMesh refactor notes (coder)
**** Usage of flags in general
The "->f" flags are reserved for the editmesh.c and editmesh_lib.c core functions. Actually only selection status is there now.
The "->f1" and "->f2" flags are free to use. They're available in vertex/edge/face structs. Since they're free, check carefully when calling other functions that use these flags... for example extrude() or subdivide() use them.
**** Selection flags
EditVert: eve->f & SELECT
EditEdge: eed->f & SELECT
EditFace: efa->f & SELECT
- Selection is only possible when not-hidden!
- Selection flags are always up-to-date, BUT:
if selection mode >= SELECT_EDGE vertex selection flags can be incorrect
if selection mode == SELECT_FACE vertex/edge selection flags can be incorrect
This because of shared vertices or edges.
- use for selecting vertices:
eve->f &= SELECT
- use for selecting edges always:
void EM_select_edge(eed, 1) // 1 = select, 0 = deselect
- use for selecting faces always:
void EM_select_face(efa, 1) // 1 = select, 0 = deselect
- To set the 'f' flags in all of the data:
void EM_set_flag_all(int flag);
void EM_clear_flag_all(int flag);
- the old faceselectedOR() and faceselectedAND() are still there, but only
to be used for evaluating its vertices
**** Code hints for handling selection
If the selectmode is 'face'; vertex or edge selections need to be flushed upward. Same is true for 'edge' selection mode. This means that you'll have to keep track of all selections while coding... selecting the four vertices in a face doesn't automatically select the face anymore.
However, by using the above calls, at least selections flush downward (to vertex level). You then can call:
void EM_selectmode_flush(void);
Which flushes selections back upward, based on the selectmode setting. This function does the following:
- if selectmode 'vertex': select edges/faces based on its selected vertices
- if selectmode 'edge': select faces based its selected edges
This works fine in nice controlled situations.
However, only changing the vertex selections then still doesn't select a face in face mode! If you really can't avoid only working with vertex selections, you can use this call:
void EM_select_flush(void);
Now selection is flushed upward regardless current selectmode. That can be destructive for special cases however, like checkerboard selected faces. So use this only when you know everything else was deselected (or deselect it). Example: adding primitives.
**** Hide flags
EditVert: eve->h
EditEdge: eed->h
EditFace: efa->h
- all hide flags are always up-to-date
- hidden vertices/edges/faces are always deselected. so when you operate on selection only, there's no need to check for hide flag.
**** Unified undo for editmode
New file: editmode_undo.h
A pretty nice function pointer handler style undo. Just code three functions, and your undo will fly! The c file has a good reference.
Also note that the old undo system has been replaced. It currently uses minimal dependencies on Meshes themselves (no abuse of going in/out editmode), and is restricted nicely to editmode functions.
**** Going in/out editmode
As speedup now all vertices/faces/edges are allocated in three big chunks. In vertices/faces/edges now tags are set to denote such data cannot be freed.
ALso the hashtable (lookup) for edges uses no mallocs at all anymore, but is part of the EditEdge itself.
2004-09-23 20:52:51 +00:00
|
|
|
void free_editMesh(struct EditMesh *em){}
|
2002-10-12 11:37:38 +00:00
|
|
|
void docentre_new(void){}
|
2002-12-20 02:08:46 +00:00
|
|
|
int saveover(char *str){ return 0;}
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
/* image.c */
|
|
|
|
|
#include "DNA_image_types.h"
|
|
|
|
|
void free_realtime_image(Image *ima){} // has to become a callback, opengl stuff
|
|
|
|
|
|
|
|
|
|
/* ipo.c */
|
|
|
|
|
void copy_view3d_lock(short val){} // was a hack, to make scene layer ipo's possible
|
|
|
|
|
|
|
|
|
|
/* library.c */
|
|
|
|
|
void allspace(unsigned short event, short val){}
|
|
|
|
|
#define OOPS_TEST 2
|
|
|
|
|
|
|
|
|
|
/* mball.c */
|
|
|
|
|
ListBase editelems;
|
|
|
|
|
|
|
|
|
|
/* object.c */
|
|
|
|
|
void BPY_free_scriptlink(ScriptLink *slink){}
|
|
|
|
|
void BPY_copy_scriptlink(ScriptLink *scriptlink){}
|
2002-12-20 02:08:46 +00:00
|
|
|
float *give_cursor(void){ return 0;} // become a callback or argument
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/* packedFile.c */
|
2002-12-20 02:08:46 +00:00
|
|
|
short pupmenu(char *instr){ return 0;} // will be general callback
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
/* sca.c */
|
|
|
|
|
#define LEFTMOUSE 0x001 // because of mouse sensor
|
|
|
|
|
|
|
|
|
|
/* scene.c */
|
|
|
|
|
#include "DNA_sequence_types.h"
|
|
|
|
|
void free_editing(struct Editing *ed){} // scenes and sequences problem...
|
|
|
|
|
void BPY_do_all_scripts (short int event){}
|
|
|
|
|
|
|
|
|
|
/* IKsolver stubs */
|
|
|
|
|
#include "IK_solver.h"
|
|
|
|
|
|
2005-08-27 12:48:45 +00:00
|
|
|
IK_Segment *IK_CreateSegment(int flag) { return 0; }
|
|
|
|
|
void IK_FreeSegment(IK_Segment *seg) {}
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2005-08-27 12:48:45 +00:00
|
|
|
void IK_SetParent(IK_Segment *seg, IK_Segment *parent) {}
|
|
|
|
|
void IK_SetTransform(IK_Segment *seg, float start[3], float rest_basis[][3], float basis[][3], float length) {}
|
|
|
|
|
void IK_GetBasisChange(IK_Segment *seg, float basis_change[][3]) {}
|
|
|
|
|
void IK_GetTranslationChange(IK_Segment *seg, float *translation_change) {};
|
|
|
|
|
void IK_SetLimit(IK_Segment *seg, IK_SegmentAxis axis, float lower, float upper) {};
|
|
|
|
|
void IK_SetStiffness(IK_Segment *seg, IK_SegmentAxis axis, float stiffness) {};
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2005-08-27 12:48:45 +00:00
|
|
|
IK_Solver *IK_CreateSolver(IK_Segment *root) { return 0; }
|
|
|
|
|
void IK_FreeSolver(IK_Solver *solver) {};
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2005-08-27 12:48:45 +00:00
|
|
|
void IK_SolverAddGoal(IK_Solver *solver, IK_Segment *tip, float goal[3], float weight) {}
|
|
|
|
|
void IK_SolverAddGoalOrientation(IK_Solver *solver, IK_Segment *tip, float goal[][3], float weight) {}
|
|
|
|
|
int IK_Solve(IK_Solver *solver, float tolerance, int max_iterations) { return 0; }
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2002-12-12 22:18:25 +00:00
|
|
|
/* exotic.c */
|
|
|
|
|
int BPY_call_importloader(char *name)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/* texture.c */
|
|
|
|
|
#define FLO 128
|
|
|
|
|
#define INT 96
|
2003-12-21 23:38:41 +00:00
|
|
|
|
2002-12-20 02:08:46 +00:00
|
|
|
|
2004-04-29 15:56:26 +00:00
|
|
|
char texstr[20][12]; /* buttons.c */
|
2002-10-12 11:37:38 +00:00
|
|
|
|
|
|
|
|
/* editsca.c */
|
|
|
|
|
void make_unique_prop_names(char *str) {}
|
2005-03-28 15:23:36 +00:00
|
|
|
|
|
|
|
|
/* DerivedMesh.c */
|
|
|
|
|
void bglBegin(int mode) {}
|
|
|
|
|
void bglVertex3fv(float *vec) {}
|
2005-07-11 17:06:03 +00:00
|
|
|
void bglVertex3f(float x, float y, float z) {}
|
2005-03-28 15:23:36 +00:00
|
|
|
void bglEnd(void) {}
|
2005-09-03 18:10:13 +00:00
|
|
|
|
|
|
|
|
struct DispListMesh *NewBooleanMeshDLM(struct Object *ob, struct Object *ob_select, int int_op_type) { return 0; }
|
2005-09-28 18:09:46 +00:00
|
|
|
|
|
|
|
|
// bobj read/write debug messages
|
|
|
|
|
void elbeemDebugOut(char *msg) {}
|
2005-11-23 14:42:17 +00:00
|
|
|
void fluidsimSettingsFree(struct FluidsimSettings* sb) {}
|
2005-09-28 18:09:46 +00:00
|
|
|
|
2006-01-29 23:41:15 +00:00
|
|
|
/*new render funcs */
|
|
|
|
|
void externtex(struct MTex *mtex, float *vec, float *tin, float *tr, float *tg, float *tb, float *ta) {}
|
|
|
|
|
int multitex(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres) {return 0;}
|
2006-01-30 19:59:33 +00:00
|
|
|
struct Render *RE_GetRender(const char *name) {return (struct Render *)NULL;}
|
|
|
|
|
struct RenderResult *RE_GetResult(Render *re) {return (struct RenderResult *)NULL;}
|
2006-02-02 22:55:02 +00:00
|
|
|
float *RE_RenderLayerGetPass(RenderLayer *rl, int passtype) {return NULL;}
|
2006-02-03 20:39:36 +00:00
|
|
|
float RE_filter_value(int type, float x) {return 0.0f;}
|
2006-03-09 00:34:49 +00:00
|
|
|
struct RenderLayer *RE_GetRenderLayer(RenderResult *rr, const char *name) {return (struct RenderLayer *)NULL;}
|
2006-05-28 17:29:50 +00:00
|
|
|
void RE_Database_Free (struct Render *re) {}
|
|
|
|
|
void RE_FreeRender(Render *re) {}
|
|
|
|
|
void RE_shade_external(Render *re, ShadeInput *shi, ShadeResult *shr) {}
|
|
|
|
|
void RE_DataBase_GetView(Render *re, float mat[][4]) {}
|
|
|
|
|
struct Render *RE_NewRender(const char *name) {return (struct Render *)NULL;}
|
|
|
|
|
void RE_Database_Shaded(struct Render *re, struct Scene *scene) {};
|
2006-02-07 03:37:35 +00:00
|
|
|
|
|
|
|
|
/* node_composite.c */
|
2006-02-07 11:39:26 +00:00
|
|
|
void RE_zbuf_accumulate_vecblur(struct NodeBlurData *nd, int xsize, int ysize, float *newrect, float *imgrect, float *vecbufrect, float *zbufrect) {}
|
2006-05-25 14:18:48 +00:00
|
|
|
|
|
|
|
|
int multitex_ext(Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, TexResult *texres)
|
|
|
|
|
{
|
|
|
|
|
return 1969;
|
|
|
|
|
}
|
|
|
|
|
|