April 27 2024 02:27:30
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 3

· Members Online: 0

· Total Members: 1,129
· Newest Member: areen
Teamspeak 3
Last Seen Users
· GONZO16:13:28
· Intruder21:50:17
· areen 2 days
· The ACE 2 days
· Bonnfreddy 3 days
· hackepter 3 days
· Sully 5 days
· WEZ 5 days
· Homi 1 week
· Terminator 1 week
· Silent Bob 1 week
· Highl@nder 3 weeks
· Jardacz 3 weeks
· desintegrator 3 weeks
· gus 3 weeks

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
sonic
Hello,

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.

PteroMat
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
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
 
https://github.com/sonicpp
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Behaviour General Discussion 1 05-11-2011 10:16
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.23 seconds - 50 Queries 4,921,735 unique visits