redmotion: Softimage > gile[s] lightmapper> ShiVa3d tutorial

23 November 2010

Softimage > gile[s] lightmapper> ShiVa3d tutorial

This is a basic tutorial on how to use gile[s] lightmapper with Shiva3d (as much for me as for anyone else).

Lightmaps are useful for getting static lighting onto scenery on low-end Android phones as some do not support per-pixel lighting and also suffer from artifacts when using ShiVa3d per-vertex lighting.

Anyway, this tutorial takes us through a very quick generation of a lightmap in gile[s] v2 (Version 2 is still in beta and will probably remain that way, however v1 seems to have issues in Windows 7 and lacks some v2's feature set):-


1. Build the model in Softimage and export as an obj with the UVs for the diffuse maps already done. Import into giles[s].

2. In gile[s], add a sky, by clicking on the create sky button under the create tab. Click somewhere near your imported model.

3. Pan the scene by see the sky, then select the sky under the model tab and tweak the settings so that the sky is high and bright in the sky (see image).

4. Low-end Android phones (like HTC Hero) can't handle any textures above 256x256 very well, performance is hit quite a bit. In the Top menu > Editors > Lighting Methods editor;  click on the add button at the bottom of the Lighting methods dialogue (icon with a green plus sign) to add a new Lightmap. If you want crisper shadows you will need to add a directional light to the scene also. I'm just going for a daylight ambience in this tutorial.

5. Again, from the editors menu, select Material Editor to call up the materials editor. Select the lightmap you just created under the Lighting Method area of the dialog.

6. In the Light Methods Editor you'll notice the material you added the new Lightmap to has now been placed under the light map in the tree on the left had side. This means that multiple materials can use the same lightmap or each material can have its own lightmap. It's all about finding the right compromise between performance and aesthetic quality.

7. Lastly, choose the GI renderer, you have options of Path Tracer, GPU Radiosity or Ambient Occlusion:-

8. From here on, tweak settings in all the various dialogs mentioned and re-render as you go, until you are satisfied with the results. 

9. Export should be done using *.obj (I've tried others but obj seems the most problem-free). Export will create 3 files: the original mesh, a 2nd mesh with the lightmap UV generated by gile[s] and the lightmap itself in bmp format. Bring all files back into Softimage (or your chosen 3d DCC app) and create a second UV set on the original mesh (property > Texture > Planar UV). Using the texture editor (F7), copy and paste the lightmap UV set from the lightmap UV mesh onto the second UV set of the original mesh. Finally, export the mesh as a DAE file. Import into ShiVa.

10. For the mesh's material, change the Material>Texturing effect to "Modulate", put the lightmap into Effect Map 1 and the Diffuse/Color map into Effect Map 0. Under the lighting tab set Emissive to black, Ambient and Diffuse to White.



Anonymous said...

chanel outlet Nightfall chanel handbags 5359 Cheap is hot sale online,welcome to our store to buy Black [ URL= - chanel and totti [/URL uu8n75 ,we guarantee fast shipping,cheapest price and 100% high quality guaranteed

Anonymous said...

A huge dick in my pussy,a warm wet tounge up my personal arse and cum along
with pussy juice all over me. Fuck, ozzy

My blog post; hcg injections
My webpage - hcg injections

oakleyses said...

louis vuitton outlet stores, louis vuitton, prada handbags, louboutin, longchamp outlet, polo ralph lauren outlet, louis vuitton outlet, kate spade outlet, ray ban sunglasses, louboutin shoes, oakley sunglasses, michael kors outlet, louis vuitton outlet, michael kors outlet, kate spade handbags, coach outlet store online, michael kors outlet, louis vuitton handbags, burberry outlet, burberry outlet, oakley sunglasses, michael kors outlet, nike shoes, polo ralph lauren outlet, coach purses, oakley sunglasses cheap, jordan shoes, tiffany and co, air max, coach factory outlet, air max, chanel handbags, gucci outlet, michael kors outlet, tory burch outlet, coach outlet, nike free, christian louboutin shoes, tiffany and co, ray ban sunglasses, louboutin outlet, michael kors outlet, longchamp handbags, prada outlet, longchamp handbags

oakleyses said...

michael kors pas cher, nike roshe run, polo ralph lauren, michael kors, nike free pas cher, hollister, louis vuitton, air force, sac burberry, mulberry, nike roshe, ralph lauren, oakley pas cher, nike blazer, sac guess, abercrombie and fitch, longchamp, mac cosmetics, nike trainers, vans pas cher, ray ban pas cher, lululemon, hogan outlet, new balance pas cher, michael kors, timberland, sac longchamp, nike roshe run, sac hermes, air max, nike air max, north face, nike huarache, barbour, ray ban sunglasses, nike free, vans shoes, north face, louboutin, hollister, hollister, sac louis vuitton, nike tn, converse pas cher, sac louis vuitton, vanessa bruno, louis vuitton uk, air jordan, longchamp, polo lacoste

oakleyses said...

ugg boots, babyliss pro, herve leger, bottega veneta, jimmy choo outlet, soccer shoes, nfl jerseys, rolex watches, iphone 6 cases, ghd, ugg pas cher, canada goose, asics running shoes, beats by dre, instyler, celine handbags, baseball bats, ferragamo shoes, ugg boots, abercrombie and fitch, ugg australia, lululemon outlet, north face outlet, mcm handbags, soccer jerseys, north face jackets, mont blanc, hollister clothing store, moncler, canada goose, birkin bag, marc jacobs, canada goose outlet, new balance shoes, ugg, p90x, canada goose, moncler outlet, uggs outlet, moncler, valentino shoes, chi flat iron, moncler, insanity workout, reebok outlet, wedding dresses, giuseppe zanotti, canada goose jackets, canada goose uk, air max

oakleyses said...

christian louboutin outlet, louis vuitton outlet, longchamp outlet, prada outlet, louis vuitton outlet, uggs outlet, christian louboutin, michael kors outlet online, ugg boots, replica watches, nike outlet, christian louboutin uk, chanel handbags, uggs on sale, tory burch outlet, longchamp outlet, cheap oakley sunglasses, michael kors outlet, burberry outlet, tiffany and co, tiffany jewelry, polo outlet, polo ralph lauren outlet online, ugg boots, nike free, oakley sunglasses, longchamp outlet, oakley sunglasses, ray ban sunglasses, prada handbags, uggs outlet, kate spade outlet, burberry handbags, oakley sunglasses wholesale, jordan shoes, ray ban sunglasses, louis vuitton, louis vuitton outlet, ray ban sunglasses, gucci handbags, michael kors outlet online, michael kors outlet online, louis vuitton, christian louboutin shoes, nike air max, nike air max, oakley sunglasses

oakleyses said...

vans pas cher, replica handbags, nike roshe run uk, hollister uk, burberry pas cher, sac hermes, kate spade, true religion outlet, ray ban uk, michael kors pas cher, coach outlet, oakley pas cher, nike air force, lululemon canada, air max, mulberry uk, longchamp pas cher, true religion jeans, true religion outlet, new balance, nike roshe, nike air max uk, north face, nike tn, nike air max uk, abercrombie and fitch uk, coach purses, ralph lauren uk, michael kors, hollister pas cher, michael kors, hogan outlet, sac vanessa bruno, nike free uk, true religion outlet, polo ralph lauren, michael kors outlet, north face uk, coach outlet store online, converse pas cher, ray ban pas cher, nike blazer pas cher, nike free run, polo lacoste, timberland pas cher, nike air max, guess pas cher, sac longchamp pas cher, jordan pas cher, louboutin pas cher

oakleyses said...

baseball bats, new balance shoes, insanity workout, reebok outlet, p90x workout, timberland boots, jimmy choo outlet, iphone 6 cases, nike roshe run, chi flat iron, herve leger, iphone 5s cases, nike air max, lululemon, hollister, north face outlet, vans outlet, ghd hair, iphone 6s cases, s6 case, soccer shoes, ferragamo shoes, iphone cases, longchamp uk, nike huaraches, north face outlet, iphone 6s plus cases, hermes belt, ralph lauren, louboutin, valentino shoes, mac cosmetics, hollister clothing, oakley, asics running shoes, giuseppe zanotti outlet, celine handbags, mcm handbags, nfl jerseys, beats by dre, babyliss, bottega veneta, iphone 6 plus cases, nike trainers uk, wedding dresses, abercrombie and fitch, instyler, mont blanc pens, ipad cases, soccer jerseys

oakleyses said...

ugg uk, pandora jewelry, ugg,uggs,uggs canada, pandora jewelry, moncler outlet, canada goose uk, moncler, louis vuitton, canada goose jackets, louis vuitton, replica watches, barbour, thomas sabo, converse, marc jacobs, moncler, canada goose, vans, canada goose, pandora uk, ugg pas cher, louis vuitton, ray ban, links of london, toms shoes, moncler outlet, louis vuitton, hollister, wedding dresses, canada goose outlet, barbour uk, lancel, louis vuitton, juicy couture outlet, canada goose outlet, moncler, moncler uk, swarovski, montre pas cher, swarovski crystal, canada goose, coach outlet, ugg, gucci, karen millen uk, nike air max, supra shoes, converse outlet, hollister, juicy couture outlet, moncler, doudoune moncler, pandora charms

Natalia Wijaya said...

sabung ayam-pukul mati