Re: CustomVertex confusion
From: Phil Taylor (ptaylor_at_private-citizen.com)
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" <email@example.com> wrote in message
> 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!
> "Nak" <firstname.lastname@example.org> wrote in message
>> Hi again,
>> I've just tried going for a translation transform also but the polygon
>> still stays in the same position! Damn and blast....
>> "Nak" <email@example.com> wrote in message
>>> 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?