Salegy Menges
Registered User
Join date: 19 Mar 2007
Posts: 2
|
04-15-2007 03:50
Great ... the igloo is fine (but a little slow to generate). Now I'm trying to export a simply form of handbag from AutoCAD to sl. In AutoCAD I draw the handbag using 3dmesh and export to obj with my AutoLISP code that generate obj's just as must be imperted in sl (with "" and ,). I'm able to apply materials to my hanbag but I'm still not able to group all tha faces and create the oblect "handbag". Can anybody help me?
|
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
|
04-15-2007 03:59
From: Salegy Menges Great ... the igloo is fine (but a little slow to generate). Now I'm trying to export a simply form of handbag from AutoCAD to sl. In AutoCAD I draw the handbag using 3dmesh and export to obj with my AutoLISP code that generate obj's just as must be imperted in sl (with "" and ,). I'm able to apply materials to my hanbag but I'm still not able to group all tha faces and create the oblect "handbag". Can anybody help me? Hmm... Errr.... Wow! Hi, Salegy! How many prims is your handbag?. Objects are limited to 255 prims. The 3D importer isn't really suitable for making things like handbags. Jeffrey made the importer just for the hell of it. He never really intended for people to use it.
|
Salegy Menges
Registered User
Join date: 19 Mar 2007
Posts: 2
|
3D from AutoCAD to SL
04-16-2007 03:29
I think that 255 prims can be sufficient for a handbag (handbag for me is only an example) ... but I'm not shure that this is the right way ... I'm new in SL but I have 20 years experience with AutoCAD drawing and AutoLISP programming. What I'm searching to do is to import 3Dmesh from AutoCAD to SL for rappresentation of surfaces that have a thicknes (as leather, coils, 3D architectural structures etc). In AutoCAD I can save the thicknes of the mesh (I can do it with AutoLISP in object xdata) and when I write the obj file I can also write all the script source code for SL inserting the thicknes or other informations. Also AutoCAD 3DFaces could be used for the same thing but the importing to SL in this case can be made without use of triangles and directly to cube.
Maby the best solution can be to create a script that is able to read a transfer file from AutoCAD, using a standard different from obj.
In this moment I have a problem. My AutoLISP code generate an OBJ in standard form ... example:
v x1 y1 z1 v x2 y2 z2 ....
f vertex1 vertex2 vertex3 f vertex4 vertex5 vertex6 ...
but I see that the obj in example have different declaration of vertex (3 groups of 3) and I still don't understand this kind of obj. Importing in SL is working witout errors but what I get in SL is totaly different from the mesh in AutoCAD .... maby somebody can give me more informations?
Sorry for my terrible english
|
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
|
04-16-2007 04:47
From: Salegy Menges I think that 255 prims can be sufficient for a handbag (handbag for me is only an example) ... but I'm not shure that this is the right way ... I'm new in SL but I have 20 years experience with AutoCAD drawing and AutoLISP programming. What I'm searching to do is to import 3Dmesh from AutoCAD to SL for rappresentation of surfaces that have a thicknes (as leather, coils, 3D architectural structures etc). In AutoCAD I can save the thicknes of the mesh (I can do it with AutoLISP in object xdata) and when I write the obj file I can also write all the script source code for SL inserting the thicknes or other informations. Also AutoCAD 3DFaces could be used for the same thing but the importing to SL in this case can be made without use of triangles and directly to cube.
Maby the best solution can be to create a script that is able to read a transfer file from AutoCAD, using a standard different from obj.
In this moment I have a problem. My AutoLISP code generate an OBJ in standard form ... example:
v x1 y1 z1 v x2 y2 z2 ....
f vertex1 vertex2 vertex3 f vertex4 vertex5 vertex6 ...
but I see that the obj in example have different declaration of vertex (3 groups of 3) and I still don't understand this kind of obj. Importing in SL is working witout errors but what I get in SL is totaly different from the mesh in AutoCAD .... maby somebody can give me more informations?
Sorry for my terrible english Your english is good! Perhaps you could try transferring your AutoCAD mesh to a more typical modeler like 3D Studio, then try saving it out as an .obj file from there?. If you don't have 3D Studio, then maybe try one of the freeware modeling programs. Good luck!
|