[ Midtown Madness 2 Central ] [ Midtown Madness 2 Central ]

Midtown Madness 2 Central > The Bodyshop > Vehicle reflections
Goto page Previous  1, 2
View previous topic | View next topic
Author
Message Post new topicReply to topic
anasbinqamar
MM2C Regular

Joined: 07 Nov 2008
Posts: 158


Status: Offline


Post subject: Reply with quote

Maxoff wrote:
If you want to know, first I found emissive in PKG specification when I was working on MM2CT, but there wasn't any explanation what it did. Next I realized that it has always the same value in custom cars. After that I checked ZModeler exporter and found that it always sets the same value 0.5f (in bytes 0,0,0,63). Finally I checked DoubleDecker and LTV (cars which don't have reflections).

Modyfing pkg exporter was quite easy (I spent much more time trying to compile it in VS.NET), I've added only two lines. I've changes:
Code:
Material.power = 0.5f;

to:
Code:
if (d3d->Materials.Materials[pCurMat->value].MatParams.AlphaTreat==0)
  Material.power = 0.0f;
else
  Material.power = 0.5f;


That's all Smile

thats all for u, i didn't get a thing from it : Rolling Eyes
_________________
Post 08 Aug 2011 03:21 pm
View user's profile Send private message Send e-mail
Busdude666
MM2C Maniac

Joined: 11 May 2010
Posts: 486
Location: Manchester, United Kingdom

Status: Offline


Post subject: Reply with quote

This thread is nearly 6 years old. Neutral *sigh*
Post 13 Aug 2011 04:32 pm
View user's profile Send private message
carking1996
MM2C Too Much

Joined: 12 Aug 2009
Posts: 608
Location: United States

Status: Offline


Post subject: Reply with quote

Busdude666 wrote:
This thread is nearly 6 years old. Neutral *sigh*

Still provides some useful information. Wink
_________________
Post 29 Jan 2012 07:05 pm
View user's profile Send private message Send e-mail MSN Messenger
CarLuver69
Uhh, hi.

Joined: 17 Mar 2007
Posts: 29
Location: Covina, CA

Status: Offline


Xbox Live Gamertag:
xxD0CT0R D00Mxx
Post subject: Reply with quote

carking1996 wrote:
Busdude666 wrote:
This thread is nearly 6 years old. Neutral *sigh*

Still provides some useful information. Wink


Why are you bumping old topics, carking? These last couple posts are from AUGUST!
_________________
How do I love thee, MM2? Let me count the add-ons...
Post 04 Feb 2012 04:48 am
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
wannagoodcar1
MM2C Regular

Joined: 17 Nov 2010
Posts: 169


Status: Offline


Post subject: Reply with quote

Either increase post count or doesnt want this forum to die? :S
Post 04 Feb 2012 06:07 am
View user's profile Send private message
Display posts from previous: Post new topicReply to topic

Page 2 of 2 All times are GMT
Goto page Previous  1, 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Home - MM2C.com - Contact - Staff & Seniors - FAQ - Community Rules - Syndication


Powered by phpBB © 2001, 2005 phpBB Group