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 / transparency problem of cone

Author
Message
james clarke
15
Years of Service
User Offline
Joined: 13th Feb 2009
Location:
Posted: 13th Feb 2009 14:51
hi guys, i'm a new comer with poor English, so please forgive me.
Here is my problem: when rendering a semi-transparent cone, i wanna its back to show up too. However, even if i turn off the cull option, but some part of the cone's back is not shown. I guess the reason is that it fails the z-test because DB sometimes draws the front part first. Is there any way or set I could take to make it auto z-queued? What is the exact meaning of the option of "set object tranparency"?
Thanx for ur helps!
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Feb 2009 02:18
Seeing the code you're using is usually necessary to solve your problem.

However, in this case there are really only two things it could be:

1.) You aren't using the cull command correctly. It should be:

SET OBJECT CULL Object,0


2.) Your cone doesn't have a capped end (it's just the pointy part and not the base). If you need the base, you'll have to make the cone in a 3rd-party modelling application, because DBPro primitive cones (and cylinders) do not have capped ends.

Login to post a reply

Server time is: 2024-09-28 02:33:02
Your offset time is: 2024-09-28 02:33:02