IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the GTA IV Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

> [3DSMax] Radiosity Advanced Lighting., Basic radiosity Learnings.
 
ParoXum  
Posted: Apr 7 2007, 14:40
Quote Post


Proud PC Gamer
Group Icon
Group: Members
Joined: Jul 28, 2005

Member Award




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/

This post has been edited by ParoXum on Jul 11 2008, 11:51
Users WebsitePM
  Top
 

 
aad  
Posted: Apr 8 2007, 09:24
Quote Post


3d artist
Group Icon
Group: Members
Joined: Mar 15, 2004

nl.gif

Member Award




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
PMYahoo
  Top
 

 
Blackadder.  
Posted: Apr 8 2007, 10:01
Quote Post


Luck. Runs. Out.
Group Icon
Group: Andolini Mafia Family
Joined: Jun 19, 2005

au.gif

XXXXX



Very good tutorial, well marked out and easy to follow

Great Job icon14.gif
Users WebsitePMMSNXbox Live
  Top
 

 
-/TNT\-  
Posted: Apr 8 2007, 10:04
Quote Post


not like any other rainbow.
Group Icon
Group: Members
Joined: Aug 6, 2006

XXXXX



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?
Users WebsitePM
  Top
 

 
ParoXum  
Posted: Apr 8 2007, 10:18
Quote Post


Proud PC Gamer
Group Icon
Group: Members
Joined: Jul 28, 2005

Member Award




1. On my comp 2 : minutes. (3.2GHz Core 2 Duo)
2. Ingame or in max ?
Users WebsitePM
  Top
 

 
Jost_Vice  
Posted: Apr 8 2007, 14:10
Quote Post


realtime, not prerendered
Group Icon
Group: Members
Joined: Oct 30, 2005

es.gif

Member Award




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
Users WebsitePMMSNPlayStation Network
  Top
 

 
uni  
Posted: Apr 8 2007, 14:14
Quote Post



Group Icon
Group: Zaibatsu
Joined: May 14, 2004

Member Award




Awesome tutorial, thanks for sharing ParoXum. icon14.gif
Users WebsitePMMSN
  Top
 

 
commando  
Posted: Apr 8 2007, 21:14
Quote Post


Gta-NY Leader
Group Icon
Group: Members
Joined: Nov 18, 2003

pg.gif

XXXXX



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.
Users WebsitePMMSN
  Top
 

 
ParoXum  
Posted: Apr 8 2007, 21:35
Quote Post


Proud PC Gamer
Group Icon
Group: Members
Joined: Jul 28, 2005

Member Award




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

 
mickarrow  
Posted: Apr 9 2007, 09:15
Quote Post


---
Group Icon
Group: Members
Joined: Feb 4, 2004

be.gif

Member Award




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....
PM
  Top
 

 
raresh_r  
Posted: Apr 9 2007, 23:48
Quote Post


raresh_r
Group Icon
Group: Members
Joined: Sep 26, 2006

ro.gif

XXXXX



very good ..i'll try it.
what if i want to make a dark place on a map ? a dark corner ... moto_whistle.gif
Users WebsitePMMSNYahoo
  Top
 

 
ParoXum  
Posted: Apr 10 2007, 00:01
Quote Post


Proud PC Gamer
Group Icon
Group: Members
Joined: Jul 28, 2005

Member Award




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

 
Blaster_nl  
Posted: Apr 21 2007, 13:52
Quote Post


GTA: Mafia Stories
Group Icon
Group: Members
Joined: Oct 16, 2005

nl.gif

XXXXX



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.
Users WebsitePMMSN
  Top
 

 
ParoXum  
Posted: Apr 21 2007, 23:25
Quote Post


Proud PC Gamer
Group Icon
Group: Members
Joined: Jul 28, 2005

Member Award




= 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.
Users WebsitePM
  Top
 

 
abaad  
Posted: Jul 17 2007, 23:41
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2006

XXXXX



great tanks.... biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
PM
  Top
 

 
abaad  
Posted: Jul 24 2007, 00:54
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2006

XXXXX



QUOTE (abaad @ Jul 17 2007, 23:41)
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.gif dozingoff.gif dozingoff.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.gif whatsthat.gif

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

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

really I want to thanks inlove.gif
PM
  Top
 

 
dertyjerzian  
Posted: Jul 24 2007, 01:11
Quote Post


I have a custom member title. I call it "Solid Snake"
Group Icon
Group: BUSTED!
Joined: Jun 8, 2005

us.gif

XXXXX



QUOTE (abaad @ Jul 23 2007, 19:54)
QUOTE (abaad @ Jul 17 2007, 23:41)
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.gif dozingoff.gif dozingoff.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.gif whatsthat.gif

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

any way....I'm so so so sorry blush.gif blush.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.
PMMSNAOL
  Top
 

 
katherine04  
Posted: May 20 2009, 17:24
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 20, 2009

XXXXX



this is an interesting discussion.. thank you for sharing smile.gif
simulation rachat de credit
PM
  Top
 

 
meow44  
Posted: May 30 2009, 19:29
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 30, 2009

XXXXX



great post. thanks for sharing cool.gif

simulation assurance vie

This post has been edited by meow44 on May 30 2009, 19:34
PM
  Top
 

 
Surigangsta  
Posted: Jul 7 2009, 21:20
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 27, 2007

XXXXX



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.gif dozingoff.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
PM
  Top
 

 
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages: (2) [1] 2  Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG
     

 
     
Message Boards and Forums Directory