Lighting just the Avatar is it possible?

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Lighting just the Avatar is it possible?

Postby Tweek » Mon Dec 12, 2011 10:39 am

Pretty much covered in the title.

I added a sun to the environment I was working on so that the Avatar was lit and not just black but it makes everything too bright so it needs to go.

So I'm curious if there is a way to have a light source that only lights the Avatar.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Lighting just the Avatar is it possible?

Postby D'Lanor » Mon Dec 12, 2011 2:02 pm

Yes, that is possible. I assume you are still using Blender? PyPRP (1.6) automatically assigns all lights to every object in an age unless its material is set to Shadeless. There is an exception though: It only does this for objects which are in the same prp file as the light source. So what you could do is place the sun in a separate prp file.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Lighting just the Avatar is it possible?

Postby Tweek » Mon Dec 12, 2011 3:51 pm

I'm using Blender yes, I believe it is 1.6 of pyprp I am using too.

How would I go about moving it to a different .prp?
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Lighting just the Avatar is it possible?

Postby D'Lanor » Mon Dec 12, 2011 4:23 pm

In your Book text you add a new page:
Code: Select all
   pages:
      - index: 0
        name: mainRoom
      - index: 1
        name: someName

Then select your sun and under Logic (F4) add a new string property with the name page_num and value 1
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Lighting just the Avatar is it possible?

Postby Tweek » Mon Dec 12, 2011 4:58 pm

Will give it a go, thanks.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am


Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest