将3D格式导入到定制的3D程序中 [英] importing 3D format into custom made 3D program

查看:84
本文介绍了将3D格式导入到定制的3D程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我一直在业余时间创建一个宠物3D项目,它具有Blender和3DS Max的许多常用功能.我非常喜欢这些程序,以至于我会手工替代它作为技术练习.

我只是想知道是否有人曾经使用过现有的3D格式?例如.3DS .OBJ .FBX.我知道.FBX是人类可读的.如何建议将模型文件导出/导入到我的程序? (它已经可以保存为自己的格式,但是我想要其他格式的功能)

这是我的世界结构
一个模型中可以有任意数量的三角形,并且任何模型都可以引用另一个模型中的三角形

Hey all,
I have been creating a pet 3D project in my spare time with many common features to Blender and 3DS Max. I liked the programs that much I thought I would make alternatives by hand as a technical exercise.

I was just wondering if anyone has had any previous use of the existing 3D formats? e.g .3DS .OBJ .FBX. I know .FBX is human readable. How would one suggest exporting/importing model files to my program? (It can already save in its own format but I would like the functionality of other formats)

Here''s my world structure
There can be any number of triangles in a model and any model can reference triangles from another model

--Scene-
    |-----Model---Triangle-MatID1
    |           |-Triangle-MatID1
    |           |-Triangle-MatID1
    |           |-Location
    |           |-Rotation
    |
    |-----Model---Triangle-MatID2
    |           |-Triangle-MatID2
    |           |-Triangle-MatID2
    |           |-Location
    |           |-Rotation
    |
    |----OmniLight=(Location, Intesity, Colour)
    |
    |----Camera(Location, LookVector)


提前谢谢大家:)


Thank you all in advance :)

推荐答案

http://max2xaml.codeplex.com / [^ ]

该链接用于从3dsmax模型创建xaml的工具,该源代码可用并且可能提供一些见识
http://max2xaml.codeplex.com/[^]

that link is for a tool that creates xaml from 3dsmax models, the source code is available and might provide some insight


这篇关于将3D格式导入到定制的3D程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