Hi Bengt,

On 5 February 2014 23:18, Bengt Gustafsson <[email protected]>wrote:

> That can't be entirely true, Robert: I do get the 3D mesh of the terrain
> into Blender, it is just the texture (raster map image) that is not present
> (or even refered to).
>
> I imagine that the terrainTile class builds a mesh and stores it as a
> child...
>

The TerrainTile has the TerrainTechnique create whatever subgraph it deems
appropriate.  The GeometryTechnique is the default technique and will
create a subgraph containing a transform, statesets (that include the
Textures) and the geometry leaves.

However, the subgraph is an runtime implementation detail, if you change
the technique you'll get a different subgraph, and the technique might
decide not to assign as a subgrah.


>
> So, if I had some other model with a texture, would those textures be
> refered from the obj and 3ds files? Would the file names be mangled
> compared to where they are stored initially? Would the files themselves be
> copied? If not, how do I get a list of files to copy?


Could it be that this plugins just aren't writing the texture files out to
disk so they can be externally referenced.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to