ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Texture UV coordinates for meshed 3d Solid

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Jeffrey.Tian
996 Views, 5 Replies

Texture UV coordinates for meshed 3d Solid

I'm working on meshing a 3d Solid object by using RealDWG C++ API. 

 

I use acdbGetObjectMesh() method to mesh a 3d Solid object. I can get vertices, materials for these meshes. However, I couldn't find a way to get texture UV coordinates for mesh vertices.

 

I've been stuck on it for a couple of days. Could someone help me on it? 

 

Thanks, 

 

Jeffrey

5 REPLIES 5
Message 2 of 6
Jeffrey.Tian
in reply to: Jeffrey.Tian

I made a mistake.

It's not "I can get vertices, materials for these meshes."

It should be "I can get vertices, materials for faces of the mesh."

Message 3 of 6
Balaji_Ram
in reply to: Jeffrey.Tian

Hi Jeff,

 

Sorry, it is not possible at present to get the UV coordinates of the texture associated with a solid.

 

If you create a AcDbSubDMesh and map a texture to it, you can then retrieve the UV coordinates of the Level-0 mesh

using AcDbSubDMesh::getVertexTextureArray.

 

Regards,

Balaji

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 4 of 6
Jeffrey.Tian
in reply to: Balaji_Ram

Thank you Balaji.

Message 5 of 6
khoiepu5
in reply to: Jeffrey.Tian

Dear Jeff.
I had problem like you. Did you have other solution for this problem.
Message 6 of 6
Jeffrey.Tian
in reply to: khoiepu5

I can't remember how I fixed it then. It's been such a long time.

 

Good luck,

 

Jeffrey

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost