hello....
What is Viewstate Change option in skin editor?
thanks
byebye
Change Viewstate
http://www.tour360.eu - Panoramiche dall'Italia
thanks for the reply, but I do not understand this
view image
view image
- Attachments
-
- vs.gif (19.71 KiB) Viewed 7942 times
http://www.tour360.eu - Panoramiche dall'Italia
When building a skin for an object movie, you may want to show different versions of the same object. In the example I posted, it is a 3D rendering of a car and its different colors it may be available in. Each of these different color renderings are View States. You can use the the skin editor to load each of these View States which are defined in the project (Light Table or Select Input). In the State field, you would add the number of the State you wish to target.
This image shows the image/button that is used to represent the view state: And this image shows that when the user clicks on this image/button that the view state should change to state number 0 with a speed of .05 second: I hope that clarifies it. So you see, it's really an Object2VR action and not a Pano2VR action.
This image shows the image/button that is used to represent the view state: And this image shows that when the user clicks on this image/button that the view state should change to state number 0 with a speed of .05 second: I hope that clarifies it. So you see, it's really an Object2VR action and not a Pano2VR action.
Hi-
I am making an Object2VR using flash, and with a car also. As in this example, I need to change the car colour with a viewstate. However, I am also changing the wheels. So, there are several viewstates for each colour. I just want to change one thing at a time so I cannot redirect to a specific viewstate. I need to figure out which viewstate I am in first, then redirect. In Mark Banas Object2VR example, there is the same problem- changing environment also changes to a blue car, changing the car colour also changes the environment to daytime. So, can I add some code to the skin? What should I write? Something like this?
if (viewstate=0)
{
var viewstate = 5;
}
else if (viewstate=1)
{
var viewstate = 3;
}
else if (viewstate=4)
{
var viewstate = 2;
}
</script>
I am making an Object2VR using flash, and with a car also. As in this example, I need to change the car colour with a viewstate. However, I am also changing the wheels. So, there are several viewstates for each colour. I just want to change one thing at a time so I cannot redirect to a specific viewstate. I need to figure out which viewstate I am in first, then redirect. In Mark Banas Object2VR example, there is the same problem- changing environment also changes to a blue car, changing the car colour also changes the environment to daytime. So, can I add some code to the skin? What should I write? Something like this?
if (viewstate=0)
{
var viewstate = 5;
}
else if (viewstate=1)
{
var viewstate = 3;
}
else if (viewstate=4)
{
var viewstate = 2;
}
</script>
You can not add code (yet) but you can use a trick. You can use several buttons for the wheel & color combination, place them over each other and hide/show them with the view state click to match the current state so that only valid paths from your current state are possible.
MfG, Thomas
- Hopki
- Gnome
- Posts: 13048
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Its bed time, if no one gives an answer I will tomorrow.
Hopki
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
- Hopki
- Gnome
- Posts: 13048
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
To help Object”VR I use a two digit numerical naming system.
Robot being the name I gave to my project images.
So:
01_robot
02_robot
03_robot
If you use 1_robot , 2_robot ~~ 15_robot, 16_robot you will end up with the images out of order.
Also see: http://gardengnomesoftware.com/wiki/Obj ... ce_Pattern
Regards
Hopki
Robot being the name I gave to my project images.
So:
01_robot
02_robot
03_robot
If you use 1_robot , 2_robot ~~ 15_robot, 16_robot you will end up with the images out of order.
Also see: http://gardengnomesoftware.com/wiki/Obj ... ce_Pattern
Regards
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
- 360Texas
- Moderator
- Posts: 3684
- Joined: Sat Sep 09, 2006 6:06 pm
- Location: Fort Worth, Texas USA
- Contact:
Out of order is because of the 'sort' process where numerics 1,2,3,4,5,6,7,8,9,10,11,12 is acutally sorted as alphabetic 1,11,12,3,4,5,6 etc
The number 0 or zero is actually less than 1 so 01 02 will be numerically sorted correctly.
The number 0 or zero is actually less than 1 so 01 02 will be numerically sorted correctly.