Lightmapping for actors

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
Gamespider
Posts: 51
Joined: Fri Jul 08, 2005 1:31 pm
Location: India

Lightmapping for actors

Post by Gamespider » Fri Jul 29, 2005 11:22 am

Well.. How can I? Basically i want it because I want to use the actor LOD system and dont want to sacrifice the lighting either.....
Is there any workaround?

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams » Sun Jul 31, 2005 9:07 pm

what does the actor LOD system have to do with lightmaps? actors don't have lightmaps at all... :?:

Gamespider
Posts: 51
Joined: Fri Jul 08, 2005 1:31 pm
Location: India

Post by Gamespider » Tue Aug 02, 2005 5:57 pm

I want to have staticmeshes instead of level geometry to make use of the LOD system. But since they use per vertex lighting, the lighting appears too blocky.

GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 » Tue Aug 02, 2005 10:36 pm

lightmapping is simply per-vertex lighting. when you lower the lightmap scale you increase the number of polygons rendered in the scene. you can do the same thing by simply sub-dividing your static meshes (not recomended).
Check out my band
Tougher Than Fort Knox
Image

User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR » Tue Aug 02, 2005 11:08 pm

sorry to correct you, but actually, lightmaps are textures that are either multiplied or added (cant remember which, i believe multiplied) by the original textures. so they are simply textures generated by the compile process, whereas actor lighting is per-vertex and not per-pixel. not entirely sure the formula for vertex lighting.

GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 » Wed Aug 03, 2005 4:04 am

There are two kinds of lightmaps in RF, the kind that splits level geo based on polygons, and the kind that supplies a texture(EMBM). If you turn on the framerate counter and look around the level you will find that the poly count increases based on the lightmap scale of the level geo.

you should look into EMBM specular maps for SEP's, which are essentially the kind of lightmap AndyCR is talking about. i've used this however and the only real application i saw was glow effects, but hey, knock yourself out.
Check out my band
Tougher Than Fort Knox
Image

Gamespider
Posts: 51
Joined: Fri Jul 08, 2005 1:31 pm
Location: India

Post by Gamespider » Wed Aug 03, 2005 11:42 am

Embm means the target system would be geforce 3 or above. I was aiming something for Geforce 2.

Static meshes slow down when The poly count is higher than about 500.
So can I achieve respectable lighting on actors by subdeviding them and then loading them as SEPs

Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay » Wed Aug 03, 2005 12:46 pm

Keep in mind that SEPs don't have per-poly-collision, so be sure your actor isn't too big and has no 'holes'.
Everyone can see the difficult, but only the wise can see the simple.
-----

Post Reply