Custom Material Making
30 posts • Page 1 of 2 • 1, 2
Custom Material Making
Things needed:
Algodoo/Algodoo Phun Edition
A text editor
A seamless texture
Texture Finding
Decide on what material you are going to make. For this tutorial, I will make a 'stone' material.
You need to have a SEAMLESS texture, which basically means it can go over and over again without the object looking weird. You can just Google for one.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step2.png)
Once you have a good texture, drop it in the textures folder(My Documents -> Algodoo -> Textures). Don't forget to name it properly.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step5.png)
Making the material's properties
Here is the more important bit. You need to know what properties your material is going to have. The basic properties are density, friction, restitution, and refractive index. You can also add drawborders, airfrictionmult etc. These can be found in the script menu in Algodoo.
Open up the materials folder in Algodoo(Local Drive[C,D, etc.] -> Program Files -> Algodoo -> materials).
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step9.png)
Open up your regular text editor(notepad is enough), and type in the properties of your material. This part should be self explanatory.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step10.png)
(Woops, don't forget to add a color property, [1,1,1,1] for white when you want to use just the texture's colors)
After that, save it as a .CFG file.
Making the display picture of your material
The display picture is the one that shows up in the Material menu in Algodoo.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step12.png)
You have 2 options. Either you just copy your texture and paste it in the materials folder(it has to be of the same name as your cfg file), or you make a custom picture.
I obviously chose the 1st option, as this is much easier. I will not make custom picture option part of this tutorial(since it' pretty much the same anyway).
Testing it out
Open Algodoo/Algodoo Phun Edition. Make any object and test out your custom material.
Happy Material Making!
Algodoo/Algodoo Phun Edition
A text editor
A seamless texture
Texture Finding
Decide on what material you are going to make. For this tutorial, I will make a 'stone' material.
You need to have a SEAMLESS texture, which basically means it can go over and over again without the object looking weird. You can just Google for one.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step2.png)
Once you have a good texture, drop it in the textures folder(My Documents -> Algodoo -> Textures). Don't forget to name it properly.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step5.png)
Making the material's properties
Here is the more important bit. You need to know what properties your material is going to have. The basic properties are density, friction, restitution, and refractive index. You can also add drawborders, airfrictionmult etc. These can be found in the script menu in Algodoo.
Open up the materials folder in Algodoo(Local Drive[C,D, etc.] -> Program Files -> Algodoo -> materials).
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step9.png)
Open up your regular text editor(notepad is enough), and type in the properties of your material. This part should be self explanatory.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step10.png)
(Woops, don't forget to add a color property, [1,1,1,1] for white when you want to use just the texture's colors)
After that, save it as a .CFG file.
Making the display picture of your material
The display picture is the one that shows up in the Material menu in Algodoo.
![Image](http://i350.photobucket.com/albums/q427/RicH0864/Material%20Tut/Step12.png)
You have 2 options. Either you just copy your texture and paste it in the materials folder(it has to be of the same name as your cfg file), or you make a custom picture.
I obviously chose the 1st option, as this is much easier. I will not make custom picture option part of this tutorial(since it' pretty much the same anyway).
Testing it out
Open Algodoo/Algodoo Phun Edition. Make any object and test out your custom material.
Happy Material Making!
Last edited by RicH on Sun Sep 13, 2009 1:49 pm, edited 1 time in total.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
AWESOMELY good tutorial.
Grat work richie
![Clapping :clap:](./images/smilies/icon_clap.gif)
Grat work richie
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
Hey, if you want me to make a sig for you, just PM me.
TOTALLY FREE SERVICE!!
I can make gameplay sigs too!
My site (please enter)
TOTALLY FREE SERVICE!!
I can make gameplay sigs too!
My site (please enter)
-
Jallaboy - Posts: 30
- Joined: Tue Sep 01, 2009 5:01 pm
Re: Custom Material Making
Thanks! I'm planning on making a big material pack because of this ![Razz :P](./images/smilies/icon_razz.gif)
![Razz :P](./images/smilies/icon_razz.gif)
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
Can't you only have like 6 or 9 materials other wise the rest don't show and just hide below the material window.
-
Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: Custom Material Making
Mystery wrote:Can't you only have like 6 or 9 materials other wise the rest don't show and just hide below the material window.
Nope, it still shows. But you wouldn't want to use long names as the textures stretch.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
I actually discovered this long before the tutorial was made. I made Air, Superball, and purpleness of doom. Unfortunately, It causes lag when you put your mouse over the material menu.
Last edited by woowoo678 on Sun Jan 02, 2011 3:55 am, edited 1 time in total.
-
woowoo678 - Posts: 156
- Joined: Mon Nov 30, 2009 8:14 pm
- Location: Mimiga Village
Re: Custom Material Making
I made brick, and an alien material with odd properties.
-
Sonic - Posts: 1467
- Joined: Tue Sep 01, 2009 6:18 pm
- Location: America!!!
Re: Custom Material Making
I did everything you said, but it wont work! GGGGGGGRRRRRRrrrrrrrrr
I am uploading a youtube video that shows everything I did. please watch it and tell me whats wrong. I'll give you the link to the vid after it is done uploading.
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
I am uploading a youtube video that shows everything I did. please watch it and tell me whats wrong. I'll give you the link to the vid after it is done uploading.
- crytek
- Posts: 355
- Joined: Mon Aug 31, 2009 9:55 pm
Re: Custom Material Making
the upload won't work... so I'll just show you what I did right here.
in the text document, I put this:
friction = 1.0;
restitution = 0.2;
density = 4.0;
refractiveIndex = 0.1;
texture = "stone";
color = [color(0), color(1), color(2), 1];
and I named it "stone" (without quotes).
I used the following picture and also named it "stone" (without quotes).
I put both the picture and the text document in the materials folder of algodoo. but I tested it, and it wont work! do you know whats wrong?
PS: I don't know how to save things as a CFG file. that might be the problem. if it is, please tell me how to save it as a CFG file.
in the text document, I put this:
friction = 1.0;
restitution = 0.2;
density = 4.0;
refractiveIndex = 0.1;
texture = "stone";
color = [color(0), color(1), color(2), 1];
and I named it "stone" (without quotes).
I used the following picture and also named it "stone" (without quotes).
I put both the picture and the text document in the materials folder of algodoo. but I tested it, and it wont work! do you know whats wrong?
PS: I don't know how to save things as a CFG file. that might be the problem. if it is, please tell me how to save it as a CFG file.
- crytek
- Posts: 355
- Joined: Mon Aug 31, 2009 9:55 pm
Re: Custom Material Making
PS: I don't know how to save things as a CFG file. that might be the problem. if it is, please tell me how to save it as a CFG file.
i would just save it as a .txt then rename it a .CFG
I put both the picture and the text document in the materials folder of algodoo. but I tested it, and it wont work! do you know whats wrong?
umm you also need to put the pic in the textures folder
and yes you do need a cfg file.
(and the color needs to be [1,1,1,1] fyi )
-
simey j dude - Posts: 61
- Joined: Sat Sep 05, 2009 3:11 am
- Location: under your bed!
Re: Custom Material Making
crytek wrote:color = [color(0), color(1), color(2), 1];
Seems like you didn't follow the tutorial :\
You can save it as a .cfg file by simply replacing the extension '.txt' to '.cfg' when saving it. Make sure to change the 'Save as type' to 'All Files'.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
I can't figure it out
can you just make a youtube video showing how to do it Rich?
![Problem :problem:](./images/smilies/icon_problem.gif)
- crytek
- Posts: 355
- Joined: Mon Aug 31, 2009 9:55 pm
Re: Custom Material Making
Nope. That's as simple as it can get.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
In the material folder, theres a text document that tells you how to do it. Read it! It's not that hard!
-
Sonic - Posts: 1467
- Joined: Tue Sep 01, 2009 6:18 pm
- Location: America!!!
Re: Custom Material Making
Sonic wrote:In the material folder, theres a text document that tells you how to do it. Read it! It's not that hard!
no there's not...
- crytek
- Posts: 355
- Joined: Mon Aug 31, 2009 9:55 pm
Re: Custom Material Making
![Image](http://209.197.42.122/phunnewmaterial1.bmp)
![Image](http://209.197.42.122/phunnewmaterial2.bmp)
![Image](http://209.197.42.122/phunnewmaterial3.bmp)
**/\ /\
>( ' ; ' )<***<---------- cat
*((")("))
i'm right-side-up
uʍop-ǝpısdn ɯ,ı
http://www.sherv.net/flip.html
>( ' ; ' )<***<---------- cat
*((")("))
i'm right-side-up
uʍop-ǝpısdn ɯ,ı
http://www.sherv.net/flip.html
-
algadoodle123 - Posts: 66
- Joined: Tue Sep 08, 2009 6:04 pm
Re: Custom Material Making
or u could just save that image and use it as a texture wich would be much simpler lol ![Laughing :lol:](./images/smilies/icon_lol.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
I personally prefer phun than algodoo.
-
qwerty57 - Posts: 23
- Joined: Sun Jan 10, 2010 9:40 pm
Re: Custom Material Making
qwerty57 wrote:or u could just save that image and use it as a texture wich would be much simpler lol
Textures don't come with material properties.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
RicH wrote:qwerty57 wrote:or u could just save that image and use it as a texture wich would be much simpler lol
Textures don't come with material properties.
edit the properties lol
![Laughing :lol:](./images/smilies/icon_lol.gif)
I personally prefer phun than algodoo.
-
qwerty57 - Posts: 23
- Joined: Sun Jan 10, 2010 9:40 pm
Re: Custom Material Making
qwerty57 wrote:RicH wrote:qwerty57 wrote:or u could just save that image and use it as a texture wich would be much simpler lol
Textures don't come with material properties.
edit the properties lol
Quite frankly, I'm amazed at how stubborn he looks after all these years. I stand by my statement that he might be some sort of village idiot. -7/2/16
Last edited by RicH on Fri Jul 01, 2016 8:40 pm, edited 2 times in total.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Custom Material Making
qwerty57 wrote:RicH wrote:qwerty57 wrote:or u could just save that image and use it as a texture wich would be much simpler lol
Textures don't come with material properties.
edit the properties lol
you act completely ludicrous. materials have the advantage so that you have premade material settings and a texture for it without having to adjust everything. it makes it a lot easier and faster.
![Image](http://img706.imageshack.us/img706/8905/karatebrotbanner2q.png)
-
KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Custom Material Making
Great tutorial, helped me a lot!
![Image](http://s3.amazonaws.com/picable/2010/01/06/1583398_darth-nihilus-forum-sig_400.jpg)
I don't suffer from insanity. I enjoy every minute of it.
-
Rrobba - [Best Sig 2010]
- Posts: 1480
- Joined: Mon Aug 31, 2009 6:01 pm
- Location: Gibraltar
Re: Custom Material Making
Textures don't come with material properties.[/quote]
edit the properties lol
[/quote]
you act completely ludicrous. materials have the advantage so that you have premade material settings and a texture for it without having to adjust everything. it makes it a lot easier and faster.[/quote]
you two need to take a chill pill, Im just joking around LOL![Laughing :lol:](./images/smilies/icon_lol.gif)
edit the properties lol
![Laughing :lol:](./images/smilies/icon_lol.gif)
you act completely ludicrous. materials have the advantage so that you have premade material settings and a texture for it without having to adjust everything. it makes it a lot easier and faster.[/quote]
you two need to take a chill pill, Im just joking around LOL
![Laughing :lol:](./images/smilies/icon_lol.gif)
-
qwerty57 - Posts: 23
- Joined: Sun Jan 10, 2010 9:40 pm
Re: Custom Material Making
Topic was dead 1.5 years ago..
Post dates are there for a reason!
Post dates are there for a reason!
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
30 posts • Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 2 guests