Quantcast

Jump to content

» «
Photo

[Wip|Test] VC Gfx

154 replies to this topic
DexX
  • DexX

    Black Hat

  • Feroci
  • Joined: 16 May 2002

#1

Posted 13 June 2007 - 01:26 PM

This mod will add "real reflections" and specular lighting to Vice City.

Download:
http://www.3dhole.co...iles/vc_gfx.rar

Instructions:
dump both .asi files, and the ini file into the same directory as your gta-vc.exe. I only tested this on an american 1.0 exe!
There are no keys to press to activate the mod, it should be active as soon as you enter the game.

the "real reflections" are basically what you see onscreen while playing, but without vehicles sprites or a hud, projected onto the model, and scaled down to a smaller image size. the idea isn't new, it was mentioned as a candidate for SA:PC, but rejected. it did find its way into the psp and ps2 versions of LCS and VCS though.
The specular lighting is accurate for every light in the scene, and respects each lights position, color, attenuation and direction.

Important note on specularity: This uses the specular level defined in the materials, of each model. If the materials on a model are too shiny, or not shiny enough, it is preferable to re-export the model, with the corrected material settings. Pedestrians are a good example of this. but like you, i don't want to fix and re-export 100+ pedestrian models tounge.gif
however if you DO want to fix a ped model so it's not shiny, you can do it, just set the specular value to 0.0 for each material you want to disable spec on.

Other known issues/bugs/etc are listed in the included readme.

Still to do:
-enable/disable switch for reflections
-user-definable reflection map size (currently locked @ 128*128)
-reflection multiplier (true chrome, ("high blending" for zmodeler users) is possible and looks sexy)
-trails option
-optional "sphere" mapping for vehicle reflections
-water stuff
-culling stuff
-???

Screenshots:

user posted image
"Self reflecting" issue i mentioned in the readme. note the grille of the escalade, reflecting on itself - doesn't look right.
user posted image
Spec on the gun looks good too.
user posted image
Spec reflecting nicely across the hood..
interested parties can find the escalade seen in these pics, here.

Q/A
Q:"Why is this in the vehicle showroom?"
A: Because most of the people who use this, will be using it to make their vehicles look better. But it will be moved to editing / Tools shortly after the initial post.

Q:"Why does your stuff look alot shinier / more reflective than mine?"
A: During development of this mod, i figured out how to stuff that isn't in this release, and will be added at a later time. increased reflections is one of those things, and my escalade was designed with that in mind.

Q:"Can you port this to SA?"
A: Not easily. Sa works very differently. It is also capable of more than VC, and i would like to take advantage of that if i can.

Q:"Can you port this to GTA3?"
A: I won't. Yes, the ideas and techniques this mod uses could probably be ported to gta3, but i have little to no interest in doing so.

Special thanks to Ak-73 and Modelingman for their help. this mod wouldn't exist without them.

Squiddy
  • Squiddy

    Back!

  • The Connection
  • Joined: 06 Oct 2004

#2

Posted 13 June 2007 - 01:38 PM

I was wondering if you guys where still challenging with it. Seems like you have won. Nice work, will try it out right now.

But there really should be a better way to disable specular lighting for peds.

iRloading
  • iRloading

    Kool Kid Krew

  • Feroci
  • Joined: 11 May 2004
  • None

#3

Posted 13 June 2007 - 02:29 PM

nice werk dexx~

somehow got me interested in wanting my crap in-game tounge2.gif

lol

user posted image

spec on peds seem to work well in cinematics~

VC peds actually look good/well-modeled imo

Ryder35
  • Ryder35

    sheisse

  • Members
  • Joined: 18 Mar 2006

#4

Posted 13 June 2007 - 02:40 PM

thank's for this mod let me install vc the game will be more realistic

QUOTE
Q:"Can you port this to SA?"
A: Not easily. Sa works very differently. It is also capable of more than VC, and i would like to take advantage of that if i can.

i hope you will port it !!!!

[CTD]LaBan
  • [CTD]LaBan

    Homie

  • Members
  • Joined: 11 May 2006

#5

Posted 13 June 2007 - 03:00 PM

but it think that anti-aliasing for VC would be great, too!

DexX
  • DexX

    Black Hat

  • Feroci
  • Joined: 16 May 2002

#6

Posted 13 June 2007 - 03:28 PM

ok, there's a updated version, me and modelingman have been poking at this morning, which should eliminate spec on the street pedestrians. it semi-works in cutscenes; they start out ok, but once the camera cut to a different view, spec is back. only in cutscenes though.

