Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Suggestion Box (http://www.alice.org/community/forumdisplay.php?f=26)
-   -   Other maps (http://www.alice.org/community/showthread.php?t=6857)

Mr Kidnapper 06-30-2011 10:23 PM

Other maps
 
For the leap to quality, I suggest the addition of [I]the rest[/I] of the material maps, such as Specular Maps and Bump/Normal Maps (most important ones), and Reflection/Refraction maps instead of having only the Diffuse map (which is the good 'ol tex map you're all used to), and Opacity Map, which is just about useless.
I don't expect you to understand a damn thing that was in that first paragraph, so a subtle explanation made for teens. I can make one so children can also easily understand it if you like:

Diffuse Maps - What we have now. They color your models at the most basic level. It's ideal to use solid colors here, no alpha (transparency.)

Opacity Maps - We also have this, it's quite unknown, but it is used as "Super Transparency." You have a bit more control over this than standard transparency, which covers the whole model. It is a monochrome image made to simulate transparency. Using this instead of giving the diffuse map transparency will keep it from conflicting with the other maps.

Specular Color Maps - In Alice, this is called Specular Highlight Color. It works much the same, however like the Opacity Map, it gives you advanced control. It is multicolored, the same as Diffuse. This is good because it can help simulate many materials (Materials meaning metal, cloth, plastic) than we can with Diffuse and Specular alone.

Specular (Level) Maps - This is the most important addition. Using all kinds of funky colors, it decides which part of a material will shine the most, and which wont. [URL="http://i54.tinypic.com/whb3wx.png"]Here's an example[/URL]. See that giant thing in the middle? It isn't a polygonal monster, it's extremely tiny (2407 polys) model that looks extremely detailed because of its specular level map. Hell, it tricked me for a while. Doesn't seem to work as much outside of CryEngine, however that might just be Max.

Glossiness/Roughness - This determines how much a material will blur the specular maps. It's not used often, but a better explanation would be like gradients—the lower the glossiness, the more the light will fade away from the center.

Reflection Maps - Reflection is light bounced back exactly in the same direction it came from. This is used for mirrors, heavily tinted car windows, and other such things.

Refraction Maps - Refraction is when light is bounced... in any direction except the same direction. This is also important. This is what causes things to blur through the material, the same way you look through a magnifying glass and everything except the precise middle is blurred. With this, you can make believable scopes, and just about anything that can bounce light and isn't perfectly straight.

Displacement Maps - This is an unnecessary, high level thing. Basically, it's a geometry trick (That pretty much requires DirectX 11) that makes something, despite being low poly, look much more detailed and realistic by [I]cutting up the polys into tiny pieces[/I] (this is called Tessellation) and displacing them (Moving them around) according to the map, which is monochrome. It's a very cost efficient method that saves space by making a low poly object more detailed as you come near, instead of replacing the whole object with an existing high poly object that will take up space. Crysis 2's Direct-X 11 add-on does a great job at illustrating this, making low poly buildings appear as real as their real-life counterparts.

Now: Why do we need this? Simple answer: Poor quality is a turn-off. Children are used to seeing the great things adults make, and want to do that too. Seeing Alice and its default objects for the first time, I was also turned off, but it was already a class, so too late. Now I'm brute forcing quality into Alice by making and editing all kinds of wunderbar objects. Alice doesn't quite have this option. Now, it seems unnecessary bloatware and potentially requiring a revamp or replacement of the current 3d engine, but the need of the option is still a compelling reason. If the children can't even make use of it, so be it. That's why the rest of the Seldom Used Properties are where they are. Even so, we older peoples can use it. We have people converting from professional works that have any number of these maps, and even people creating their own work from scratch that could potentially use these maps, but aren't inclined to due to the lack of support for it.

arty-fishL 07-01-2011 07:11 AM

1 Attachment(s)
Some of these exist, they just don't work, that's why the dev team took them out.
[ATTACH]5114[/ATTACH]

There's also an ambient light colour variable for each object that they took out, don't know why, it works fine and is quite useful.

Mr Kidnapper 07-02-2011 01:19 PM

How do I turn these on :|

arty-fishL 07-02-2011 05:12 PM

Try this
 
2 Attachment(s)
[QUOTE=Mr Kidnapper;38349]How do I turn these on :|[/QUOTE]If you really want to try to make them work then try this:

(I hope it works)

Open this directory (relative to your Alice install location):
[I]Alice 2.2\Required\resources\[/I]

Now do one of the following:
- Open [I]Alice Style.py[/I] in a text editor.
- If you already have a custom style for Alice, open its file in a text editor.
- If you dont want to risk messing up Alice, copy and paste [I]Alice Style.py[/I], give it a relevant name and open it in a text editor.

If you use a different file you will need to remember to change your style in Alice:
[ATTACH]5125[/ATTACH]

Search (using the find function) for the following line:
[CODE]"edu.cmu.cs.stage3.alice.core.Model.opacity" : "opacity",[/CODE]Make a new line below that and paste in this code:
[CODE] "edu.cmu.cs.stage3.alice.core.Model.emissiveColorMap" : "emissiveColorMap",
"edu.cmu.cs.stage3.alice.core.Model.specularHighlightColorMap" : "specularHighlightColorMap",
"edu.cmu.cs.stage3.alice.core.Model.bumpMap" : "bumpMap",
"edu.cmu.cs.stage3.alice.core.Model.detailMap" : "detailMap",
"edu.cmu.cs.stage3.alice.core.Model.interactionMap" : "interactionMap",
"edu.cmu.cs.stage3.alice.core.Model.ambientColor" : "ambientColor",[/CODE]Now here's the bit I hope works, but might not. Open this directory:
[I]Alice 2.2\Required\resources\common[/I]

Copy and paste the file named [I]StandardResources.py[/I] so you have a backup of it.

Download this file, [ATTACH]5128[/ATTACH] (its not a zip file, rename it so it has a [I].py[/I] extension, I just changed its extension so I could upload it), and overwrite [I]StandardResources.py[/I] with it.

Open Alice, change the style if necessary and restart Alice, and hopefully they will be there.

Mr Kidnapper 07-02-2011 09:56 PM

Whooo.

TauTrumpsPi 07-03-2011 07:31 AM

Wow, how do you find this stuff out?

arty-fishL 07-03-2011 07:35 AM

[QUOTE=Mr Kidnapper;38385]Whooo.[/QUOTE]Did it work?

[QUOTE=TauTrumpsPi;38388]Wow, how do you find this stuff out?[/QUOTE]Lots of research and messing about over lots of time.

Mr Kidnapper 07-03-2011 09:18 PM

Yeah, it works but they don't do anything. Shame.


All times are GMT -5. The time now is 10:09 AM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.