home
StrataCafe Forums
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Older Forums
 Strata Live 3D CX
 Changing Model Parts
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hupe-graphics
Infrequent Poster

28 Posts

Posted - 09/22/2010 :  12:16:11  Show Profile
Hi,

I know that it is possible to change the color and/or texture of part of the model, but is ist also possible to change single parts of the model. For instance: you have a model of a house with windows type A. When you click on a predefined area the windows are changing to windows type B. Or you have a biciqule bycicle without lamps and by clicking the lamps were add.

If it's possible how can I do this?
Regards & thanks in advance.
Danica

jesmith
A Regular

USA
214 Posts

Posted - 09/22/2010 :  12:25:14  Show Profile  Visit jesmith's Homepage
Build the model with both parts. When you have the model in Live 3D, right-click one of the alternatives, and make it public with a top-level fade. Then do the same for the other alternatives.
You can then fade the various options in/out using scripts.

-Joshua
Go to Top of Page

hupe-graphics
Infrequent Poster

28 Posts

Posted - 09/22/2010 :  12:29:03  Show Profile
OK thanks, I'll give it a try and let you know if I need help :)
Danica
Go to Top of Page

hupe-graphics
Infrequent Poster

28 Posts

Posted - 09/22/2010 :  12:48:36  Show Profile
Okay, I need help :)
I did as you suggested. In sequences & views I set one of the two optional parts to hide so at first load you can view only the first option.
I think to fade the various options (hide the visible option and show the hidden one) I have to use (document.applets[0].getParameter('? MaterialRT...) - Right?
But how?
Here's my Master:
deleted because not needed ;)


Danica

Edited by - hupe-graphics on 09/22/2010 13:51:57
Go to Top of Page

jesmith
A Regular

USA
214 Posts

Posted - 09/22/2010 :  13:03:47  Show Profile  Visit jesmith's Homepage
Use the Scripts panel to create animation scripts that do the fading for you.

Then you can run those scripts, either from UI controls in Meson, or by calling in from Javascript.



-Joshua
Go to Top of Page

hupe-graphics
Infrequent Poster

28 Posts

Posted - 09/22/2010 :  13:53:33  Show Profile
Thanks, works really fine using the UI controls.
Can you tell me - last question for today ;-) - how to call the Scipts from JavaScript instead using th UI controls?
Thanks
Danica
Go to Top of Page

jesmith
A Regular

USA
214 Posts

Posted - 09/22/2010 :  13:59:34  Show Profile  Visit jesmith's Homepage
Look at the HTML to find the ID of the script (it is in the make control call).

document.applets[0].getParameter('? Scene.3d.playStartSlow("scriptidgobledegook") ')


-Joshua
Go to Top of Page

hupe-graphics
Infrequent Poster

28 Posts

Posted - 09/22/2010 :  14:13:24  Show Profile
It is so great! Ohh - let me correct this: you are so great and helpful!
Everything now works how I want it to.
Thanks again and have a nice day.
Danica
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrataCafe Forums © 2009 StrataCafe Go To Top Of Page
Snitz Forums 2000