WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 09-25-2011, 07:52 AM
andrewjworz andrewjworz is offline
Join Date: Apr 2011
Posts: 11
Boundaries of objects have unattractive black pixels

I am using Xfrog tree models in Vizard (.3ds format). Once the objects are loaded into Vizard 3.0, there are ugly (unrealistic) black pixels at the boundaries of every leaf.

How can I change the color values of the pixels which are on the boundaries of the object so that they are some kind of an average of the pixels from the leaf and of what is in the background? Is this something that can be done with the alphaFunc()?

Reply With Quote
Old 09-26-2011, 03:45 PM
Veleno Veleno is offline
WorldViz Team Member
Join Date: Sep 2005
Posts: 148
Hi Andy, this kind of artifact is usually a texture issue. It tends to happen when alpha is used on a cutout that has black as the background color. It can also happen in textues that use pre-multiplied alpha.

What format are the textures in?
Reply With Quote
Old 09-26-2011, 05:02 PM
Veleno Veleno is offline
WorldViz Team Member
Join Date: Sep 2005
Posts: 148
I've attached a couple example images that should give you an idea about what's going on.
Attached Thumbnails
Click image for larger version

Name:	BadSafeColor.jpg
Views:	923
Size:	127.6 KB
ID:	443   Click image for larger version

Name:	GoodSafeColor.jpg
Views:	929
Size:	123.7 KB
ID:	444  
Reply With Quote

alpha, alphafunc, billboards, pixels on object edges

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Semi-circle array containing target and distractor objects ptjt255 Vizard 3 08-04-2009 04:09 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 12:01 PM

All times are GMT -7. The time now is 11:51 AM.

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