Gamestudio Links
Zorro Links
Newest Posts
zorro license, IB connection
by AndrewAMD. 12/06/23 17:16
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
5 registered members (AndrewAMD, miwok, TipmyPip, 3run, 1 invisible), 631 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Transparent meshes, transparent texture (Deutsch/English) #259574
04/06/09 18:43
04/06/09 18:43
Joined: Apr 2009
Posts: 9
Germany
V
Velociraptors_B Offline OP
Newbie
Velociraptors_B  Offline OP
Newbie
V

Joined: Apr 2009
Posts: 9
Germany
Hi to all,

In have a question to MED / WED

Do you all know what Palmleaves look like? Thats the point. I want to make two plain surfaces, on wich I can apply a texture for the palmleaves. I thought it would be as easy as creating Sprites, but it wasn't. I tried to use black as the transparent color, but when I rendered the level the ugly black between the palmleaves was still there.

My question is: How can I apply a transparent color on the texture, so it will look like a real palmtree?

I wanted to use this, because it isn't possible to bend sprites (or is it?) and my palms should look authentic. I've seen it a lot in many games. In TES:Oblivion, nearly every plant is made like this. plain surfaces, where a texture is applied on, wich has a transparent color.

Thanks for your help


=============================================================
Deutsch:

Hi an alle

Ich hab ne frage zu MED / WED

Wisst ihr alle wie Palmwedel aussehen? Genauso sollen meine Palmen im Spiel auch aussehen. ICh habe schpon versucht dafür Sprites zu nehmen aber die lassen sich nciht biegen. Naja jedenfalls bin ich dann auf die Idee gekommen 2 flache Flächen zu erstellen, sie zu biegen und dort mit MED eine Palmwedel-Textur draufzumachen. Die Zwischenräume zwischen den Wedelblättern habe ich Schwarz gemacht (in der Hoffnung es würde Transparent. Als ich die Teile dann in WED eingebaut habe wurde das schwarze der Texxtur immernoch angezeigt. Und dazu waren auch nur immer die Flächen sichtbar die parallel zur Kamera standen.

Ich habe schon in mehreren Spielen gesehen das sowas mit gebogenen Meshes und tranparenter farbe machbar ist (Oblivion Thief 3)

Aber wie?

Danke für eure Hilfe

Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Velociraptors_B] #259575
04/06/09 18:46
04/06/09 18:46
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
use tga or ddswith transparency


3333333333
Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Quad] #259580
04/06/09 19:21
04/06/09 19:21
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
as above, also called alpha channel


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Transparent meshes, transparent texture (Deutsch/English) [Re: EvilSOB] #259658
04/07/09 04:45
04/07/09 04:45
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
If your using sprites, try setting the overlay flag.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Quad] #260072
04/08/09 19:31
04/08/09 19:31
Joined: Apr 2009
Posts: 9
Germany
V
Velociraptors_B Offline OP
Newbie
Velociraptors_B  Offline OP
Newbie
V

Joined: Apr 2009
Posts: 9
Germany
Hi again,

Thank you for your help, but where can I set AlphaChannel transparency and/or transparent color?

Is It in WED? Or in MED's Skin Editor?

Thank you again for your help :-)

Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Velociraptors_B] #260080
04/08/09 19:47
04/08/09 19:47
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
you do it your image program(Photoshop,gimp etc.)

in alpha channel of tga file, you paint alpha mask. it reads it itself.

Last edited by Quadraxas; 04/08/09 19:52.

3333333333
Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Quad] #269021
06/01/09 12:01
06/01/09 12:01
Joined: Apr 2009
Posts: 9
Germany
V
Velociraptors_B Offline OP
Newbie
Velociraptors_B  Offline OP
Newbie
V

Joined: Apr 2009
Posts: 9
Germany
English:

I finally managed to create an alpha channel. My Texture is now 1024x1024 and in PNG Format. WED and MED are Displaying the texture correctly. There is just one other thing thats annoying me.
If I apply the Texture on a Mesh, the alpha channel only works for the Top-Side. It seems, that the Mesh has no back or bottom-Side. It hard to describe that Problem in Words, so I have uploaded some Pictures:

Deutsch:

Ich habs endlich hinbekommen eine Textur mit einem Alpha Channel zu versehen. Sie hat das Format 1024x1024. Jetzt hab ich aber noch ein Problem das mir ziemlich auf die Nerven geht. MED und WED zeigen in der Engine die Textur korrekt an. Die Bereiche die Transparent sein sollen sind es auch, aber ich ahtte erwartet das man jetzt durch die transparenten bereihe, diereckt auf die Unterseite der Textur sehen könnte. Leider blockieren die transparenten Bereiche aber die Sicht und es sieht so aus als hätte das MEsch keien Rückseite mehr. Ist schwer zu beschreiben, deswegen hier ein paar Bilder:



I've applied the texture on a sphere, just to see how a bended Mesh will look like.
Ich hab die Textur auf eine Kugel gespannt um zu sehen wie sie gebogen aussieht.

When I selected "Engine Preview", everything looked fine
Als ich auf "Engine Vorschau" ging sah alles zunächst noral aus...



Then I twisted the Sphere, in expactation of seeing the bottom-Side of the fern...
Dann habe ich die Kugel gedreht, in der Erwartung die Unterseite der Farntextur zu sehen...



...but there was nothing.
...aber da war nichts.


I also tried "2 Sided Mapping", but it has no effect. And if I apply the Textur on a "Spline Mesh", it's the same.

Ich habs auch schon mit 2 Sided Mapping probiert, aber es bleibt wie es ist. Vorher habe ich versucht die Textur auf ein 2 Dimensionales Mesh zu legen, aber auch da passiert es.

Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Velociraptors_B] #269031
06/01/09 12:33
06/01/09 12:33
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
mach einfach ein quadrat und scaliere es sehr schmal. lege die textur dann auf beide seiten.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Transparent meshes, transparent texture (Deutsch/English) [Re: alibaba] #269032
06/01/09 12:39
06/01/09 12:39
Joined: Apr 2009
Posts: 9
Germany
V
Velociraptors_B Offline OP
Newbie
Velociraptors_B  Offline OP
Newbie
V

Joined: Apr 2009
Posts: 9
Germany
Wird das bei anderen Spielen auch so gemacht? Ich meine als ich Pflanzenmodelle von Morrowind, Oblivion oder auch Jurassic Park Trespasser geöffnet habe, sah das für mich immer nach Spline Mesh aus...aber okay ich versuchs mal, Danke dir :-)

Re: Transparent meshes, transparent texture (Deutsch/English) [Re: Velociraptors_B] #269042
06/01/09 13:11
06/01/09 13:11
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
That´s how 3d works.
Here are two possible solutions ("spline-like" but polygonal) :

http://www.opserver.de/ubb7/ubbthreads.p...true#Post255138


no science involved
Page 1 of 2 1 2

Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1