Re: CustomVertex confusion

From: Phil Taylor (ptaylor_at_private-citizen.com)
Date: 10/30/04


Date: Sat, 30 Oct 2004 08:24:13 -0700

transformed vertices are already transformed, so the world transform doesnt
do what you expect.

using Position style vertices is the ticket.

perhaps reading on vertex types in the C++ docs is worthwhile.

"Nak" <a@a.com> wrote in message
news:OmD$lmnvEHA.3872@TK2MSFTNGP11.phx.gbl...
> Not to worry, I finally have it sorted now. I didn't realise that the
> coordinates work on a different scale when using PositionTextured rather
> than TransformedTextured. I have a spinny thing at last!
>
> Nick.
>
> "Nak" <a@a.com> wrote in message
> news:%23iOYnCnvEHA.2192@TK2MSFTNGP14.phx.gbl...
>> Hi again,
>>
>> I've just tried going for a translation transform also but the polygon
>> still stays in the same position! Damn and blast....
>>
>> Nick.
>>
>> "Nak" <a@a.com> wrote in message
>> news:%23wz$OemvEHA.3320@TK2MSFTNGP14.phx.gbl...
>>> Hi there,
>>>
>>> I am having troubles selecting which custom vertex I require for my
>>> application (cos I'm new to this). Anyway, I have basically a
>>> rectangular texturemapped polygon, and I wish to be able to rotate it
>>> and the like. So far I can only get the textured polygon to get rendered
>>> by choosing the TransformedTextured vertex format, but for some reason
>>> or another I cannot get any rotation to occur via the View transform.
>>> Is this *because* of the vertex format I'm using?
>>>
>>> If I choose PositionTextured and put in the same values I can't see
>>> the polygon?!? why is this? I tried looking up what the RHW value was
>>> all about and just got mightily confused. But anyway, any ideas on what
>>> I'm doing wrong?
>>>
>>> Nick.
>>>
>>
>>
>
>