Export scene as a single OBJ file or access vertex data and normal data to use when writing my exporter.

41 views
Skip to first unread message

Noobs DeSroobs

unread,
Jan 10, 2017, 1:08:11 PM1/10/17
to VPython-users
Is there a way to store all the models as a single model in a format like OBJ, STL, PLY, FBX or any other format that can be read by Blender or 3DS Max? I need to import the generated model into Unreal Engine 4 so it needs to eventually end up as OBJ or FBX.

Thank you for your help.

Yours, 
Magnus Elden

Bruce Sherwood

unread,
Jan 12, 2017, 5:06:17 PM1/12/17
to VPython-users
Since no one has responded, I guess no one has made such an exporter. If you know the format of one of these models, perhaps it wouldn't be very difficult for you to write your own exporter. Presumably these models know about representations at the high level of spheres and cylinders, not solely at the low level of triangles and normals, in which case it might not be hard to add a specification to the output every time you create a VPython object.

Wayne

unread,
Jan 13, 2017, 11:57:37 AM1/13/17
to VPython-users
Magnus,
Following up along those lines. The VPython scene to POV-Ray exporter listed at the top of http://vpython.org/contents/contributed.html may provide you some guidance.
Reply all
Reply to author
Forward
0 new messages