User:StephenS

How do I :

Add a bounded_by{} shape to my object?

This example uses an intersection of two spheres, with a small overlap.

Step one: Create a raw script property.



Right click the CSG0 object



Hover the mouse over 'Properties' then left click 'raw script' from the list.





Select CSG0; Force Declaration.

Evaluate the CSG intersection.

Step two:

Create a Box object with: Semi Transparent, Not visible in render.

Using the control point manipulators adjust the size of the box to just cover CSG0.



When your happy, select the Box0, 'inspect generated script'.

Select and copy the box definition, paste into the CSG0 raw_script property.

For example:



The completed scene file for this.

[[Media:Add_bounded_by.zip]] Made with Bishop3d 1.0.4.4

Render the scene with the raw script exported and then again without export to see the diference in speed.