You can use MovieMaterial with some logic in it or use BitmapMaterial
and replace it when you want to change the color.
Cheers,
Peter
web:
http://www.creonfx.comblog:
http://blog.creonfx.comskype: peterv-at-work
twitter:
http://twitter.com/pvelichkovLee Probert wrote:
> Yes this should help loads. My other main concern is finding a Collada
> model that will allow me to change the colour of areas dynamically. It
> will be a pencil crayon so I'll only want to change the colour of the
> tip and the main stem. I guess I'll need a material that only has the
> coloured areas on it so I can tint it somehow before applying.
>
> If anyone has any suggestions or can build this for me then get in touch.
>
> Lee.
>
>
> On Thu, Jun 25, 2009 at 12:29 PM, Peter Velichkov <
peter@...
> <mailto:
peter@...>> wrote:
>
> This should be a good starting point:
>
>
http://code.google.com/p/papervision3d/source/browse/trunk/as3/trunk/examples/FlashCS3/helloMouse3D/Mouse3D.swf>
> Peter
>
> web:
http://www.creonfx.com> blog:
http://blog.creonfx.com> skype: peterv-at-work
> twitter:
http://twitter.com/pvelichkov>
> Lee Probert wrote:
>
> I need to build a simple drawing tool but on a 3D plane. The
> pencil need to be 3D too and would rotate on its tip as it moves
> around the page. I need some direction on how to translate the
> 2D space to the 3D material. I also need some advice on how to
> create a simple 3D model of a pencil (I'm thinking SketchUp) and
> then create a material that would colour the model but allow me
> to dynamically change the colour on the fly.
>
> Any tips would be appreciated.
>
> Thanks, Lee.
>
> --
>
http://lyraspace.com>
info@... <mailto:
info@...>
> <mailto:
info@... <mailto:
info@...>>
>
mobile@... <mailto:
mobile@...>
> <mailto:
mobile@... <mailto:
mobile@...>>
> skype: lee.probert
> google/MSN :
leeprobert@... <mailto:
leeprobert@...>
> <mailto:
leeprobert@... <mailto:
leeprobert@...>>
>
> twitter : @lyraspace
> tel: 07866 940416
>
> 1 Station Oast,
> Goudhurst Road,
> Tonbridge,
> Kent.
> TN12 8AE
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Papervision3D mailing list
>
Papervision3D@... <mailto:
Papervision3D@...>
>
http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
>
> _______________________________________________
> Papervision3D mailing list
>
Papervision3D@... <mailto:
Papervision3D@...>
>
http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
>
>
>
> --
>
http://lyraspace.com>
info@... <mailto:
info@...>
>
mobile@... <mailto:
mobile@...>
> skype: lee.probert
> google/MSN :
leeprobert@... <mailto:
leeprobert@...>
> twitter : @lyraspace
> tel: 07866 940416
>
> 1 Station Oast,
> Goudhurst Road,
> Tonbridge,
> Kent.
> TN12 8AE
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Papervision3D mailing list
>
Papervision3D@...
>
http://osflash.org/mailman/listinfo/papervision3d_osflash.org_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org