开发者

3D Max - Plane question

I've only a basic knowledge of 3D Max. I'm creating a plane using MaxS开发者_运维问答cript, converting it to an editable Poly and then extruding certain faces. The thing is, I only have 16 faces to work from. Is there a way to have more than 16 faces?


You would have to define it before you do your conversion to poly.

The syntax shown in the listener for adding segments is:

$.lengthsegs = 20
$.widthsegs = 20

So for your script just add this right below your line where you define your plane:

yPlane.lengthsegs =20 --any number of segments 
yPlane.widthsegs = 20 --any number of segments 

this makes it more "bulletproof", since when using $ it means any selected object.

By using "yplane" variable we make sure it only affects this object.


And in case you have similar questions in the future, just turn on the MAXScript macro recorder and perform the edit in the 3ds Max UI. Most of the times, the recorder will show you the MAXScript code for your action.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