| ls中DOS渲染详解
在dos中渲染现在有好几种方法,,如果你对dos命令很熟悉的话,,那完全可以直接在dos命令面板里输入命令就可以,,,还有一种呢就是我们对dos命令不熟悉,甚至不懂,那怎么办呢,,不急,,我们就借助于一个ls的dos渲染插件,,他是很图形化的,,我想只要认识中文的都能理解,,工具本身很简单,,好了下面我就来讲讲这两种方法,,,补充一下,,其实用dos渲染跟ls线框渲染,他们用的时间也差不多(个人意见)
首先让我们来认识一下ls中的dos命令
lsrad的参数: -ac 允许光源和属性的改变,缺省依文件内的设置。 -nac 不允许光源和属性的改变,可以加快速度。 -cp n 每隔n步将传递结果存盘。 -cpt n 每隔n分钟将传递结果存盘。 -df 文件 读入指定的参数文件。 -do 只进行直接光照。 -h 显示帮助信息。 -I 传递结束后要求确认覆盖原文件,缺省是覆盖。 lf 读入指定的层状态文件。 -o 文件 指定传递后的存盘文件。 -r 传递前清除以前的传递,从头开始。 -sh all 计算所有阴影(缺省)。 direct 计算直接光照阴影。 none 不计算阴影。 -term n 计算n步后输出结果,缺省无限计算。 -termp p 计算到传递p%后,输出结果。 -termt n 计算到n分钟后输出结果。 -v 显示每一步的结果 2.lsray的参数: -aa l-10 反锯齿级别,缺省为1。 -aaa t n r 反锯齿极限、取样水平和半径。 -af 动画文件名 指定动画文件渲染一系列的连续图片(动画)。 -alls 从所有层计算阴影。 -alpha 计算一个alpha通道,只在图形文件是能保存alpha通道的文件格式时有效。Alpha通道的作用是便于后期合成。 在图形状态下不能渲染出alpha通道。 -amb 环境光级别。 -bg 背景色。 -contr n 对比度级别。 -df 文件名 指定参数文件。 -fogc r g b 环境雾的色彩。 -fogd 环境雾的密度。 -fogf 环境雾的类型。 liner 线性雾。 fog. 自然雾。 haze 自然阴霍。 -fps 动画文件指定帧每秒。 -gl 使用OpenGL发射模式。 -lf 读入指定的层状态文件。 -nc 不进行背面culling。 -nt 不贴图。 -rb n 光线反弹次数,缺省为10。 -sh 光影跟踪直接照明(包括太阳光)。 -soft 柔和太阳光的阴影。 -v 显示状态。 -x n 图片的宽度(分辨率)。 -y n 图片的高度(分辨率)。 -vf 文件 读入指定的视角文件
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 381px; ZOOM: 180%" alt=按此在新窗口浏览图片 src="/Upload/2007323212456560.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 363px; ZOOM: 190%; HEIGHT: 248px" height=248 alt=按此在新窗口浏览图片 src="/Upload/200732321250607.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 406px; ZOOM: 170%; HEIGHT: 265px" height=249 alt=按此在新窗口浏览图片 src="/Upload/200732321257353.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
下面我们在来讲ls的插件看下面的图表
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" alt=按此在新窗口浏览图片 src="/Upload/2007323212512722.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 296px; ZOOM: 160%" alt=按此在新窗口浏览图片 src="/Upload/2007323212513367.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 280px; ZOOM: 170%; HEIGHT: 245px" height=250 alt=按此在新窗口浏览图片 src="/Upload/2007323212519864.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
onmousewheel="return bbimg(this)" src="/Upload/2007323212454231.gif" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>此主题相关图片如下:
onmousewheel="return bbimg(this)" style="WIDTH: 336px; ZOOM: 140%; HEIGHT: 285px" height=250 alt=按此在新窗口浏览图片 src="/Upload/2007323212526291.jpg" onload="javascript:if(this.width>screen.width-550)this.style.width=screen.width-550;if(this.height>250)this.style.width=(this.width*250)/this.height;" border=0>
|