Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, AndrewAMD, 1 invisible), 703 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Importing SED-Light-Effect to MED? #333569
07/17/10 09:02
07/17/10 09:02
Joined: Jul 2010
Posts: 127
Germany, Herford
Ditje Offline OP
Member
Ditje  Offline OP
Member

Joined: Jul 2010
Posts: 127
Germany, Herford
Hi all,

I am still working on my levels and models. First level is done. But I am not really satisfied, how models look when they got lighted in SED.

Because it`s comic style, I only need the "Material Setup" for the skin editor in MED. But it looks totally different from what I see in my level.

Until now, I
- changed skin settings
- saved mdl
- run SED
- build game
- take a preview
- not satisfied
- back to MED
- the 4 MED windows show the content of the SED and I can`t do anything
- close MED
- restart MED
- open MED, load mdl
- start again from above

That`s VERY uncomfortable laugh Is there a possibility to load lights from level and take a preview in MED?

Cheers

Ditje

Re: Importing SED-Light-Effect to MED? [Re: Ditje] #333571
07/17/10 09:25
07/17/10 09:25
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
Well it seems you found a very complicated way to do something very simple! laugh

When you want cartoon style, you wont achieve anything with material settings in MED. MED materials only have simple settings like transparency and so.

Just use the cartoon shader that comes with Gamestudio. You can edit this shader in real time with the shader viewer. You can also edit it while your game runs when you copy the shader in your work folder and use the AUTORELOAD material flag.

Re: Importing SED-Light-Effect to MED? [Re: Ditje] #333574
07/17/10 09:37
07/17/10 09:37
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi,

disable material settings in MED, set up a material in your code, asign it to your model in WED and change its values in SED as you want.

Code:
MATERIAL* mtl_mymaterial =
{
  ambient_blue = 100;
  ambient_green = 255;
  ambient_red = 100;
  diffuse_blue = 0;
  diffuse_green = 100;
  diffuse_red = 0;
  specular_blue = 255;
  specular_green = 255;
  specular_red = 255;
  power = 10;
}



Quote:
- the 4 MED windows show the content of the SED and I can`t do anything


mouse right button on any window -> Refresh Views

hope it helps you.
Salud!

Re: Importing SED-Light-Effect to MED? [Re: txesmi] #333579
07/17/10 10:39
07/17/10 10:39
Joined: Jul 2010
Posts: 127
Germany, Herford
Ditje Offline OP
Member
Ditje  Offline OP
Member

Joined: Jul 2010
Posts: 127
Germany, Herford
Hi - thx for fast help - and yes I did a lot of things in a complicated way during the last weeks. But it helped to learn more about all the editors. My first model took several days. The last one I created, took about 3 hours laugh Both nearly equal work.

Since the models are done, I just startet with my first own lite-C scripting besides the tutorials laugh

So the code came just in time.

Cheers

Ditje


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