Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Quad, M_D), 1,217 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[paid] Tree code with alpha-support and bump-mapping #382677
09/11/11 07:57
09/11/11 07:57
Joined: Jan 2002
Posts: 454
Germany
CD_saber Offline OP
Senior Member
CD_saber  Offline OP
Senior Member

Joined: Jan 2002
Posts: 454
Germany
Hello,

I got stucked in game progress, because of the lack of a propper shader for my tree models.

What I have are tree models with:

  • Skin one = Leaves texture with alphachannel
  • Skin 2 = trunk texture (color)
  • Skin 3 = bump map for the trunk


So I need a code that combines an alpha-sorting shader or material (for the leaves) with bump mapping for the trunk.
(I would send you a test model)

Please post a message in this post, I will answer you via pm.
I would pay up to 15 € for a working code.

Thanks in advance,
CD_SABER

Last edited by CD_saber; 09/11/11 07:58.

Ja, lach du nur du haariges Pelzvieh!
Re: [paid] Tree code with alpha-support and bump-mapping [Re: CD_saber] #382683
09/11/11 10:38
09/11/11 10:38
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
just use:
Code:
ent_mtlset(me, mtl_animTree, 1);
ent_mtlset(me, mtl_specBump, 2);




3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: [paid] Tree code with alpha-support and bump-mapping [Re: painkiller] #382687
09/11/11 11:58
09/11/11 11:58
Joined: Jan 2002
Posts: 454
Germany
CD_saber Offline OP
Senior Member
CD_saber  Offline OP
Senior Member

Joined: Jan 2002
Posts: 454
Germany
Hello painkiller,

please take a look at this:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=381413#Post381413

the leaves are flickering when I do it this way


Ja, lach du nur du haariges Pelzvieh!
Re: [paid] Tree code with alpha-support and bump-mapping [Re: CD_saber] #382695
09/11/11 13:13
09/11/11 13:13
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
I´ll do it for 15€ if you send me a model to test it with and tell me what the two shaders are supposed to do exactly. I won´t write you new shaders, but should be able to solve the flickering problem and could adjust some existing shaders to your needs.

Re: [paid] Tree code with alpha-support and bump-mapping [Re: CD_saber] #382702
09/11/11 14:31
09/11/11 14:31
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
Originally Posted By: CD_saber
Hello painkiller,

please take a look at this:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=381413#Post381413

the leaves are flickering when I do it this way


try to set OVERLAY flag


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: [paid] Tree code with alpha-support and bump-mapping [Re: painkiller] #382703
09/11/11 14:39
09/11/11 14:39
Joined: Jan 2002
Posts: 454
Germany
CD_saber Offline OP
Senior Member
CD_saber  Offline OP
Senior Member

Joined: Jan 2002
Posts: 454
Germany
That did it!!!!
Thank you very much painkiller! Moreover I think, you are a real "painkiller" :-)

Best wishes,
CD_SABER


Ja, lach du nur du haariges Pelzvieh!
Re: [paid] Tree code with alpha-support and bump-mapping [Re: CD_saber] #382705
09/11/11 15:10
09/11/11 15:10
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
you are welcome wink


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: [paid] Tree code with alpha-support and bump-mapping [Re: painkiller] #382711
09/11/11 18:54
09/11/11 18:54
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline
Serious User
Liamissimo  Offline
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
I would've done it for 5€ tongue


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011

Moderated by  checkbutton, Inestical, Perro 

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