SplineShape : Shape Notes

本文详细介绍了如何将3ds Max中的现有形状转换为样条形状,以便使用特定的方法进行操作。重点阐述了更新形状时可能遇到的问题及解决方案,包括在修改面板中更改对象时的潜在崩溃风险、在3ds Max视口中更新形状内部缓存和图像的重要性、以及在调用updateShape()函数前和后执行操作的必要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. You must convert existing shapes to SplineShapes in order to operate on them with the these methods. Use the convertToSplineShape() function to do this.

  2. Only the updateShape() function updates the shape ' s internal caches and images in 3ds Max viewports. This is because updates can be computationally expensive and you don ' t want them performed on every function call. However, you must make sure you do call the updateShape() function after a series of changes and before the shape is to be worked on in 3ds Max or by other functions in MAXScript.

  3. The in and out vectors for Bezier control points are given as vector handle coordinates, not as true vectors as the names suggests.

  4. Coordinates are given in the MAXScript working coordinate system - this is important to note if you are familiar with the corresponding SDK spline functions which always work in object-local coordinates.

  5. If the updateShape() function is called on an object that is selected and currently open in the Modify panel, it will drop the current selection in order to avoid a potential crash in 3ds Max , which at the moment, does not support scripted changes to an object open in the Modify panel.

  6. If you are creating or modifying a spline object, and have not yet run updateShape() on the spline, 3ds Max will crash if you minimize and then maximize the 3ds Max window. This is because an only partially created spline is created, and the internal 3ds Max spline structure is left in an unstable state.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值