How to convert skp files into a Mesh for rendering in Unreal

rendering
sdk
skp
unreal
unrealengine

#1

Hello,
I am parsing skp files using SketchUp SDK in C++. I have been able to get vertices of a model but not faces or other things. I am confused how shall I be able to make a mesh just with vertices in Unreal.
Or am I missing something in between.
Can someone please help me in this . I don’t want to export skp to fbx and then importing in Unreal.


#2

The C++ SDK is basically deprecated, and soon will be retired.
You should use the new C SDK instead.
There are examples included with the SDK. Have you looked at them ?

https://extensions.sketchup.com/en/developer_center/sketchup_sdk

http://extensions.sketchup.com/developer_center/sketchup_c_api/sketchup/index.html

A quick look reveals that the SDK has a mesh helper object:
http://extensions.sketchup.com/developer_center/sketchup_c_api/sketchup/struct_s_u_mesh_helper_ref.html


#3

If you are keen on using c++ over C, then you could take a look st my c++ wrapper for the new Sketchup C API.

It is open source, and very much work in progress, but it may help (and you may want to help it).


#4

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.