anyway, it's an improvement over before,

peds should now be as dull as ever!
download link is the same.

@ [CTD]LaBan - multisampling is low priority, since it can be forced through your video card drivers.

ceedj
  • ceedj

    PEDS Creator

  • Feroci
  • Joined: 21 May 2005
  • None

#7

Posted 13 June 2007 - 05:23 PM

Excellent job Dexx. Works with VC and LC, residing comfortably with VC and LC Studios. I saw NO performance hit using FRAPS to capture.

Awesome! smile.gif

AK-73
  • AK-73

    Hustler

  • Members
  • Joined: 31 Oct 2005

#8

Posted 13 June 2007 - 05:32 PM

Lol, you stole my name! wink.gif VC:Graphics. wink.gif

Kidding aside... does your .asi enable both setting of intensity of specular reflection (per R-G-B) *as well as* gloss level? If you'd care to remember - my VC:Specular used some system to specify gloss level *and* intensity of specular reflection with a single float. The way it did that required some familiarization but allowed fine grain detail upon export. smile.gif

If you make the stuff open source, then I might add my own enhancements in time. smile.gif

Alex

SteaVor
  • SteaVor

    Professional investor

  • Members
  • Joined: 17 Dec 2005
  • None

#9

Posted 13 June 2007 - 06:56 PM

