Skip to content
Snippets Groups Projects
database.rst 1.06 KiB

How to generate a database using blender

First we configure the rendering module

With the toolbox at disposition we just need to configure the BeeSampling to render images on a regular 3D grid.

If we want to use the distance to objects, we need to tell the BeeSampling what is the maximum distance to objects in the environment.

Otherwise the distance can go until infinity, and since the image are

compressed in the database, all distances to object will be equal to zero:

Finally we can generate the database.

(:download:`Source code <examples/blenddemo_beesampling.py>`) (:download:`Blender world <../../../navipy/resources/forest_world.blend>`)