WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Transparent png broblems (https://forum.worldviz.com/showthread.php?t=3842)

TarkaDahl 07-21-2011 06:03 AM

Transparent png broblems
 
1 Attachment(s)
Hi,

Im having a problem when using pngs with transparency. You can see through objects behind.

http://forum.worldviz.com/attachment...1&d=1311253291

The grass is on a plane however you can see through the bushes in background and can see the grey backgound image. This happens in inspector aswell.

This happens as well in other places as well when we have a semi transparent png as a water surface. Certain objects in the water then disapear.

Any help would be appreciated.

Thanks

TarkaDahl

sleiN13 07-22-2011 12:19 AM

Sounds like a drawOrder problem. Have you tried to assign different draworders yet?

.drawOrder(number, bin=viz.BIN_TRANSPARENT)

TarkaDahl 07-22-2011 01:40 AM

Hi sleiN13

Ive had tried draworder previously but i will retry it.

Thanks

farshizzo 07-28-2011 10:10 AM

Is the grass plane the only object in your model that contains transparency? If you have multiple transparent objects that intersect each other, then you will have these kinds of issues.

To solve these kinds of problems, we usually break up the transparent objects into smaller pieces. This gives the rendering engine more fine-grained control with the order in which transparent objects are rendered.

If you continue to have problems, you can post your model here, or use our upload form, and somebody can take a look at it.

TarkaDahl 08-01-2011 03:12 AM

Hi farshizzo,

I will try that today.

Also is there any way to change my spelling mistake in the title.

Thanks


All times are GMT -7. The time now is 12:41 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC