在ps中如何做网格线

在ps中如何做网格线,第1张

系统:win10 1909 64位企业版

软件版本:Adobe Photoshop cs6

不少用户都想要知道 ps怎么做网格线 ?下面与大家分享一下ps制作网格线教程吧。

1、打开ps,导入素材,点击视图,显示,网格

2、点击编辑,首选项,选择参考线,网格和切片选项,调整网格线属性

3、若需要取消网格线,则再次点击视图显示中的网格即可取消网格

以上就是ps网格线怎么调出的内容了,希望对各位有所帮助。

网格图需要用的PS软件,教程如下:

1.首先打开你的素材

2.新建,明确自己要画多大的纸,把尺寸选为毫米,我这里做了个A3的,也就是420mm X 300mm。分辨率决定了你最后输出的图片的质量,右下角有图片大小,调得比素材大一些就好了。

3.把素材转换为智能对象,然后把素材拖动到刚刚新建的空白处,调整一下大小,确定一下最后你要在纸上把这个车画到多大。

4.调整好之后就开始做网格,在网格设置里面按下图设置,A3纸长42宽30,所以我设计的网格是横14格每格3厘米,纵15格每格2厘米,这边先把网格调成14画竖线。

5.在网格的参考下用铅笔画线,铅笔的颜色尽量调成素材颜色的对比色,这样画起来的时候看得会很明显。

6.竖线画完之后,把网格改成15画横线。

7.画完之后把文件另存为JPEG,品质选最大。

8.拿到图片之后,调整图片显示的大小,拿尺子上去量网格,现在网格长是3厘米,就按照这个大小开始画就可以了,屏幕里的一根线多长在你纸上就是多长。

画格子,如果你有足够的信心且不擅长PS,可以使用照片编辑器,选择裁剪选项,但不裁剪,此时截图,将得到一张被划分为3×3的照片,再以此起稿,会稍微困难,但作用也是明显的

更新:2007 年 11 月可以通过四种基本方法创建网格:从文件加载网格数据。克隆或优化现有网格。使用形状创建功能并指定将用于创建形状的三角形的大小和数量。使用Mesh 构造函数。说明:托管Direct3D 移动应用程序需要使用适用于 Pocket PC 和 Smartphone 的 Windows Mobile 5.0 版软件。有关 Windows Mobile 软件和 SDK 的信息,请参见 .NET Compact Framework 的外部资源。从文件创建网格从文件加载网格数据,然后使用这些数据填充网格。.NET Compact Framework 不支持直接从文件加载网格,但是 Direct3D Mobile Meshes Sample(Direct3D Mobile 网络示例)定义了一个类来加载网络。从现有网格创建网格使用Optimize 方法以优化数据创建新网格。-或 -使用OptimizeInPlace 方法来优化当前网格。克隆主要用于将网格从浮点型格式转换为定点格式。优化主要用于创建可更快绘制的网格。网格优化将对网格中的三角形重新排列,以便能够更快地执行对网格的绘图调用。网格优化还生成一个属性表,该属性表用于标识网格中需要用不同纹理、呈现状态和材质绘制的区域。使用形状创建功能创建网格使用Mesh 类的以下静态方法之一以浮点型数学中指定的位置和法线创建网格:Box 方法Cylinder 方法Polygon 方法Sphere 方法Torus 方法使用网格构造函数创建网格使用所需参数调用 Mesh 构造函数。设置索引缓冲区、顶点缓冲区和属性表数据。这种情况下,数据通常是在运行时生成的。下面的示例演示了以此方法创建网格的步骤。示例下面的代码示例在 x-y 平面上(z 轴坐标表示垂直维度)创建高度场网格。创建的特定网格的长度从 (0, 0) 到 (1, 1),高度是由 GetHeight 方法指定的。此网格还带有一条穿越整个网格的纹理。C#VBclass Form1 { Form1() { // In this example, initialize the Mesh object// with 4 tessellationsthis.InitializeMesh(4)} privatevoid InitializeMesh(int tessellation) { Mesh mesh1 = CreateHeightfieldMesh(tessellation)} privatefloat GetHeight(float x, float y) { return 0//TODO: fill in this function } private Mesh CreateHeightfieldMesh(int tessellation) { Mesh meshDevice device = null// TODO: initialize thisshort[] arrayIndices = newshort[(tessellation - 1) * (tessellation - 1) * 6]CustomVertex.PositionTextured[] arrayVertices = new CustomVertex.PositionTextured[tessellation * tessellation]AttributeRange attributeRange = new AttributeRange()// Create mesh with desired vertex format and desired size mesh = new Mesh(arrayIndices.Length / 3, arrayVertices.Length, MeshFlags.SystemMemory, CustomVertex.PositionTextured.Format, device)// For each point in the height field calculate the x, y, z and// texture coordinates.for (int y = 0y <tessellationy++) { for (int x = 0x <tessellationx++) { int arrayIndex = y * tessellation + xfloat xCoordinate = (float)x / (float)(tessellation - 1)float yCoordinate = (float)y / (float)(tessellation - 1)CustomVertex.PositionTextured vertex = new CustomVertex.PositionTextured (xCoordinate, yCoordinate, GetHeight(xCoordinate, yCoordinate), xCoordinate, yCoordinate)arrayVertices[arrayIndex] = vertex} } // Calculate the index buffer.for (int y = 0y <(tessellation - 1)y++) { for (int x = 0x <(tessellation - 1)x++) { int arrayIndex = (y * (tessellation - 1) + x) * 6int vertexIndex = y * tessellation + xarrayIndices[arrayIndex] = (short)vertexIndexarrayIndices[arrayIndex + 1] = (short)(vertexIndex + 1)arrayIndices[arrayIndex + 2] = (short)(vertexIndex + tessellation)arrayIndices[arrayIndex + 3] = (short)(vertexIndex + tessellation)arrayIndices[arrayIndex + 4] = (short)(vertexIndex + 1)arrayIndices[arrayIndex + 5] = (short)(vertexIndex + tessellation + 1)} } // There is only one attribute value for this mesh.// By specifying an attribute range the DrawSubset function// does not have to scan the entire mesh for all faces that are// are marked with a particular attribute id. attributeRange.AttributeId = 0attributeRange.FaceStart = 0attributeRange.FaceCount = arrayIndices.Length / 3attributeRange.VertexStart = 0attributeRange.VertexCount = arrayVertices.Lengthmesh.VertexBuffer.SetData(arrayVertices, 0, LockFlags.None)mesh.IndexBuffer.SetData(arrayIndices, 0, LockFlags.None)mesh.SetAttributeTable(new AttributeRange[] { attributeRange })return (mesh)} publicstaticvoid Main() { try { Form Form1 = new Form()Application.Run(Form1)} catch (NotSupportedException) { MessageBox.Show("Your device does not have the needed 3d " + "support to run this sample")} catch (DriverUnsupportedException) { MessageBox.Show("Your device does not have the needed 3d " + "driver support to run this sample")} catch (Exception e) { MessageBox.Show("The sample has run into an error and " + "needs to close: " + e.Message)} } } 编译代码此示例需要引用下面的命名空间:Microsoft.WindowsMobile.DirectXMicrosoft.WindowsMobile.DirectX.Direct3DSystemSystem.DrawingSystem.Windows.Forms请参见概念.NET Compact Framework 帮助主题其他资源.NET Compact Framework 中的 Mobile Direct3D 编程


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/12208138.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-21
下一篇 2023-05-21

发表评论

登录后才能评论

评论列表(0条)

保存