Yep, it does work like a charm (but not at all on non-standard EXEs, but that's the least issue I think), but I'm in serious trouble because it gets more and more difficult to maintain the VC root dir tounge.gif . Thanks to AK-73 in particular there are many ASIs and accompanying config files cluttering up the dir*, but that's possibly a good thing because it means that there are many hardcoded aspects of VC freely modifiable now. So icon14.gif for you! Looks very good now.


*AND I'VE NOT EVEN DOWNLOADED SQUIDDY'S MP3CONTROL YET! turn.gif

Squiddy
  • Squiddy

    Back!

  • The Connection
  • Joined: 06 Oct 2004

#10

Posted 13 June 2007 - 07:09 PM

Excuse me for beeing a little bit offtopic now.

SteaVor, that's a good point you're mentioning. If more and more DLLs are developed, we might think about agreeing on some kind of standard? Maybe creating a directory called "plugins" or "config" and moving all config files there. So at least the config files are easy to find and all in once place.

Just a thought.

SteaVor
  • SteaVor

    Professional investor

  • Members
  • Joined: 17 Dec 2005
  • None

#11

Posted 13 June 2007 - 07:22 PM

I've been thinking about that for quite some time; XP displays 34 files in my VC root dir - most of them are LC-specific of course, but your MP3 mod would be the 6th non-LC-ASI in there, so it's maybe no urgent matter, but since all the ASI makers are here there could as well be an agreement about a shared subdir used for the configs.

[DRuG]NikT
  • [DRuG]NikT

    DRuG Baron

  • Members
  • Joined: 27 Jan 2004

#12

Posted 13 June 2007 - 10:29 PM

This is an awesome addition dexx... thanks heaps - mods like these breath a little more life into a game that deserves it.

iRloading
  • iRloading

    Kool Kid Krew

  • Feroci
  • Joined: 11 May 2004
  • None

#13

Posted 14 June 2007 - 02:22 AM

I like a slight sheen to the peds, so I just lowered the multiplier a bit tounge2.gif

makes em look more... dynamic?

dertyjerzian
  • dertyjerzian

    I have a custom member title. I call it "Solid Snake"

  • BUSTED!
  • Joined: 08 Jun 2005

#14

Posted 14 June 2007 - 03:27 AM

Made it to a release <3 I'm so proud cookie.gif

Your escalade looks fIcking vIcious with it!

AK-73
  • AK-73

    Hustler

  • Members
  • Joined: 31 Oct 2005

#15

Posted 14 June 2007 - 11:45 AM Edited by AK-73, 14 June 2007 - 11:48 AM.

QUOTE (SteaVor @ Jun 13 2007, 19:22)
I've been thinking about that for quite some time; XP displays 34 files in my VC root dir  - most of them are LC-specific of course, but your MP3 mod would be the 6th non-LC-ASI in there, so it's maybe no urgent matter, but since all the ASI makers are here there could as well be an agreement about a shared subdir used for the configs.


It's an idea I have had quite some time ago already - being the main source of all the clutter myself. I had been thinking of the folder name "custom content". All that is necessary in the VC dir is an .asi that scans through all the folders within "custom content" - that enables developers to bunlde their mods in an appropriate way.

But I have been too busy with other stuff to create that one. Sounds like a fitting job for someone with decent c++ or whatever skills to have shot at creating a simple .dll. smile.gif

Alex

PS Dexx, I think there *is* a way to introduce specular lighting (+normals) to all desired models without re-export but via coding and a .cfg file.


Monitor57
  • Monitor57

    LC - II Designer

  • Members
  • Joined: 31 Aug 2002

#16

Posted 14 June 2007 - 10:41 PM

Awesome mod man, only 1 problem. instead of being able to see realtime reflections, all the cars with reflection display some weird sort of funny discoulered refmap which never changes or moves...

- M57

Ben
  • Ben

    Retired

  • Members
  • Joined: 12 May 2005

#17

Posted 14 June 2007 - 11:58 PM

QUOTE (AK-73 @ Jun 14 2007, 21:45)
QUOTE (SteaVor @ Jun 13 2007, 19:22)
I've been thinking about that for quite some time; XP displays 34 files in my VC root dir  - most of them are LC-specific of course, but your MP3 mod would be the 6th non-LC-ASI in there, so it's maybe no urgent matter, but since all the ASI makers are here there could as well be an agreement about a shared subdir used for the configs.


It's an idea I have had quite some time ago already - being the main source of all the clutter myself. I had been thinking of the folder name "custom content". All that is necessary in the VC dir is an .asi that scans through all the folders within "custom content" - that enables developers to bunlde their mods in an appropriate way.

But I have been too busy with other stuff to create that one. Sounds like a fitting job for someone with decent c++ or whatever skills to have shot at creating a simple .dll. smile.gif

Alex

PS Dexx, I think there *is* a way to introduce specular lighting (+normals) to all desired models without re-export but via coding and a .cfg file.

I agree as well. It'd certainly be more "user-friendly" for people who are less experienced in the world of modding, and it makes logical sense. Not that I could program anything that would make it work, but I hope someone out there can.

smile.gif

@DexX - looks great, I'll be sure to check this out when my uni holidays start next Wednesday. icon14.gif

GamerShotgun
  • GamerShotgun

    The main protagonist.

  • Members
  • Joined: 03 Oct 2005

#18

Posted 15 June 2007 - 07:38 AM

Got the same problem az Monitor57...

Plus there isn't any reflection on peds :S

[CTD]LaBan
  • [CTD]LaBan

    Homie

  • Members
  • Joined: 11 May 2006

#19

Posted 15 June 2007 - 03:56 PM

QUOTE (Monitor57 @ Jun 15 2007, 00:41)
Awesome mod man, only 1 problem. instead of being able to see realtime reflections, all the cars with reflection display some weird sort of funny discoulered refmap which never changes or moves...

- M57

/me has same problem

is it possible to add blur effect to VC like THAT
It have been done with San Andreas...

iRloading
  • iRloading

    Kool Kid Krew

  • Feroci
  • Joined: 11 May 2004
  • None

#20

Posted 15 June 2007 - 04:11 PM

seems to work fine on mine

user posted image

notice the faggio tounge.gif

reflections are like specmaps I bet, like if they're stretched or something across a polygon etc. they'd look funky

MoeRonimoe
  • MoeRonimoe

    I write the songs that make the young girls cry

  • Members
  • Joined: 18 Nov 2004

#21

Posted 15 June 2007 - 05:14 PM Edited by MoeRonimoe, 15 June 2007 - 05:20 PM.

QUOTE ([CTD)
LaBan,Jun 15 2007, 16:56]
QUOTE (Monitor57 @ Jun 15 2007, 00:41)
Awesome mod man, only 1 problem. instead of being able to see realtime reflections, all the cars with reflection display some weird sort of funny discoulered refmap which never changes or moves...

- M57

/me has same problem

is it possible to add blur effect to VC like THAT
It have been done with San Andreas...

Same problem here biggrin.gif
Is it my sh*ty graphic-card? =0

btw. the water looks like a bottle full of awesomeness happy.gif
I want those real time reflections too cry.gif

pictures:
http://i11.tinypic.com/681gpok.jpg
http://i8.tinypic.com/4vq1h8n.jpg

jp245
  • jp245

    Retired Modder

  • Members
  • Joined: 02 Jul 2006

#22

Posted 15 June 2007 - 05:37 PM

all i see is a spec map which never moves like monitor

DexX
  • DexX

    Black Hat

  • Feroci
  • Joined: 16 May 2002

#23

Posted 16 June 2007 - 02:56 AM

Ok, for those of you having problems, there's a couple things:
-your having trouble with the "reflection map" - "specular maps" are something else entirely, and this mod doesn't use them. The specularity you see is calculated per vertex, and no textures are involved. not trying to nitpick, but we're all going to get confused if we start using incorrect terminology. your issues are with the reflection map.
Your video card should not make any difference, since i'm only using functions that are already in the game. since i'm re-using code that shipped with the executable, you should not see any new errors. More than likely, there is a difference between the exe you are using (by "you" i mean everyone with the reflection problem) and the one i tested this mod against. As i mentioned in the first post, i was only able to test it against an american 1.0 exe. if you know this is not the exe you have, please tell me which one you are using.

@ Squiddy/Steavor/Ak - i'm ok on standardizing a certain plugin folder, and that's probably the name of the folder i would cast my vote for; "plugins". short, simple, and intuitive.

@Ak - the specular power is set in the ini. i had planned on somehow tying it in with the weather (along with some other attributes) so the effect would be dynamic, and actually change over time. That, i would be willing to help code an external config file for, but i would still like to keep the material specular multipliers, and the specular power, as separate floats.

@ ir and masterk - i'll probably add a spec multiplier for peds, since they do look a little more dynamic with it. then people who don't want it, can simply turn it off, and you can set it to whatever you want. best of both worlds.

QUOTE
is it possible to add blur effect to VC like THAT
It have been done with San Andreas...

maybe, but it would take some work (besides turning on trails and putting on full AA). part of the reason it looks like that, is because R* is notorious for touching up their screenshots outside of the game engine.

@ everyone else - thank you for the feedback!

[CTD]LaBan
  • [CTD]LaBan

    Homie

  • Members
  • Joined: 11 May 2006

#24

Posted 16 June 2007 - 08:18 AM

original american exe or nocd exe? I prefer using american nocd 1.0

GamerShotgun
  • GamerShotgun

    The main protagonist.

  • Members
  • Joined: 03 Oct 2005

#25

Posted 16 June 2007 - 09:07 AM

Well, i'm using an american 1.0 nocd exe.. same as my friend.. But at me it isn't working, the funny thing is that, it's working at my friends vc confused.gif

Soo... I havn't got any other mods installed (hence my fresh install of vice city).
I've tried changing some settings in catalyst, nothing happens..

EDIT: Could it be a directX version problem?

LCSurvivor
  • LCSurvivor

    X

  • Members
  • Joined: 24 Jan 2006

#26

Posted 16 June 2007 - 07:58 PM

I've tested your mod, your screens look great, but it doesn't work. Not in my LC-modified Vice, or in my clean Vice City folder, both tested with the original uk .exe version, and the No-CD .exe. I'm thinking, since most people who have posted with problems haven't got the US version, the problem might be the different .exe's.

Would be great if you got it to work for the other versions too smile.gif

SteaVor
  • SteaVor

    Professional investor

  • Members
  • Joined: 17 Dec 2005
  • None

#27

Posted 16 June 2007 - 08:08 PM

This would be no problem at all (via Hammer83's vcversion.dll), but if MasterK is right, then it won't help.

LCSurvivor
  • LCSurvivor

    X

  • Members
  • Joined: 24 Jan 2006

#28

Posted 16 June 2007 - 08:29 PM Edited by LCSurvivor, 16 June 2007 - 08:58 PM.

Ah yeah, the vcversion.dll allready was in the LC folder, and I just tried it with the .dll in the VC folder, still nothing. I don't know where I can see what version of directX I have installed, but I thought it was the latest version. I can't think of anything else that could cause the problem, I'll see if I can find a directX update.

Hope that solves it.

EDIT: I've updated my drivers, and checked my DirectX, and that's also up to date now. It still doesn't work. Pity.

Any more ideas?

SteaVor
  • SteaVor

    Professional investor

  • Members
  • Joined: 17 Dec 2005
  • None

#29

Posted 16 June 2007 - 09:11 PM

tounge.gif , DexX would have to update his ASI(s) to make use of the vcversion module. It doesn't help to put the DLL into the folder and expect it to work all of a sudden.

LCSurvivor
  • LCSurvivor

    X

  • Members
  • Joined: 24 Jan 2006

#30

Posted 16 June 2007 - 09:42 PM

Oh, I'm sorry, I'm kinda new at this, I kinda expected it to work miraculously smile.gif

I'll wait then, untill DexX updates his mod. Thanks for the help Steavor smile.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users