Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

OBJ the best format to import directly into SL?

Dzonatas Sol
Visual Learner
Join date: 16 Oct 2006
Posts: 507
05-29-2007 14:34
I have already started to research a method to import an open file format, such as OBJ directly into SL where it can convert to the sculpt map texture ready for upload. If we had to choose just one format, is OBJ the best format? It appears supported by many modelers. It can contain the uv map.

If the importer was implemented, would it be ok to reject OBJ files that don't have the uv map?

Should it just import the vertices and ignore any uv map?

These are the kinds of questions I've run into.

Bare in mind that this import would only convert an OBJ file to a sculpt map. It probably would only handle simple conversions (like maybe only convex models), and more advance conversions would require one to create a sculpt map image externally.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
05-29-2007 19:54
Good luck/.
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
05-29-2007 20:30
From: Dzonatas Sol

Should it just import the vertices and ignore any uv map?


The uv map is helpful. For any given mesh, there are many valid sculptmaps. The uv map narrows this down to one. If someone has created custom textures for the sculptie, this is important.

So, I definitely wouldn't ignore the uv map. I would probably strongly encourage it, but maybe not go so far as to require it.
_____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max
http://liferain.com/downloads/primcomposer/

Hierarchical Prim Archive (HPA)
-- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools.
https://liferain.com/projects/hpa