ehem. OMSI - Forum
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.
ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  Neueste BilderNeueste Bilder  SuchenSuchen  AnmeldenAnmelden  LoginLogin  

 

 Creating glass effect

Nach unten 
+2
Ventyres
FRENZYMAX_RUS
6 verfasser
AutorNachricht
FRENZYMAX_RUS

FRENZYMAX_RUS


Anzahl der Beiträge : 118
Anmeldedatum : 03.04.11
Ort : Somewhere in the Bearland...

Creating glass effect Empty
BeitragThema: Creating glass effect   Creating glass effect Icon_minitimeMo 4 Apr - 19:18

G'day all !
I have a small question - what tags and tags values need write, to create effect of glass surface ? I tried to use this one, but it's not working.. confused
Code:
[matl]
fenster.tga
0

[matl_envmap]
envmap.bmp
1

[matl_transmap]
fenster.tga

[matl_alpha]
2
Nach oben Nach unten
Ventyres

Ventyres


Anzahl der Beiträge : 217
Anmeldedatum : 19.03.11
Alter : 36
Ort : Viersen

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMo 4 Apr - 20:03

in the fenster tga you gonna make a grey color (color of the glass).. in its alpha you definy the reflection (white = full reflect, black = no reflect)
in the transmap.tga you definy the transparentness... have a look of existing transmap tga files...
Nach oben Nach unten
http://trucksimsforum.de
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann


Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 40
Ort : Potsdam-West, Berlin-Mariendorf

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMo 4 Apr - 20:46

In general, the following should do:

Code:
[matl]
Fenster.tga
0
 
[matl_envmap]
envmap.bmp
1.0
 
[matl_alpha]
2

[alphascale]
Envir_Brightness
Nach oben Nach unten
cbruun

cbruun


Anzahl der Beiträge : 132
Anmeldedatum : 06.02.11
Alter : 33
Ort : Denmark

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeDi 5 Apr - 9:03

Does this mean I can do so the windows are the same on SD77 as they are on D92?
Nach oben Nach unten
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann


Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 40
Ort : Potsdam-West, Berlin-Mariendorf

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeDi 5 Apr - 9:29

No...and why would you want to do that? Wink

This is just a material definition. The mesh that's used is defined above the materials (of course you can change the mesh but putting the D92 windows into the SD77 is a bit...pointless Wink)
Nach oben Nach unten
FRENZYMAX_RUS

FRENZYMAX_RUS


Anzahl der Beiträge : 118
Anmeldedatum : 03.04.11
Ort : Somewhere in the Bearland...

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeDi 5 Apr - 10:29

Thanks for answers, i'll try that cheers
BTW, i have question about official SDK - how soon it will be released ? Rolling Eyes We really need it...
Nach oben Nach unten
Marcel Kuhnt
Admin
Marcel Kuhnt


Anzahl der Beiträge : 3364
Anmeldedatum : 26.04.09
Alter : 39
Ort : Berlin-Spandau

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeDi 5 Apr - 12:39

Yes, I know - but we need our university degree! Wink Just be patient, we will make it! Wink
Nach oben Nach unten
FRENZYMAX_RUS

FRENZYMAX_RUS


Anzahl der Beiträge : 118
Anmeldedatum : 03.04.11
Ort : Somewhere in the Bearland...

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeDi 5 Apr - 13:30

Okay, thnx for another answer Very Happy
Nach oben Nach unten
Lexan




Anzahl der Beiträge : 3
Anmeldedatum : 20.03.11

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMi 6 Apr - 12:51

Well, if you do not mind I have another question on the settings windows.
How to realize the effect of rain / mud
On the windshield - the trace of the janitors - a separate item?

As I understand it - for each state is separate from
Unique names for her? what settings need in a blender or СFG file?
I would like more or less detailed analysis of setting materials

Code:
Fenster von innen

[mesh]
D86\D86_Fenster_int.o3d

[viewpoint]
3

-----------------------------
[matl]
D86-87_03.bmp
0

[matl_transmap]
D86_trans.tga

[matl_alpha]
2

[matl_noZwrite]
-----------------------------
[matl]
Fenster_braun_int.tga
0

[matl_noZwrite]
 
[matl_envmap]
envmap.bmp
0.15
 
[matl_alpha]
2

-----------------------------
[matl]
regen.tga
0

[matl_alpha]
2

[alphascale]
Rain_Window_Norm_Wetness

[matl_noZwrite]
-----------------------------
[matl]
regen.tga
1

[matl_alpha]
2

[alphascale]
Rain_Window_Front_Wetness

[matl_noZwrite]
-----------------------------
[matl]
regen.tga
2

[matl_alpha]
2

[alphascale]
Rain_Window_Wiped_Wetness

[matl_noZwrite]
-----------------------------
[matl]
D_dreck.tga
0

[alphascale]
Dirt_Norm

[matl_alpha]
2

[matl_noZwrite]
-----------------------------
[matl]
D_dreck.tga
1

[alphascale]
Dirt_Wiped

[matl_alpha]
2

[matl_noZwrite]
Nach oben Nach unten
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann


Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 40
Ort : Potsdam-West, Berlin-Mariendorf

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMi 6 Apr - 14:26

The rain and mud effects need another separate object layer in Blender. How to do so will be part of the vehicle SDK (and it's about four pages of explanation, so I'll have to ask you to be patient until the SDK is released).
Nach oben Nach unten
FRENZYMAX_RUS

FRENZYMAX_RUS


Anzahl der Beiträge : 118
Anmeldedatum : 03.04.11
Ort : Somewhere in the Bearland...

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMi 6 Apr - 14:53

Umm, if understood right, effect of rainy surface creating on copy of glass mesh, placed near to main glass mesh. You need to create copy of "main" glass, map it by texture regen.tga and write this tags for material. There are two different tags for front glass and for other glass.
This tags for front glass:

Code:
[matl]
regen.tga
1

[matl_alpha]
2

[alphascale]
Rain_Window_Front_Wetness

[matl_noZwrite]

And this for other glass:

Code:
[matl]
regen.tga
0

[matl_alpha]
2

[alphascale]
Rain_Window_Norm_Wetness

[matl_noZwrite]

About wipers...BTW correctly writes "wipers" not "janitors"... Principles of working wipers is same - create another mesh for surface, clearing by wipers and texture it by regen.tga. Add to this surface this tags:
Code:
[matl]
regen.tga
2

[matl_alpha]
2

[alphascale]
Rain_Window_Wiped_Wetness

[matl_noZwrite]

Correct me if i tell something wrong...


Zuletzt von FRENZYMAX_RUS am Do 7 Apr - 17:27 bearbeitet; insgesamt 1-mal bearbeitet
Nach oben Nach unten
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann


Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 40
Ort : Potsdam-West, Berlin-Mariendorf

Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitimeMi 6 Apr - 15:37

Yes, that is the basic principle. In Blender, you'll need several objects on top of each other (sharing exactly the same coordinates), each one serving glass/dirt/rain/paintjob.
Nach oben Nach unten
Gesponserte Inhalte





Creating glass effect Empty
BeitragThema: Re: Creating glass effect   Creating glass effect Icon_minitime

Nach oben Nach unten
 
Creating glass effect
Nach oben 
Seite 1 von 1
 Ähnliche Themen
-
» Creating AI cars?
» Creating a new map?
» When creating a bus
» Creating a timetable?
» Creating a new map from Scratch

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
ehem. OMSI - Forum :: OMSI-Design (english) :: Vehicle construction-
Gehe zu: