Cauê,

Thanks for getting back to me so quickly:

http://clients.dreamlitestudios.com/pepsi/island_test/test-island.html

Henry


On Wed, Dec 16, 2009 at 8:07 PM, Cauê Waneck <[email protected]> wrote:

> Are the planes facing an opposite direction? If they are, setting bothSides
> = false should be enough.
> Could you take a screen shot of what you're seeing?
>
>
> 2009/12/16 Henry Tseng <[email protected]>
>
>> We're loading an MD2 file and we're having trouble with planes that are
>> too close to each other.  We're seeing flickering triangles using center,
>> front, or back z-sorting.
>>
>>
>>
>>
>>
>> On Wed, Dec 16, 2009 at 10:32 AM, Cauê Waneck <[email protected]> wrote:
>>
>>> Hey, I don't understand if you want to know how to create quad faces, or
>>> if you're having trouble with z-sorting on them. Could you be a little more
>>> specific on the z-sorting issue?
>>>
>>> About quads, you can take a look at the pimitives' buildPrimitive()
>>> function. You just need to push the 4 faces' indices into the _indices
>>> vector, and then flag those values as a quad by pushing into _faceLengths
>>> the value 4.
>>>
>>> e.g., if you want to create a face from a triangle, now you have to :
>>>
>>> push the three indices values into _indices :
>>> _indices.push(a, b, c);
>>> then push the value 3 into _faceLengths to indicate this face has 3
>>> indices:
>>> _faceLengths.push(3);
>>>
>>> if instead you want to create it from a quad :
>>>
>>> push the four indices values into _indices :
>>> _indices.push(a, b, c, d);
>>> then push the value 4 into _faceLengths to flag it as a quad:
>>> _faceLengths.push(4);
>>>
>>> don't forget you must call buildFaces() afterwards to create the faces
>>> from the data you've entered!
>>>
>>> Cheers
>>> Cauê
>>>
>>> 2009/12/16 Henry Tseng <[email protected]>
>>>
>>> We're having trouble with z-sorting on our project too.  Does anyone know
>>>> any solutions or work-arounds for getting geometry to layer correctly?
>>>>
>>>> Henry
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Dec 15, 2009 at 5:00 PM, themightyatom <
>>>> [email protected]> wrote:
>>>>
>>>>> I read in another post that Lite supports quad output, but I don't
>>>>> seem to be able to push the right button.
>>>>>
>>>>> http://groups.google.com/group/away3d-dev/browse_thread/thread/c280e3842030b77f/608dc684d59cc67d?lnk=raot
>>>>>
>>>>> Anyone know the secret?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> PS
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to