Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
alpha face sorting inside single mesh?

alpha face sorting inside single mesh?

2004-03-29       - By NoiseCrime

 Back
Reply:     1     2     3     4     5     6     7     8  


-- -- Original Message -- --
From: "Mads Rydahl" <mads@(protected)>

> I have tried multiple geometrical approaches, including offsetting all 4
verts 1
> unit in z and keeping the camera close by, offsetting 1000+ units,
slanting the
> faces, so that the lower two verts are significantly in front (like this:
> /////), rotating the entire model slightly, you name it... I feel I've
tried
> everything, but I don't understand the logic at work.

As you've found out there doesn't appear to be sorting of polygons within a
mesh, which is giving you problems.
Funnily enough i just replied to a similar topic on dirgames-l, not very
funny is the bizarre observations i've made with.
I've forward the post to this list so you should find it pop up (possibly
before this one)

One problem you might have is the rebuildign of the mesh. This isn't
required and more than likely is causing the changes in the rendering order
you see. This is becuase when you build a mesh in sw3d it does some
housekeeping on the mesh in the background, and can do all manor of strange
things to your geoemtry that you'll never know about.

However i have an assumption which might help you (but if you see the
crosspost  message you'll see its not qwuite as straightforward). That is
once a mesh is built the face order (i.e. the order the faces are rendered
in) should be consistant, as long as you don't rebuild it. So what you
should be able to do is sort your sprite quads, and then convert these into
the built mesh, where the furthest traingle away will be placed into the
vertex indices of the first face, then the next traingle into face 2 and so
on.

This 'should' mean you'll get the correct drawing order.

Something else to try would be splitting your sprites into groups of objects
that exist at the same depth. Each group then becomes a model and seeing as
models are drawn in sorted order that might give you some control over
layering.


Noisecrime 2004


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l