KeyShot Forum

Technical discussions => Materials => Topic started by: solodesign on March 29, 2011, 07:16:05 AM

Title: Net material?
Post by: solodesign on March 29, 2011, 07:16:05 AM
Hello everybody,
I need a net material.
Is there a way to place a map (i.e.: a black and white bitmap) and say: "white bitmap areas are transparent and blacks are opaque"?
If it is possible, what have I to do?
Where is this map to be loaded?
Do I need a particular format?

Thank you.

Marco

P.S.: Please note I' m not talking about wireframe material, unless you don' t explain me how to manage number and position of the frame.
Title: Re: Net material?
Post by: neilr on March 29, 2011, 09:03:56 AM
Check out the circular mesh thread, it should be near this one...
Title: Re: Net material?
Post by: solodesign on March 30, 2011, 03:15:32 AM
Maybe you' re referring to this topic?
http://keyshot.com/forum/index.php?topic=1174.0

If so that' s not properly what I' m looking for and it' s not clear to me how to proceed.
I tried loading a tiff image with transparency in an advanced materials, but it comes out just all dark black without transparency.

You can find attached 2 images: I need the net to be shown and to see through the holes.
What have I to do?

Marco
Title: Re: Net material?
Post by: solodesign on March 31, 2011, 01:16:54 AM
Well, I finally made it myself.
So, if anyone will need similar material in future, this is how should he/she do.

First we need a tiff with transparency and an alpha channel.
I used Photoshop.
I opened original net map, selected the net (magical wand), copied it, opened a new file with transparent background and pasted it.
Then I re-selected the net, opened selection menu and saved the selection (bottom voice in the menu).
I pressed enter, leaving default options.
This way we create the alpha channel; we can check it in che channel window where we see a black and white preview.
Black part is where we see through.
At this point we save a tiff image preserving transparency and channels.

In Keyshot we will have to use a general material, then load the tiff as a texture in material' s parameters tab, but it will not take effect until we check texture modulate box.
Now we can scale and rotate it as we like.
Note that if you need a particular map, you will have to save it in the tiff file, otherwise, you could just save a black and white tiff with transparency and alpha channel, then change color and effects using material properties.
Beware: using labels and other textures could vanify the transparency effect.

Marco

P.S.: I don' t want to create arguments, but this should be the kind of answer I would expect in a support forum.
Title: Re: Net material?
Post by: br3ttman on March 31, 2011, 09:29:15 PM
Hey Marco!

Intrigued by your question yesterday, and having experimented with transparent meshes back when Keyshot was still Hypershot 1.9, I tried creating a quick basketball net while experimenting with materials and textures in general to see if I could realize some better FX and pass along the insight.  However, I wasn’t fully satisfied with my results, so I didn’t immediately post them.  Here are my results and some of the issues I found.  Maybe others have had better mesh results they could post.

Keyshot’s General Material â€" Unfortunately, this is one of Keyshot’s earlier materials and isn’t very intuitive or user friendly, especially if you have an older PC and slow FPS.  In particular, you don’t know by looking at the material window itself which file you’ve loaded for the Texturemap, Normalmap, or Specularmap, and then if want to remove or deactivate one of those maps, it’s almost easier starting over.  Moreover, you don’t have the ability to automatically sync the maps like with other materials, so then you might be stuck waiting for realtime rendering to rez up sufficiently to confirm you’ve got the right maps and have them correctly positioned --> ultimately a slow workflow!  

General Material Improvement Suggestions - There’s a lot of room for improvement on this material, especially if you want to create see-thru mesh FX.  One suggestion for improvement would be to create a truly transparent material, where the material itself wouldn’t have any refractive, diffuse or specular properties.  Only the texture, normal, bump maps and/or decals applied to that material would take on those properties.

Textures with Transparency or Alpha Channels â€"  A couple additional notes to keep in mind to when creating .tiff files with Alpha Channels:  In your Photoshop file, make sure you’re also in 8bit color and in RGB mode.  16 bit or higher or CYMK, and your Alpha channel won’t work in Keyshot.  Personally, I’ve been creating .png files in Photoshop for transparency in textures and decals.  You just need to create a file with a transparent background and export as a .png.  A lot faster!  Unfortunately, the General Material won’t accept .png files for the maps like many of the other materials do.

Transparent meshes don’t show a material thickness â€" When applying a transparent mesh material to a part with thickness or solid part wall (i.e. front and back surface), the texture is repeated with a visual gap in between.  For this model, I just revolved a spline to create a single surface for the “net”.  I was trying to add bump maps to help create some illusion of thickness, but couldn’t cheat that effect.  Maybe others have had more success at this.  This mesh material works best on small speaker grills or parts in the distance where you visually don’t miss the thickness.

So based on your last entry, it appears you were able to create the material you wanted.  Could you post a rendering showing how it turned out for you?  

And finally, as for “I don’t want to create arguments” . . . then don’t say you don’t want to.  There are a lot of great contributors on here trying to share their techniques and guide improvements.

Sorry for the bizarre rendering.  I was trying to meet a few different goals with one throw, pun intended.  Hopefully these comments and the rendering are of some help.  Cheers! ;D
Title: Re: Net material?
Post by: solodesign on April 21, 2011, 07:28:37 AM
Hi Br3ttman,
I' m sorry but the workstation I saved my renderings in just crashed two fridays ago and probably it won' t be possible to rescue any data, so I won' t be able to post any image.
Anyway I did experiment the same problem you mentionend: rendering shows an empty gap between the faces and I was not able to fill it in any way.
Just, as it was a net, it was thin and working on distance and angle, the gap was masked.
Still I wasn' t able to give different materials to diffuse and transparency, so I had to merge them together in the same map and put it as transparency.

