Re: [cgkit-user] video as a texture
Brought to you by:
mbaas
|
From: Samuel P. <sfp...@gm...> - 2010-11-26 23:24:31
|
Hey Matthias, I'm using the OpenGL material, so setting the imagename property would be a great way to go - I'm a little unsure of how to change the parameter after instantiation, though... I thought of maybe using a ValueTable and image paths, but something like ValueTable(type = "string") didn't work. I feel like I'm missing something basic about how to animate properties beyond using the few basic classes provided for that end (Expression, ValueTable...). Thanks, Sam On Sun, 14 Nov 2010 20:41:11 +0000 Matthias Baas <mat...@gm...> wrote: > On 14.11.10 17:47, Samuel Potter wrote: > > Sounds like the first option is what I want as I'll be rendering, > > anyway. :-) > > > > How would one go about doing this? Didn't see anything like this in the > > documentation... > > Well, what material/shader are using? In the end, it's just a parameter > to the surface shader that is attached to the object. So if you have > your own shader, you would set the corresponding parameter on the > RMShader object per frame. > If you are using the OpenGL material, you can set a new name using the > "imagename" property (basically, all parameters you can pass to the > constructor are properties that can also be set after instantiation). > > I hope this helped... > > Cheers, > > - Matthias - > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > cgkit-user mailing list > cgk...@li... > https://lists.sourceforge.net/lists/listinfo/cgkit-user -- Samuel Potter <sfp...@gm...> |