XNA texture objectvisibility problem

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

maltonic
Posts: 3
Joined: Wed Feb 15, 2012 3:10 pm

XNA texture objectvisibility problem

Postby maltonic » Wed Oct 24, 2012 12:46 pm

Hello,

i have the following problem:

I drew several objects and made a fence (which is transparent between the gridlines) around it.

After exporting it into an .fbx modell and loading it in xna, one can see some objects through the transparent fence and some unfortunately not.


here is what is seen in blender:
Image

here in xna:
Image

To make things more clear:
All objects are visible in XNA in general as you can see here:
Image
the problem occures just when looking through my fence.

thx for all help

maltonic
Posts: 3
Joined: Wed Feb 15, 2012 3:10 pm

Postby maltonic » Wed Oct 24, 2012 3:38 pm

Problem solved!!

i didnt consider the order in which my Objects in XNA are rendered.

if you have one object with transparency and want to see other objects through it then you have to render the other objects before the transparent one in XNA or else the transparent object doesnt know of the others => you cant see them.

regards


Return to “Interface & Tools”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests