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: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#2 Posted : Monday, July 02, 2018 3:46:47 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#3 Posted : Monday, July 02, 2018 3:50:19 PM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#4 Posted : Monday, July 02, 2018 5:34:07 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#5 Posted : Thursday, July 05, 2018 3:02:28 AM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#6 Posted : Thursday, July 05, 2018 12:27:21 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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 05, 2018 12:28:39 PM(UTC)  | Reason: Not specified

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

You cannot view/download attachments. Try to login or register.
Tim Olson
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#7 Posted : Friday, July 06, 2018 6:48:03 AM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#8 Posted : Friday, July 06, 2018 9:10:51 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#9 Posted : Friday, July 06, 2018 2:21:14 PM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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 :-)
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#10 Posted : Friday, July 06, 2018 4:20:38 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

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

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

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

You cannot view/download attachments. Try to login or register.
Tim Olson
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#11 Posted : Friday, July 06, 2018 4:37:16 PM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 post(s)
That's mega, nice picture of Kylo Ren there drawn by my son!
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
UGMENTALCASE  
#12 Posted : Tuesday, July 10, 2018 3:15:29 AM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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 5 time(s).

You cannot view/download attachments. Try to login or register.
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#13 Posted : Thursday, July 12, 2018 11:51:31 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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
ViaCAD/Shark Development Team
Links to ViaCAD Resources
UGMENTALCASE  
#14 Posted : Thursday, July 12, 2018 1:03:30 PM(UTC)
UGMENTALCASE

Rank: Guest

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

Thanks: 15 times
Was thanked: 32 time(s) in 27 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 0 time(s).

You cannot view/download attachments. Try to login or register.
ViaCAD Pro 10 + Power Pack Pro
Shark CAD + Power Pack Pro
Windows 7 Pro- MSI GL72 6QC-32GB RAM
Tim Olson  
#15 Posted : Thursday, July 12, 2018 1:17:35 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 4,922
United States

Was thanked: 191 time(s) in 168 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
ViaCAD/Shark Development Team
Links to ViaCAD Resources
Users browsing this topic
Guest (2)
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.