Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 56,188 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
simple bumpmapping #289379
09/12/09 13:20
09/12/09 13:20
Joined: Apr 2009
Posts: 138
Germany
T
Toryno Offline OP
Member
Toryno  Offline OP
Member
T

Joined: Apr 2009
Posts: 138
Germany
I want to use the bump.fx from the code folder of gamestudio. I have commercial edition and the code below. But when I change any of the values, diffuse, specular, ambient or emissive, I don't see any different. I don't see any bumpmapping, too. The model still looks like without shader. The model in med has a normal map as skin2 created with the normalmap generator v1.3 which can be found in the downloadpage from this website.
Please tell me what can I do?

Code:
MATERIAL* skin_firewheel=
{
	diffuse_red = 255;
	diffuse_green = 255;
	diffuse_blue = 255;
	
	ambient_red = 255;
	ambient_green = 255;
	ambient_blue = 255;
	
	specular_red = 200;
	specular_green = 200;
	specular_blue = 200;
	
	emissive_red = 0;
	emissive_green = 0;
	emissive_blue = 0;
	
	power = 5;
	
	effect = "bump.fx";
}

action firewheel() {
	...
	my.material = skin_firewheel;
	...
}

function main () {
	...
	vec_set(sun_color, vector(160,160,160));
	sun_angle.pan = 60;
	sun_angle.tilt = 90;
	sun_light = 100;
	...
}




Thanks for reading, thinking, answering wink
Re: simple bumpmapping [Re: Toryno] #289838
09/15/09 20:12
09/15/09 20:12
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Did you assign the the action firewheel to the model?


Always learn from history, to be sure you make the same mistakes again...
Re: simple bumpmapping [Re: Uhrwerk] #290110
09/17/09 12:49
09/17/09 12:49
Joined: Apr 2009
Posts: 138
Germany
T
Toryno Offline OP
Member
Toryno  Offline OP
Member
T

Joined: Apr 2009
Posts: 138
Germany
Yes, sure. ^^


Thanks for reading, thinking, answering wink

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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