tom.drastic.net

Archives Posts

contact

June 18th, 2007 by tom

Filed under Uncategorized having No Comments »

Archives Posts

about

June 18th, 2007 by tom

this is basically just a notebook where i write down stuff for myself.

i use a modified version of fluid solutionby kaushal sheth.

Filed under Uncategorized having No Comments »

Archives Posts

baking sketchup materials in 3ds max

June 18th, 2007 by tom

this little tutorial shows how to export a model from sketchup and bake the materials to one texture map, to make it easier for (e.g.) realtime use / exporting it from 3ds max.. etc.

this works only with sketchup pro version

1. create textured model in sketchup

eckdings23.png

2. export the file as 3d model -> 3ds -> use the following options:

  • export: single object
  • export texture maps / preserving texture coordinates

bild-40.png

you will get a directory full of textures and a 3ds file.

3. import in 3ds max

open 3ds max / file -> import -> choose 3ds file

you can now render the scene, it will be textured as it is in sketchup.

where is the texture map ?
at this moment the textures are applied as multiple submaterials in 3ds max.
to see the material:

  1. open material editor
  2. klick “get material” (the icon is an arrow and sphere)
  3. select “browse from:” “scene” to see all materials in the current scene
  4. choose e.g. “Material #66 Multi/Sub Object”
  5. double click to replace the current selected material
  6. now you see the different submaterials

4. bake textures into oneselect the object to bake

  1. choose rendering -> render to texture or press “0″
  2. remember the number you setat “Mapping Coordinates”: “Channel”(**)
  3. scroll down to “output” / choose “add” / select “complete map”
  4. choose a texture size for example 512×512
  5. change “baked material settings”: select “Output Into Source”
  6. klick “Render”
  7. open “Material Editor”
  8. choose an empty material
  9. open “Maps”
  10. click the “None” Next to “Diffuse Color”
  11. choose “Bitmap”
  12. select the image you rendered using the render to texture tool previously
  13. set “Map Channel” to the number from step (**)
  14. assign material to your object
  15. click “show map in viewport” to see the texture in 3ds max

You now have baked all Textures into one.

bild-41.png

The Resuling Texturemap will never be optimal, because you are working with automatically generated uv coordinates. you can optimizie the used space a bit if you remove faces from the model, which are never seen.

You also should considering to enable gi or shadows etc before rendering to the texture to make everything look better :D

Filed under howto, 3d, sketchup, 3dsmax having 3 Comments »