Cool thanks Teddy :)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teddy
Sent: 05 July 2005 16:08
To: [email protected]
Subject: Re: [hlcoders] ideas on making an expanding orb
yep, just remember to add a:
VectorScale( transform[2], scale, transform[2] );
so it scales on z axis, and it should work
On 7/6/05, Ian Warwick <[EMAIL PROTECTED]> wrote:
> Very cool, I chased that into C_BasePlayer
>
> 01215 float scale = GetModelWidthScale();
> 01216 if ( scale != 1.0f )
> 01217 {
> 01218 VectorScale( transform[0], scale, transform[0]
);
> 01219 VectorScale( transform[1], scale, transform[1]
);
> 01220 }
>
> Seems like you can apply vector scale transformations to a model?
>
> Cheers Teddy, will be checking that out :)
>
> >Cool, just checked that out on a doxygen site, not home at the moment
> to try it, anyone confirm that this really works?
> >I was under the impression it was'nt a simple thing to do (even
> >though
> it should be!).
>
> >Thanks, can't wait to check that out.
>
> > Try adding a function similar to the SetModelWidthScale() (see how
> it's implemented with GetModelWidthScale() ) to the
> > CBaseAnimating class, that's an easy way to make a model scale
> up/down. Use a thikn function to make it change over
> > time, and bobs your uncle
> >
> > Cool, I have never tried using meshbuilder yet, always time to learn
> > :) I guess I can perform Matrix transformations once I have a built
> mesh?
> >
> > > take a look at the meshbuilder class.. those are just polygons in
> > world space, not sprites billboarded to face the camera
>
>
>
>
> ====================================================================
> This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error you are on notice of
its status. Please notify us immediately by return email if you are not
the intended recipient and delete this message. Please note that any
views or opinions presented in this email are solely those of the author
and do not necessarily represent those of FusionPeople Ltd.
>
> FusionPeople Ltd may monitor outgoing and incoming emails and other
telecommunications on its email and telecommunication systems.
>
> ======================================================================
> = This message has been checked for all known viruses by MessageLabs,
> The service does not scan any password protected or encrypted
attachments. FusionPeople Ltd accepts no liability for any damage
caused by any virus transmitted by this email.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
====================================================================
FusionPeople Ltd may monitor outgoing and incoming emails and other
telecommunications on its email and telecommunication systems.
====================================================================
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error you are on notice of its status. Please
notify us immediately by return email if you are not the intended recipient and
delete this message. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent those of
FusionPeople Ltd.
FusionPeople Ltd may monitor outgoing and incoming emails and other
telecommunications on its email and telecommunication systems.
=======================================================================
This message has been checked for all known viruses by MessageLabs, The service
does not scan any password protected or encrypted attachments. FusionPeople
Ltd accepts no liability for any damage caused by any virus transmitted by this
email.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders