PDA

View Full Version : 2D slider banks?



Mikeface
06-17-2004, 09:33 AM
Is anyone aware of a plugin or method whereby one can create 2D slider banks (like those in Maya)?

badllarma
06-17-2004, 09:45 AM
Sliders :confused:

Tom Wood
06-17-2004, 10:34 AM
Go here:

http://www.newtek.com/freestuff/lwhelp/index.html

Then click on: Layout: General Functions

Scroll down to: Sliders

This part, at the very end, is important:

"To simplify using sliders, use the Add Slider Bank generic plug-in command. It will add a null object, apply the sliders custom object to it, and open the sliders interface, all in one step."

HTH

TW

Mikeface
06-17-2004, 11:05 AM
Yeah I understand how to use sliders, but I'm wondering if anyone has written a plugin that would allow you to combine two regular sliders into a 'box control', or 2D slider. i.e. a single control that determines the values of two regular slider controls.

Maya has these multiple slider types - 'twould be nice to have them in LW too. That way you can have a single lip sync control, etc.

toonafish
06-17-2004, 12:35 PM
Donno if I understand you correctly, but if you want to control 2 channels at the same time with one single slider you either have to use the "master channel" thingy in teh masterplugins panel or create a null object, and make the morphs or whatever follow this Null.

Fish
http://www.toonafish.nl

Mikeface
06-17-2004, 04:47 PM
I'm only talking about combining two controls into one. The actual values would be affected no differently. I've tried to find a picture of Maya's Type A,B & C sliders but I can't find one.

Can anyone who knows what I'm talking about help me explain? Or am I not making any sense at all?...:confused:

toby
06-17-2004, 05:25 PM
I'm pretty sure you can tie two sliders (or more) into a third one, like a 'master' slider, that way you can use the first two separately or change them together with the third one.

Is that what you mean?

faulknermano
06-18-2004, 02:18 AM
i wrote something like this before, for lscript 2.3 called SlideThingMC. if it's still here, then it's still here:

http://thespread.ghostoutpost.com

but it's not really that great. i think i can make something better.. but at that time, that was the best i could do.

geoff3dnz
06-18-2004, 03:21 AM
Originally posted by Mikeface
I'm only talking about combining two controls into one. The actual values would be affected no differently. I've tried to find a picture of Maya's Type A,B & C sliders but I can't find one.

Can anyone who knows what I'm talking about help me explain? Or am I not making any sense at all?...:confused: Are you basing this off Jason Osipa's book by any chance? Because as far as I'm aware, Maya only has one type of slider similar to LW (although you can have the slider vertical as well as horizontal). Those sliders which I think he refers to as type A, B and C were simply modelled objects (in Maya - in LW you can just use itemshape on a null) with expressions applied to them to drive different attributes depending on which axis the object/null was moved.

Or maybe Maya has more than one slider type, but I don't think so ;)

BeeVee
06-18-2004, 04:21 AM
If you have LightWave 8, there's a scene in the Rigs directory called Proton2_rig.lws that uses this kind of square slider for facial animation...

B

Mathias Stolley
06-18-2004, 05:11 AM
I think Mikeface mean something that where discused at this forum

http://www.cgtalk.com/showthread.php?s=&threadid=71553

Try to download that video from SimonMills
It is XSI based but inspired a lot of people, lightwavers, animationmasters, cinema4d .... (the first links do not work but there is one that works till yesterday)

So i saw the demo reel from Matthew L. Stoehr and was totaly amazed on the face rigging in lightwave.

http://www.theladyandthelion.com/site_v2.htm

He has discused what he saw from SimonMills in XSI and try to do that in Lightwave and i think he did it !!!
He and some others. (they post some files to try it in lightwave)

here is the link from that discusion

http://www.cgtalk.com/showthread.php?s=&threadid=73130&highlight=pixelranger

Also you can look for the plugin collection from Peter Thomas and can see something similar

http://www.thomas4d.com/

If you saw all this and read both forum threads you can do this too without a plugin.

hope that is what you mean Mikeface.


regards

Mathias

Mathias Stolley
06-18-2004, 05:22 AM
Sorry BeeVee,

i just saw the scene after posting.
This was made with Thomas 4D plugin and was totaly cool and it (the plugin) cost not much money : )

Everione can make something like this (i mean the slider setup) on the fly with the plugin and can save it and gave it to someone else that have not the plugin and he can use the rigging too.

But without that plugin you must to lean it by yourself and that is what is in the threads.

regards

Mathias

Mikeface
06-18-2004, 11:29 AM
As Geoff cleverly noticed, my post was motivated by my use of Jason Osipa's excellent book, "Stop Staring". Thanks to all who commented.

I believe the best way for me to go is to create my own 'sliders' by restricting the position of objects to a cage and using it's coordinates to drive the morph amounts. Don't know why I didn't think of that before...!?

dbp
06-18-2004, 11:35 AM
Originally posted by faulknermano
i wrote something like this before, for lscript 2.3 called SlideThingMC. if it's still here, then it's still here:

http://thespread.ghostoutpost.com

but it's not really that great. i think i can make something better.. but at that time, that was the best i could do.

any chance of a lw8 version of that script?

/dbp

faulknermano
06-18-2004, 08:53 PM
Originally posted by dbp
any chance of a lw8 version of that script?

/dbp

the question is whether i have a chance to get lw8. :D

i suspect that it will work in lw8 at any rate. what i need to improve on that script is it's general programming. it's still somewhat buggy... useable but not up spec. who knows.. i still need to find time. :)

grafikimon
06-18-2004, 11:14 PM
go to the lightwave thread on www.cgtalk.com and do a search for faciel rigs, sketchyjay, pixelranger and it should bring up some discussions on those sliders. I even helped Thomas4D beta test that facial setup and help give ideas about adding in the extra expressions like you have in the stop staring book (he didn't have it at the time)

If you want to get your hands dirty just look at the expressions on the rigs that thomas donated to the content CD.

Basicaly you create a null to hold your face control rig. then you build an interface in modeler and parent that to the null. You then parent the position of a null or object to the interface. You then map an expression to each direction of movement.

the expression is usually Clamp(channel(maprange )).

What this means is this:
(remember that endomorphs use 0 to 1 internally. Sliders and morph mixer map the 0-1 to 0-100 so it makes more sense.)

Clamp - limit the values to 0 to 1 (thomas4d's expressions go outside this range so don't be confused by this. )

channel - the control objects movement.

maprange - this maps the X,Y,Z values in meters (it is always meters so keep this in mind) to a value between 0~1. So you could set 0-100cm (0-.1 meters) to represent 0-1.

the final value is passed to the endomorph that this expression is applied to.

grafikimon
06-18-2004, 11:24 PM
from my experiments there is no way to limit real time any object in LW. what happens is it will move where you want then snap back to it's limit when you click on another object. It is not intereactive.

So it will work but not the way you might expect.

If you need expressions let me know I'll see if I can dig out the scenes I have that use them.
I converted a few of ospida's expressions to lightwave.

take a look at them they use clamp and maprange just like us. only the maprange numbers are reversed.

He also uses two axises multiplied by each other in order to smooth out extreme ranges. That is as your control goes further out toward the edge it falls off in order to stop the sudden stop when you hit the max range of the control.

If your game we can make this thread into a lw list of his expressions. might be fun to go back over them. I learned alot in the process.


If you wan tto learn more about expressions check out the OZ user group site. Kretin put up definitions of the expressions (what I used to make the controls the first time)

SplineGod
06-19-2004, 02:32 AM
You might want to check this out:
http://mapage.noos.fr/samuelLK/Plugins/Expresso/Overview.html