简体   繁体   English

Lightwave 3D 9.6 SDK问题

[英]lightwave 3d 9.6 sdk trouble

是否有关于SDK的教程(或至少是示例),有关如何创建导出插件(从场景中提取多边形)的教程?

In Lightwave, you're not forced to write an export plugin to extract the polygons from a scene/object : the LWO and LWS are documented (enough) to parse them quite easily. 在Lightwave中,您不必强制编写导出插件从场景/对象中提取多边形:LWO和LWS已被记录(足够)以很容易地解析它们。

The file formats documentation are in filefmts folder of the SDK. 文件格式文档位于SDK的filefmts文件夹中。 You can find libs that parse Lightwave files also, such as Open Asset Import library . 您可以找到还可以解析Lightwave文件的库,例如Open Asset Import library

If you still need to do it as a plugin, there's a sample plugin for Modeler , in the sample/Modeler/Input-Output/vidscape folder. 如果仍然需要将其作为插件来执行,请在sample/Modeler/Input-Output/vidscape文件夹中找到Modeler的示例插件。

You can find a reasonable amount of LW export plugins on the web. 您可以在网上找到相当数量的LW导出插件。 Some of them are compiled .p plugins, but some are Python .py or LScript *.ls . 其中一些是编译的.p插件,但有些是Python .py或LScript *.ls Two latter can be edited and tweaked with text editor of your choice to individual needs quite easily. 可以很容易地使用您选择的文本编辑器来编辑和调整后两个文件。

There are wikis on the web about Lightwave API commands available from script as well. 网上也有关于Lightwave API命令的Wiki,可从脚本获得。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM