Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,032 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

ParoXum

[3DSMax] Radiosity Advanced Lighting.

Recommended Posts

ParoXum

How to render Vertex Colors using a Radiosity Solution.

 

First, what's Radiosity ?

 

It's basically the best way to light things, for rendars, and for prelit models, just like GTA uses. Radiosity is a very powerful calculating process, that can simulate real life lighting. With particle effects, expositions, exposure controls, volumetric lights, fog light simulation and reflect-refract uv each others.

 

Vertex Colors, What you need to know (read carefuly) :

 

When rendering a vertex color system to a mesh, you need at least two parameters to be filled.

 

- First is the quality of the scene lights. Lights needs to be alway 3/4 view from the model for exteriors, and need to use soft shadows parameters (shadow map). The exterior light is never white. Always use a small ammount of yellow-grey to it.

 

For interior lights needs to be diffrent, you need to work with renders before starting to apply the vertex colors. You'll have to play with intensity, far attenuation, and advanced raytraced shadows. Note, when using more than 8 lights, max will not show the further added lights in the viewports. Only in the renders. For interiors, use a white-blue neon color, and an intensity of 1.0 for light sources that generate shadows.

 

Hint : If you placed all your lights correctly, but the scene is way too dark, please don't increase the intensity of them. Just add another small fill light with grey color, and 0.1-0.2 intensity.

 

- The other parameter needed for a good quality vertex color is the amount of polygons on the surfaces receiving projected shadows. Let me explain, since the colors are applied on vertex ticks, the more the vertex number is high, the more shadows and lighting changes will be noticeable. A good way to increase the resolution of a mesh without crushing it is Tesselate. Use it with tension to 0. It will divide your polies into 4, increasing this way the vertex used on your mesh. VERY Important.

 

The tutorial :

 

- Start 3Dsmax 8 or 9, whatever SP you have.

- Create your scene, if you already have one, merge it into the scene we're gonna set.

- Look at the picture :

 

- Go in the Render panel, Advanced Lighting window :

- Set all the parameters like on the pic !!! Very Important.

user posted image

 

 

 

 

user posted image

 

- You see the scene in viewport is still the same, normal. Place your lights, as explained before, at right place. Not on the neons, but a bit under. We're not in real life, omnis needs to be placed differently.

 

 

user posted image

 

- Now that everything is tweaked as we want,

1. Press "Reset", to reset an old solution, in case you're rendering for a second time.

2. Press "Start", and then wait till the process is finished. It's gonna take alot of time on low end computers, and it'll also depend on the solution quality. For our example, 88% is a good ratio time/quality.

 

- Also the refine iterations are very important to get the best result. Wait till the refine iteration are done. Go get a cup of coffee, hot coffee.

 

=> When it's finished, follow this pic instructions :

 

user posted image

1. Click "Setup" to set the Exposure Control Setting. For the moment, nothing is set yet.

2. Set the same automatic parameters as me.

Hint : You can tweak the ambient color, Color background and Tint of the lighting to get the right athmosphere settings you want. Each time you change one, press "Render Preview".

 

Hint : You can tweak Brightness and contrast aswell, but be careful with these value, because it's not really seen in the viewport, but after you applied vertex colors to the mesh. !!!

 

3. Press "Render Preview", Now you see the Radiosity Solution in the viewports. That's what we're gonna export with Kams Scripts, but before, follow these steps :

 

user posted image

 

- Select the model that will receive the vertex paint, go in the tool panel, pop up the the "Assign Vertex Colors" panel (seen in basic tutorials).

 

- Set the SAME parameters as me, again. Make SURE you have checked "Radiosity, Reuse Illum From Solution" in the Options.

 

- Click "Assign to Selected" Wait till the computer has finished to take all the radiosity solution to vertex paint.

 

 

- You can now see exactly what's the result by toggleling the "VertexPaint" panel to the same state as in the pic below :

 

user posted image

 

=> Last Step :

 

Use the same exporting values :

 

user posted image

 

Here we are, now you handle the best lighting process. If you fail with this tutorial, you canstill use paint magic method, but that's far far from a radiosity quality.

 

 

user posted image

ParoXum. catspider.gif

http://www.gostownparadise.com/

Edited by ParoXum

Share this post


Link to post
Share on other sites
aad

Wow thats really handy when it comes to adding NVC to dark hall ways etc, or adding some light to some ally's great tutorial Parox even i can figure this one out with to much hasle.

 

Thanx added it to my favorites now.

 

Aad. cool.gif

Share this post


Link to post
Share on other sites
Blackadder.

Very good tutorial, well marked out and easy to follow

 

Great Job icon14.gif

Share this post


Link to post
Share on other sites
-/TNT\-

The height of excellence, thanks ParoXum! smile.gif

 

And some questions:

 

1. How long does it take to render a scene like that one?

 

2. How do you make those reflections on the floor?

Share this post


Link to post
Share on other sites
ParoXum

1. On my comp 2 : minutes. (3.2GHz Core 2 Duo)

2. Ingame or in max ?

Share this post


Link to post
Share on other sites
JostVice

Nice tutorial, mate. You re the boss in these zones. Thank you smile.gif

 

TNT, they are done via Cullzones, jump into maps editing forum and in the documentation topic

Share this post


Link to post
Share on other sites
uNi

Awesome tutorial, thanks for sharing ParoXum. icon14.gif

Share this post


Link to post
Share on other sites
commando

This is what I been waiting for, thanks for sharing you expertise. I have a few questions tho...

 

For prelightning exterior maps you just have to configure a skylight map and follow the radiosity options on this tutorial or do i have to input different settings for it.

Share this post


Link to post
Share on other sites
ParoXum

For exteriors it's the same. But a skylight willl take more time than an omni. Prefer omni, even for exteriors.

Share this post


Link to post
Share on other sites
mickarrow

Yay, an easy to follow tutorial on fancy lighting biggrin.gif Thanks for sharing this ParoX. I'm gonna try this asap on some interiors....

Share this post


Link to post
Share on other sites
raresh_r

very good ..i'll try it.

what if i want to make a dark place on a map ? a dark corner ... moto_whistle.gif

Share this post


Link to post
Share on other sites
ParoXum

Just use far attenuation. Or create an omni with negative intensity (will generate black light)

Share this post


Link to post
Share on other sites
Jestic

I don't understand it, I try almost everything but always radiosity looks like sh*t,

 

This is my scene before i started the radiosity (this is somwthing what i want that it is)

It's with 3 onmi's (all 3 with a yellow-grey intensity and shadows on)

 

user posted image

 

This is it after the radiosity solution:

 

user posted image

 

And this is it when everything is done besides making the dff:

 

user posted image

 

Also ingame it looks like the last render.

Share this post


Link to post
Share on other sites
ParoXum

= First your mesh is too LP.

 

= Second, you need to define refine iteration higher than 1 (30 set in the tut)

 

= Third, set the exposure control to auto, and if it's to bright, delete omnis. Only one omni is needed to cast shadows. Both others are useless except if it's fill light.

 

Share this post


Link to post
Share on other sites
abaad

great tanks.... biggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gifbiggrin.gif

Share this post


Link to post
Share on other sites
abaad

 

great tanks.... biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif

I dont know what rong that I had done... dozingoff.gifdozingoff.gifdozingoff.gif

 

but Im so sorry for bad post that I made .... which I don't know it ... dozingoff.gif

 

but may be this is the esp ling problem

 

because I'm not English one .... whatsthat.gifwhatsthat.gif

 

great tanks ===>> i want to say ===>>great thanks

 

any way....I'm so so so sorry blush.gifblush.gif

 

really I want to thanks inlove.gif

 

Share this post


Link to post
Share on other sites
dertyjerzian
great tanks.... biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif

I dont know what rong that I had done... dozingoff.gifdozingoff.gifdozingoff.gif

 

but Im so sorry for bad post that I made .... which I don't know it ... dozingoff.gif

 

but may be this is the esp ling problem

 

because I'm not English one .... whatsthat.gifwhatsthat.gif

 

great tanks ===>> i want to say ===>>great thanks

 

any way....I'm so so so sorry blush.gifblush.gif

 

really I want to thanks inlove.gif

I just HAVE to comment on this.

 

This is the prime definition of posts that use many smilies, but have every

right reason for doing it. abaab has used the emoticons to convey his

feelings, as he is unsure of how well he is communicating his thoughts,

though he knows he must be close. The emoticon brings clarity.

 

Keep at it dude. Are you using firefox? CTRL+T a new tab and use

Google Translate to help to get your words together, you will

learn quite fast smile.gif

 

Even if it does not give you word for word what you will post, it will certainly

help you out in many aspects.

 

Just so you know, Great Tanks is easily discernible and you can be lax.

I feel bad for some of the post you are forced to read in English because

of the many worse and more confusing typographical errors tounge.gif

 

Keep it up dude, see ya out there.

Share this post


Link to post
Share on other sites
Surigangsta

Nice tutorial, Only problem is I dont know excatly how i must put my omni light settings to get good results, It Works but it looks very ugly confused.gifdozingoff.gif . Soo could U Rather Make A video tutorial so ill be able to see the way u set ure omni light settings

 

Greetz Me:) colgate.gif

Share this post


Link to post
Share on other sites
supermortalhuman

Are your omni lights perhaps just too intense?

Share this post


Link to post
Share on other sites
JostVice

There are no magic settings for lights... it depends of the environment and the scene, you may use different color and falloff for different stuff (a garage isn't lighted the same way as a nightclub, no?)

 

All you can do is test and test, smile.gif I won't play with any other value than the intensity, color and shadow color at start

Share this post


Link to post
Share on other sites
kal-el5676

ok, so after playing with this for about 15 hours i get the same result every time. Be it omni's, sky light. whichever, it always, always, always does this:

 

user posted image

The shadows are completely uncontrollable.

 

Tessellate causes my poly's to go from 20,000 to 100,000 and makes the model invisible in game, so i canned that. moving the lights, playing with settings, nothing makes any difference. very frustrating and time consuming.

Share this post


Link to post
Share on other sites
hristobg
ParoXum, how did you made the reflections on the floor? Did you copy whole model and paste it up-side-down? wow.gif Please, reply smile.gif

Share this post


Link to post
Share on other sites
kal-el5676
ParoXum, how did you made the reflections on the floor? Did you copy whole model and paste it up-side-down? wow.gif Please, reply smile.gif

Cull zones.

 

 

 

So over the years I have gotten pretty good at this and it's kinda fun. One question though. Around door and window frames for example it's VERY dark. The shadowed parts are SUPER dark while the lit parts are SUPER white. Is there any way to balance it a bit better or make the lighting not so "hard"?

Share this post


Link to post
Share on other sites
cyrilaeshell

I wanted to know that whether we have to select only the object or also the omni's for the export?

 

p.s. the object shows in map editor but crashes the game

Edited by cyrilaeshell

Share this post


Link to post
Share on other sites
McArthur

Hello!

 

Is there any way to assign separate radiocity instances to vertex color and night vertex color?

Share this post


Link to post
Share on other sites
6Four9

Have this Post is on ?

i want ask one question :\ , how can you make reflection at floor ? , please tell me any one help me please :)

i like that improved :)

 

test2.png

Share this post


Link to post
Share on other sites
ТheCrazyGamer

Dudes, how make effect like in this pic ? (I am talking about floor)

Gostownv2_186.jpg

Share this post


Link to post
Share on other sites
MMK_033
Thanks a lot, great tutorial, eveything is simple and clear.
But I wonder, is it possible to make an obstacle-dependent omni light (ie. light with shadows)? I mean that in my example the light isn't supposed to spread through the roof of the porch.

ea79d5fa9d53.jpg

 

Edited by MMK_033

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.