Tachyon (current)  Current Main Branch
Data Fields
apitexture Struct Reference

#include <tachyon.h>

Data Fields

int texturefunc
 which texture function to use More...
 
apicolor col
 base object color More...
 
int shadowcast
 does the object cast a shadow More...
 
flt ambient
 ambient lighting More...
 
flt diffuse
 diffuse reflection More...
 
flt specular
 specular reflection More...
 
flt opacity
 how opaque the object is More...
 
apivector ctr
 origin of texture More...
 
apivector rot
 rotation of texture around origin More...
 
apivector scale
 scale of texture in x,y,z More...
 
apivector uaxs
 planar map u axis More...
 
apivector vaxs
 planar map v axis More...
 
apivector waxs
 volume map W axis More...
 
char imap [96]
 name of image map More...
 

Detailed Description

Definition at line 65 of file tachyon.h.

Field Documentation

◆ ambient

flt apitexture::ambient

ambient lighting

Definition at line 69 of file tachyon.h.

Referenced by apitextotex(), drawsp(), GetMaterial(), GetTexBody(), initspheres(), main(), NFFGetTexture(), and reset_tex_table().

◆ col

apicolor apitexture::col

◆ ctr

apivector apitexture::ctr

origin of texture

Definition at line 73 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), main(), and movesp().

◆ diffuse

flt apitexture::diffuse

diffuse reflection

Definition at line 70 of file tachyon.h.

Referenced by apitextotex(), drawsp(), GetMaterial(), GetTexBody(), initspheres(), main(), NFFGetTexture(), and reset_tex_table().

◆ imap

char apitexture::imap[96]

name of image map

Definition at line 79 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), and main().

◆ opacity

flt apitexture::opacity

how opaque the object is

Definition at line 72 of file tachyon.h.

Referenced by apitextotex(), drawsp(), GetMaterial(), GetTexBody(), initspheres(), main(), NFFGetTexture(), and reset_tex_table().

◆ rot

apivector apitexture::rot

rotation of texture around origin

Definition at line 74 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), initspheres(), and main().

◆ scale

apivector apitexture::scale

scale of texture in x,y,z

Definition at line 75 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), initspheres(), and main().

◆ shadowcast

int apitexture::shadowcast

does the object cast a shadow

Definition at line 68 of file tachyon.h.

◆ specular

flt apitexture::specular

specular reflection

Definition at line 71 of file tachyon.h.

Referenced by apitextotex(), drawsp(), GetMaterial(), GetTexBody(), initspheres(), main(), NFFGetTexture(), and reset_tex_table().

◆ texturefunc

int apitexture::texturefunc

which texture function to use

Definition at line 66 of file tachyon.h.

Referenced by apitextotex(), GetMaterial(), GetTexBody(), initspheres(), main(), NFFGetTexture(), and reset_tex_table().

◆ uaxs

apivector apitexture::uaxs

planar map u axis

Definition at line 76 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), and main().

◆ vaxs

apivector apitexture::vaxs

planar map v axis

Definition at line 77 of file tachyon.h.

Referenced by apitextotex(), GetTexBody(), and main().

◆ waxs

apivector apitexture::waxs

volume map W axis

Definition at line 78 of file tachyon.h.

Referenced by apitextotex(), and GetTexBody().


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