Hey,
I'm looking for some info on materials, if anyone has tried this before:
I'm a meshbuilder to create a quad in the world and project my texture
on it. For now, the texture is not animated, but the animated art will
be done soon and i'm wondering this:
My call to this meshbuilder is in CViewRender::RenderView() (so it is
drawn every frame), and i use the same material pointer for both calls.
Will the engine automatically go through the frames without my doing
anything, or will i need to manually increment the frame count and do
the logic for that in my code, since the mesh is redrawn from scratch
every frame?

I think the engine will handle this for me, but i am not sure at all,
that's why i'm asking...

Also, is there a way to reset the frame count to 0, and to have 2
meshbuilders using the same animated material but have them each be at a
different frame number (they would operate independently)?


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to