August 18 2022 17:33:51
· Home
· Articles
· Downloads
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Users Online
· Guests Online: 5

· Members Online: 0

· Total Members: 1,096
· Newest Member: gus
Teamspeak 3
Last Seen Users
· Homi00:58:34
· logan03:56:14
· Intruder15:00:18
· jackthejelly17:55:49
· Lerner22:35:20
· VictorMyson 1 day
· GONZO 1 day
· gus 1 day
· WEZ 1 day
· Klaustet 2 days
· papaschlange 3 days
· Melber 1 week
· Sully 1 week
· Johnaltz 1 week
· martyr 1 week

View Thread: Rendering behaviour of materials
Vietcong.Info » Vietcong General Discussion » Maps & Mapping
Who is here? 1 Guest
Current Rating: (Total: 0 ratings)  
 Print Thread
Rendering behaviour of materials

as you probably know, I am working on BES plugin for Blender. I am dealing with materials settings at the moment. There are two types of materials used by official 3DS max plugin: PteroMat and Standard.

This material support collisions and other (currently) unimportant stuff for my plugin. The important stuff is type of transparency and used textures/maps. There is good post about transparency by apfelbaum, so I will not talk about it now (in Blender I do not distinguish between transparency types at the moment - I will fix it later, I just care if it is transparent or not).
What is important for me is what is the difference between PteroMat maps and how PteroEngine II handles them. I want to make plugin to show these maps same way as PteroEngine II does, so you can see the final result during modeling. For this I need to know how these textures are being rendered by the engine, i.e. what kind of blending is used (Blender has similar blending modes like GIMP, see this page). Here is some info what I found out so far and I will be glad for any corrections or additional informations (I marked text where I am unsure/need help by red color):

1) Diffuse #1 - Ground
-first layer, can has alpha channel
-blending mode: Mix (just render it on object, as is)

2) Diffuse #2 - Multitexture
-usually black and white, no alpha channel
-blending mode: Overlay or Multiply (not sure which one., it is very similar..maybe this black and white is just alpha channel?)

3) Diffuse #3 - Overlay
-same as Ground - just render it over layers below (has alpha channel)
-blending mode: Mix

4) Environment #1
-I did not find any BES object of version 0100 which uses this map

5) LightMap
-typical lightmap, used to render pre-calculated shadows (it will darkens parts of objects where is shadow)
-blending mode: Multiply

6) Environment #2
-same as Environment #1...what is the difference?

7) LightMap (Engine Lights)
-used as transition between textures
-blending mode: Mix (what is the difference between this and Diffuse #3 - Overlay?)

Standard doesnt have transparency option...does it mean that transparency is enabled or disabled for Standard materials? It looks like most of the Standard textures are the same as textures in PteroMat:
1) Diffuse Color
-same as Diffuse #1 - Ground
2) Displacement
-same as Diffuse #2 - Multitexture
3) Filter Color
-same as Diffuse #3 - Overlay
4) Reflection
-usually placed on windows or handmap, rendering is affected by angle between camera and actual object, probably...
-probably same as Environment #1

I did not find any object using any of these maps: Bump, Ambient Color, Specular Color, Specular Level, Glossiness, Self-Illumination, Refraction... how are they rendered by PteroEngine II?

Thanks for any tips VC
Edited by sonic on 16-11-2018 15:34
SignatureAnyone who run, is a VC. Anyone who stand still, is a well disciplined VC.
-Door Gunner´╗┐
  x 1  x 1  x 3
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Behaviour General Discussion 1 05-11-2011 10:16


Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.06 seconds - 48 Queries 4,000,788 unique visits