|[PS-Youtube id=”4jBWwDJLcaI” w=”320″ h=”206″]||We have created a sample Blend file containing a collection of ready made Sculptie templates all created with Primstar-2. You can use the provided sculptie templates as basis for your own sculptie creations. We have also included a special material which allows to bake the templates with the Blender default Bake tool. And we have added some helper objects which will allow you to reimport sculpted Prims back into blender. For more details see below.|
After downloading the Primstar-Zero sculptie_lib_1.2.blend. please unzip the file to get access to the sculptie_lib.blend. Currently this library only works with Blender 2.6 and you can open it with Blender for inspection (This readme is also included within the blend file for offline usage).
The blend file is owned by Domino Marama & Gaia Clary. We distribute this file under the Creative commons license CC-BY.
We encourage teachers to add the needed templates for their courses to this blend file and distribute the modified blend file as additional course material. This will allow your pupils to follow your course without need to purchase Primstar-2.
- New in sculptie_lib_1.2.blend (06-nov-2011)
- Now objects will always be created at location
- Improved the Sculptie Creator Objects to have more accuracy
- Removed Bricks and Steps from the Library, because they can not be created with a resonable quality. If you need Bricks or steps, then we recommend you switch to Primstar-2.
- New in sculptie_lib_1.1.blend (06-nov-2011)
- Improved Documentation
- Added support for more accurate vertex baking
- Added support for Sculpt-Map Import
- Copy this blend file to a convenient place (for example to your Home folder or to your Desktop) and if possible make it read only, so that you never make unintentional changes to the templates!
- Critical: Blender 2.5/2.6 uses an advanced color management by default. While this is a good thing for texturing, it will break the Sculpt-Map bake. Hence you must disable color management for Sculpt-Map bakes. You do this as follows:
- go to the render properties menu
- locate the shading tab
- uncheck “Color Management”
Create a Sculptie:
Create a new blend file or use your already existing project file and then proceed as follows:
- Navigate to File -> Append
- Then navigate to your sculptie_lib.blend and further down into the Object section. there you find a bunch of templates. We have used a name convention “Category-U-V-S-T” where:
Category [plane|Cylinder|Sphere|Ring|Torus|Star|Cone|Hemisphere|Cylisphere|Steps] U Number of faces along U V Number of faces along V S Number of subdivisions used (if 0, then no Subsurf Modifier used) T “t”: optimized for uniform (homogeneous) texture.
“v”: optimized for best vertex accuracy.
“i” : Import template for making a sculptie object from a Sculpt-Map
You get the default sculpties with 32*32 faces when you append one of the-8-8-2 templates. For example if you want a default sculptie cylinder, then append:
Cylinder-8-8-2 or Cylinder-8-8-2
Some templates use the Subsurf modifier. You can remove the modifier or change the modifier settings at any time as you like.
Note:The templates with no modifiers (names ending with “-v” or “-t”) have got a slightly modified UV-Map. We did this by hand in order to provide better results with the bake material. The templates marked with a trailing “-t” are optimized for homogeneous texturing, while the templates ending with a trailing “-v” are optimized for highest vertex accuracy.
In any case the finally baked sculpties are not optimal regarding their seams. However they should work almost correct when imported to OpenSim (or similar environments). Most users won’t even see the difference to an exactly constructed sculptie.
- Now shape the template to your taste. You may use subsurf and increase or decrease the levels of subdivision. But as mentioned above do not add/remove vertices or edges by hand! This will definitely break your sculptie!
Bake a Sculptie:
Critical: The baking only works as long as the object is attached to the included sculptie-baker material.
- Create your final Sculpt-Map as follows:
- Go to the Render properties section.
- Ensure that color management is turned off (see preliminaries section above).
- Render -> Bake -> Full Render
- Now your ready baked Sculpt-Map should appear in the U/V Image editor.
Import a Sculpt-Map to Blender
To import a sculptie here’s what you need to do:
- Add the appropriate base sculptie import template from the sculptie_lib (an Object ending with “-i”).
- In the UV Image editor open your Sculpt-Map from File and possibly give it a convenient name.
- Go to textures and select the Sculptie-Constructor texture.
- Attach your just imported sculpt map to it.
- Apply the displacement modifier
- In the UV Layout move the top row up half a pixel (g y .5) and move the right column to the right by half a pixel (g x .5)
- Edit your imported sculptie
- The sculptie-baker material creates correct sculpt maps only for torus and ring objects. All other objects also work in OpenSim or your preferred online world as long as you select the correct stitching type. But they may show irregularities along the seams. This may have influence on texturing. We tried to minimize the irregularities by manual tweaking the UV-maps on those templates which do not contain a Subsurf Modifier. You will have to experiment which works best for you.
- Take care that the final number of vertices in your Sculpt-Map is ONLY dependent of the size of your Sculpt-Map! The general rule is:Vertex count = image-Width * image-Height / 4 (width/height measured in pixels)
- The smallest allowed sculptmap size is 8*8 pixels, resulting in 4*4=16 vertices. Any Sculpt-Map which would result in more than 1024 Quads (2048 tris) will automatically be scaled down by the image importer. You do not want this to happen, because you will loose quality.
- Please always use “File -> Append” and avoid “File -> Link” (Link will not create a new Object but use the Object from within the sculptie_lib. And therefore linked objects are always read only in your project unless you make them “local” and this is exactly what File -> Append does automatically.
- Do never(!) try to use the sculptie-baker tool with arbitrary objects. It will most probably create wrong results.
- If your bake result contains black dots, then proceed as follows:
- go to edit mode and
- locate duplicate vertices (usually the poles).
- select the duplicate vertices.
- apply “smooth vertex” once.
- Now your bake will no longer show black dots.
- How to construct a UV map for best vertex accuracy:
- Select all but the right most column on the UV Layout.
- Move the selected points half a pixel to the right (g x 0.5)
- Select all but the top most row of the UV Layout
- Move the selected points half a pixel up (g y 0.5)
- How to construct a UV map for best texture mapping:
- Select all but the right most and left most columns on the UV Layout.
- Move the selected points half a pixel to the right (g x 1)
- Select all but the top most and bottom most rows of the UV Layout
- Move the selected points half a pixel up (g y 1)
- How to construct a sculptie-object from a Sculpt-Map:
- Add the appropriate base sculptie.
- Apply subsurf
- In edit mode select all points and scale to 0.
- On UV layout move top row down by one pixel (g y -1)
- On UV layout move right row in by one pixel (g x -1)
- Move the entire UV map to the right and upwards by half a pixels ( g .5 tab .5 )
- Add a displacement modifier and click to add a new texture
- Set displace Direction to ‘RGB to XYZ’ and texture co-ords to ‘UV’
- Go to textures and select the new texture
- Change the texture type to image and load the sculpt map into it
- Apply the displacement modifier
- In the UV Layout move the top row up half a pixel (g y .5)
- In the UV Layout move the right column to the right by half a pixel (g x .5)
- Edit your imported sculptie
- Bake (ensure color management is turned off)
Gaia & Domino