代码搜索:Diffuse
找到约 389 项符合「Diffuse」的源代码
代码结果 389
www.eeworm.com/read/231451/14233294
txt transform.txt
////////////////////////////////////////////////////////////////////////////
//
// File: transform.txt
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 D
www.eeworm.com/read/129636/14235196
m exm09077_1.m
clf reset,t=(0:20)/20;r=2.5-cos(2*pi*t);
[x,y,z]=cylinder(r,40);
%
[C,CMAP]=imread('trees.tif');
CC=double(C)+1; %
%。
surface(x,y,z,'Cdata',flipud(CC),'FaceColor','texturemap','
www.eeworm.com/read/212376/15157340
m exm09077_1.m
clf reset,t=(0:20)/20;r=2.5-cos(2*pi*t);
[x,y,z]=cylinder(r,40);
%
[C,CMAP]=imread('trees.tif');
CC=double(C)+1; %
%。
surface(x,y,z,'Cdata',flipud(CC),'FaceColor','texturemap','
www.eeworm.com/read/270032/11051343
pov test.pov
#declare Black=color rgb
#declare Red=color rgb
#declare White=color rgb
#declare Yellow=color rgb
#declare Blue=color rgb
camera{location direction
www.eeworm.com/read/200131/15440274
m exm09077_1.m
clf reset,t=(0:20)/20;r=2.5-cos(2*pi*t);
[x,y,z]=cylinder(r,40);
%
[C,CMAP]=imread('trees.tif');
CC=double(C)+1; %
%。
surface(x,y,z,'Cdata',flipud(CC),'FaceColor','texturemap','
www.eeworm.com/read/385414/8806174
cpp material.cpp
// Material.cpp: implementation of the CMaterial class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RayTrace.h"
#include "Material.h"
www.eeworm.com/read/381628/9081103
vsh perpixelpick.vsh
vs.1.1
;Do the final transformation and emit it in oPos. This
;is completely independent of the lighting operations
dp4 oPos.x, v0, c0
dp4 oPos.y, v0, c1
dp4 oPos.z, v0, c2
dp4 oPos.w, v0, c3
www.eeworm.com/read/381628/9081140
vsh comparedepth.vsh
vs.1.1
;Output the position
dp4 oPos.x, v0, c0
dp4 oPos.y, v0, c1
dp4 oPos.z, v0, c2
dp4 oPos.w, v0, c3
;Compute the distance from the vertex to the light
dp4 r1.z, v0, c12
www.eeworm.com/read/363372/9953060
mat thing_light.mat
{MATERIAL}
{NAME} : {7 - Default}
{DIFFUSE} : {(color 150 150 150)}
{AMBIENT} : {(color 150 150 150)}
{SPECULAR} : {(color 229.5 229.5 229.5)}
{SPECULARLEVEL} : {0.0}
{SOFTEN} : {0.1}
{TEXTUR
www.eeworm.com/read/363372/9953074
mat dynamicthing.mat
{MATERIAL}
{NAME} : {1 - Default}
{DIFFUSE} : {(color 150 150 150)}
{AMBIENT} : {(color 150 150 150)}
{SPECULAR} : {(color 229.5 229.5 229.5)}
{SPECULARLEVEL} : {0.0}
{SOFTEN} : {0.1}
{TEXTUR