preview Class Reference

file : ../lugre/lua/lib.preview.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed GetMeshPreview (mixed meshname, mixed res, mixed angh, mixed angv, mixed pixelformat, mixed qCustomRotation, mixed vCustomScale)


Detailed Description

file : ../lugre/lua/lib.preview.lua (this is just a pseudo class used for grouping global functions)

Definition at line 4848 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed preview::GetMeshPreview ( mixed  meshname,
mixed  res,
mixed  angh,
mixed  angv,
mixed  pixelformat,
mixed  qCustomRotation,
mixed  vCustomScale 
) [inline, static]

generate preview of meshes using rtt todo : cache(resolution) ? store in tmp dir ? TODO : (background options : starfield, black, certain color, some other material or texture) res (res x res) is the resulting texture resolution, must be 2^n angh,angv are the angles from which the preview is generated, defaults to 30°,45° returns matname ? todo : better texturename ?

Definition at line 4856 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6