diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-09 17:40:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-09 17:40:25 +0300 |
commit | ead7a3324784277239d5960eaa5408c3b973f79d (patch) | |
tree | 19d81aca9f695cab2912b6bc58c11184cf5c0f7a /source/blender/render/intern/include/render_types.h | |
parent | 8b78a5cf3530fd440dba478792a7f016db30a63c (diff) |
Misc Render Features
====================
- "From Dupli" option for orco and uv texture coordinates. For dupliverts,
duplifaces and dupli particles, this uses the orco and uv at the point
on the parent surface. Can for example be used for texturing feathers
and leafs. Note that uv only works for duplifaces and particles emitted
from faces, these are not defined at vertices.
- "Width Fade" option for strand render, to fade out along the width of the
strand. Committing this so it can be tested, might be changed or removed
even, if it doesn't give nice results.
Diffstat (limited to 'source/blender/render/intern/include/render_types.h')
-rw-r--r-- | source/blender/render/intern/include/render_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/render_types.h b/source/blender/render/intern/include/render_types.h index 7fbbd0f5abc..9034ff79243 100644 --- a/source/blender/render/intern/include/render_types.h +++ b/source/blender/render/intern/include/render_types.h @@ -266,6 +266,8 @@ typedef struct ObjectInstanceRen { float mat[4][4], imat[3][3]; short flag; + float dupliorco[3], dupliuv[2]; + float *vectors; int totvector; } ObjectInstanceRen; @@ -343,7 +345,7 @@ typedef struct StrandBuffer { unsigned int lay; int overrideuv; int flag, maxdepth; - float adaptcos, minwidth; + float adaptcos, minwidth, widthfade; float winmat[4][4]; int winx, winy; |