I know there are lot of good contributors in this forum, but, because it is an official forum for this program, I expect a bit more professionality.
A step by step explanation of what is needed to do to solve a problem is required if someone could not manage to solve it by him/herself.
I can' t read answer like "put a map there and the job' s done" because the job' s not done if it isn' t explained if a particular map is needed, how to create that particular map, which kind of material to use to reach aimed result, in which tab is needed to load that map and if there are any settings to take care of.
Even if answer seems simple to the writer, it is needed to make it simple even to the reader, and if the question is not clear is better ask more question to understand it than giving unuseful answers.

I have to say I never found a solution to my needs in this forum, by now, and I' m sad about that.

Marco
Title: Re: Net material?
Post by: rkulshrestha on April 21, 2011, 09:39:02 AM
Here is some Net matterial

Shivani
Title: Re: Net material?
Post by: rkulshrestha on April 21, 2011, 09:39:20 AM
Here is some Net material - Zip 2

Shivani
Title: Re: Net material?
Post by: rkulshrestha on April 21, 2011, 09:42:06 AM
oops
Title: Re: Net material?
Post by: solodesign on April 22, 2011, 03:07:15 AM
Thank you for your effort, Rkulshrestha, but how should I use them in Keyshot?

+
Title: Re: Net material?
Post by: rkulshrestha on April 22, 2011, 02:43:28 PM
Erk, hey I'm just a kid, but love KS. I know where to get the materials from so I posted them. But I also found a mesh material in KS itself. Here is a picture.
Title: Re: Net material?
Post by: rkulshrestha on April 22, 2011, 03:05:45 PM
And some more
Title: Re: Net material?
Post by: solodesign on April 26, 2011, 07:11:23 AM
Looks pretty what we were talking about.
I just don' t know how can I use the materials you posted with Keyshot.
Is Keyshot able to "read" them?
Is it needed to convert them?
If so, how is that possible?
Which is the process?
I' m using version 2.0.46, which version are you using?
Was that material already in the standard package?
Thank you for answering.

Marco
Title: Re: Net material?
Post by: rkulshrestha on April 26, 2011, 11:58:26 AM
You need to upgrade to 2.2.52 and I think you will get the mesh material with it. Or try and add the following bip to your materials group. Dont try to import  or open it in Ks cos it wont open directly. You should see a group called Mesh in materials and the n choose the mesh you want.
Title: Re: Net material?
Post by: solodesign on April 27, 2011, 12:07:02 AM
Ok!
Thank you.
I will try.

Marco
Title: Re: Net material?
Post by: solodesign on May 06, 2011, 08:56:04 AM
Tried on a friend' s upgraded KeyShot 2.2.65: mesh material isn' t there and general material trick with tiff + alpha channel doesn' t seem to work anymore.
Neither achieved to import your mesh.bip file.
Anyway, seems good enough just placing and repeat a tiff + alpha channel label over an X.Ray material.

Marco
Title: Re: Net material?
Post by: KeyShot on May 06, 2011, 09:06:46 AM
It should still work as before. Do you have an example bip that shows the issue? If you send it to support@luxion.com then we will take a look at it.

-- Henrik
Title: Re: Net material?
Post by: rkulshrestha on May 06, 2011, 09:53:01 AM
You cant import the mesh.bip.
Just download it and save it in the Keyshot>materials file, then it should show up in your materials dialog box.
Shivani
Title: Re: Net material?
Post by: solodesign on July 07, 2011, 08:25:33 AM
OK, here I am again.
Lately I couldn' t achieve to make any net/mesh material work, so I followed the Tvanryn tutorial in this topic:
http://keyshot.com/forum/index.php?topic=1349.msg4751#msg4751
to make a PNG file with transparent background.
As you will see in the image attached, I tryed to apply the same map as we did in the beginning of this topic (the result is what you see in foreground) and as a label (the result is in the background.
The map I used is in the zip file.
Basically looks like it works both ways, but I can' t understand why it gives me that mapping error in the foreground.

Does anybody know what is it due to?
Is there a way to manage that so to have a homogeneous mapping as if I load it as a label?

Marco
Title: Re: Net material?
Post by: solodesign on July 15, 2011, 02:32:51 AM
Any clue?

Marco
Title: Re: Net material?
Post by: guest84672 on July 15, 2011, 06:14:42 AM
Just responded to your other post.
Title: Re: Net material?
Post by: ququ on July 23, 2011, 03:37:19 AM
 I have downloaded the mesh material .when I add it ,it all right .But there is something wrong with it  ,when I use it in ks2.2.3.
The fist one is in ks2.2.3 the second one is in hypershot  Anyone can solve this problem
Title: Re: Net material?
Post by: guest84672 on July 24, 2011, 07:15:18 AM
Looks like you are missing the textures.
Title: Re: Net material?
Post by: ququ on July 24, 2011, 07:19:52 AM
I haven t use any textures. I just use the material called mesh. It is all right in hypershot ,but there is something wrong when I use it in ks2.2.3  just like the picture one
Title: Re: Net material?
Post by: solodesign on July 26, 2011, 07:15:53 AM
Did you try every solution we posted in this topic?
Did you check the texture modulate option when you assigned the map?
Did you use the general material?

Marco
Title: Re: Net material?
Post by: ququ on July 26, 2011, 07:34:51 AM
The other solutions are very useful  .I just want to ask that is the hypershot material still useful in keyshot 2.2.3?Is Keyshot able to "read" them?Is it needed to convert them?I found the type of material in ks is MTL.Thank you .
Title: Re: Net material?
Post by: solodesign on July 29, 2011, 01:26:48 AM
I don' t know anything about that, but should be some other topic about that.
Try searching in earlier discussions.

Marco