Hallo friends...just studying boolean operations, i realize that uv texture could be modified...so...I start litle by litle and I got a nice poor cube..hi hi
I found out that the boolean operation to the box, does´nt increase the final .dbo or .x file.
just have a look !! cheers.
autocam off
sync on
//we generate the texture of our cube
ink rgb(255,0,0),1
box 0,0,20,20
ink rgb(0,255,0),1
box 20,0,40,20
ink rgb(0,0,255),1
box 40,0,60,20
ink rgb(255,255,0),1
box 0,20,20,40
ink rgb(0,255,255),1
box 20,20,40,40
ink rgb(255,0,255),1
box 40,20,60,40
get image 1,0,0,60,40,1
//We can even save it for another use
rem save image "textura.jpg",1
//we create our cube
make object box 1,20,20,20
texture object 1,1
position camera -50,50,-50
point camera 0,0,0
//creating some more cubes to manipulate the UV of our model
make object box 2,20,20,20
position object 2,20,0,0:scale object texture 2,0.2,0.2,
make object box 3,20,20,20
position object 3,-20,0,0:scale object texture 3,-0.2,0.2
make object box 4,20,20,20
position object 4,0,0,20:scale object texture 4,0.2,-0.2
make object box 5,20,20,20
position object 5,0,0,-20:scale object texture 5,-0.2,-0.2
make object box 6,20,20,20
position object 6,0,20,0:scale object texture 6,0.02,0.02
scroll object texture 6,0.4,0.4
//making the boolean operation of all rest objects to our model
for i= 2 to 6
PERFORM CSG difference 1,i
hide object i
next i
//we could save our model in both .Dbo or mesh .x method
rem save object "mi_cubo.dbo",1
make mesh from object 1,1
rem save mesh "mi_cubo.x",1
do
trn#=trn#+0.3
yrotate object 1,trn#
sync
loop
oh my god