logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
UGMENTALCASE  
#1 Posted : Wednesday, June 27, 2018 1:56:11 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
evening all,

when you fetch in an obj file it asks if you want the colours, normals and all this. Say you have a coloured scan as an obj file, is there a way to bring that into Shark/VC? Only I leave colours checked and nothing seems to happen?

Cheers
Tim Olson  
#2 Posted : Monday, July 2, 2018 3:46:47 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
>>Say you have a coloured scan as an obj file, is there a way to bring that into Shark/VC

Color data is stored in the .mtl file for OBJ imports. It needs to reside at the same folder level as the OBJ file.

Tim

Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#3 Posted : Monday, July 2, 2018 3:50:19 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Cheers Tim,

I have had them in the same place, but maybe I'll try and tidy up a bit and use a separate folder and store it all together and try again.

Cheers
Tim Olson  
#4 Posted : Monday, July 2, 2018 5:34:07 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)

If not feel free to private email the file. I recently made some major changes to OBJ import and will double check with your file.

Tim
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#5 Posted : Thursday, July 5, 2018 3:02:28 AM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Originally Posted by: Tim Olson Go to Quoted Post

If not feel free to private email the file. I recently made some major changes to OBJ import and will double check with your file.

Tim


Hi Tim,

Just dropped you an email with a test file. If you could take a look that would be great. It's not massively important, but would be nice. Especially when it comes to organising a mesh, sometimes the colours help you figure out which bit is which!

Cheers
Tim Olson  
#6 Posted : Thursday, July 5, 2018 12:27:21 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
V10 and earlier only recognize RGB color attributes per mesh in the mtl file. V11 will support texture maps as in your example for Import/Export OBJ, 3DS, 3MF, and SketchUp.

Tim

Edited by user Thursday, July 5, 2018 12:28:39 PM(UTC)  | Reason: Not specified

File Attachment(s):
textures.png (2,180kb) downloaded 22 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#7 Posted : Friday, July 6, 2018 6:48:03 AM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Hey Tim, cheers for this. Could you post the apple file please? I want to see how the. Mtl file looks and see if I can get the correct file type from my scanner.

Cheers
Tim Olson  
#8 Posted : Friday, July 6, 2018 9:10:51 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Apple OBJ sent via email. A texture is specified in the .mtl file via the map_Kd field.
Tim


newmtl QuadMesh1
Ka 1.0 1.0 1.0
Kd 1.0 1.0 1.0
Ks 1.0 1.0 1.0
d 1.0
Ns 11.3
illum 2
map_Kd appleD.jpg
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#9 Posted : Friday, July 6, 2018 2:21:14 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Cheers Tim. Got the mail. I'll see what export setting I can fiddle with but I don't recall seeing that type of file from my scanner software. Might hang in there for version 11 :-)
Tim Olson  
#10 Posted : Friday, July 6, 2018 4:20:38 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Attached is a screen grab of your example file with texture support.
Tim

Edited by user Friday, July 6, 2018 4:21:30 PM(UTC)  | Reason: Not specified

File Attachment(s):
scan.png (645kb) downloaded 27 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#11 Posted : Friday, July 6, 2018 4:37:16 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
That's mega, nice picture of Kylo Ren there drawn by my son!
UGMENTALCASE  
#12 Posted : Tuesday, July 10, 2018 3:15:29 AM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Hi Tim,

can't get that apple loading properly? any suggestions for displaying the colours?
Cheers
File Attachment(s):
ScreenCapture_2018-7-10 10.10.50.mp4 (2,387kb) downloaded 6 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson  
#13 Posted : Thursday, July 12, 2018 11:51:31 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
>>can't get that apple loading properly? any suggestions for displaying the colours?


In this case the color is defined from the texture file referenced in mtl file via....

map_Kd appleD.jpg

So you will need texture support for this to display in full color.

If a texture is not present it will use the diffuse color component from the mtl file...

Kd 1.0 1.0 1.0

Which for the apple is set to white. If you want a red apple use...

Kd 1.0 0.0 0.0

For OBJ, the mtl and image files must all lie in the same folder location as the .obj.

Tim
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#14 Posted : Thursday, July 12, 2018 1:03:30 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Hi Tim,

I'm totally lost here. I have the files in the same folder as per the attached view. Is texture support some additional program or something I need? I figured I should be downloading the example. It's all in one folder, import the obj file and bam should be there?

Cheers

(I'm on windows 7 pro here, does this make a difference)
UGMENTALCASE attached the following image(s):
Untitled.jpg (64kb) downloaded 1 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson  
#15 Posted : Thursday, July 12, 2018 1:17:35 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
>> Is texture support some additional program or something I need?

Importing textures for OBJ, 3DS, SketchUp, and 3MF will be a new feature in V11.

The image I attached was from preliminary V11 build with that feature turned on, sorry I was not more clear! There is still quite a bit of work to get printing and Lightworks all tied in for this new feature.


Tim
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#16 Posted : Sunday, September 16, 2018 3:39:27 PM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
Hi Tim,

Are we saying then that those additional check boxes when importing an obj don't work in V10?

Cheers
Tim Olson  
#17 Posted : Wednesday, September 19, 2018 9:44:09 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
>>Are we saying then that those additional check boxes when importing an obj don't work in V10?

In V10, reading texture coordinates are not processed as that version does not support texture mapping. They are processed on export from objects with texture coordinates such as all ACIS based bodies.

In V11 the imported texture coordinates from an OBJ, 3DS, SketchUP file are now saved with the mesh object. And one of the reasons why the v11 file format changed.

Tim
Tim Olson
IMSI Design/Encore
UGMENTALCASE  
#18 Posted : Wednesday, September 19, 2018 11:36:06 AM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
OK cheers, so what would we use the check boxes for?
UGMENTALCASE  
#19 Posted : Thursday, November 15, 2018 11:22:01 AM(UTC)
UGMENTALCASE

Rank: Senior Member

Joined: 3/21/2017(UTC)
Posts: 945
Man
United Kingdom

Thanks: 46 times
Was thanked: 298 time(s) in 203 post(s)
?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.