Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / My tree shows the leaves painted on blocks

Author
Message
SteveOB
14
Years of Service
User Offline
Joined: 18th Jul 2010
Location:
Posted: 18th Jul 2010 13:32
Hello Everyone,

I have created a tree in Treemagik and i have the following
code to display the tree in DBPro. This tree does display but
the leaves show painted on blocks.

How do i remove the blocks showing only the leaves.

Thank you for any help.
SteveOB


LOAD OBJECT "steve-tree.dbo", 1, 4
loop object 1
sync on
sync rate 30

do
control camera using arrowkeys 0, 1, 1
sync
LOOP
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 18th Jul 2010 18:21
After loading the object, try the SET OBJECT TRANSPARENCY command on the tree object. I believe you want a flag of 1, but check the help files (press F1 after you type the command).

SteveOB
14
Years of Service
User Offline
Joined: 18th Jul 2010
Location:
Posted: 18th Jul 2010 20:36
Excellent added the line

SET OBJECT TRANSPARENCY 1, 1

after i loaded the tree and it is perfect.

Thank you.
Steve

Login to post a reply

Server time is: 2024-09-28 20:32:19
Your offset time is: 2024-09-28 20:32:19