Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > dear mufti...and the likes..!!
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 9th April 02:24
satyendrav
External User
 
Posts: 1
Default dear mufti...and the likes..!!



thanks a lot bart , it was real helpful but there seems to be morre
then that.....still do not work....i thought it was some thing wid da
TIME field so i changed it ...could you have a look...

thanks again in advance....

satyendra

#VRML V2.0 utf8


#VRML V2.0 utf8
Group { children [
DEF TS1 TimeSensor {
# enabled FALSE
loop TRUE cycleInterval 10.0
}
DEF SI ScalarInterpolator {

key [ 0.0, .5, 1.0 ]
keyValue [ 0, .9, 0 ]

}

DEF T1 Transform {
translation -4 0 0
children [
Shape {
geometry DEF T2 Sphere { radius 0.5 }
appearance Appearance {
material Material { diffuseColor 1 1 1 }
}}
DEF TOS TouchSensor {}
]
}
Viewpoint { position 0 0 10 description "Animation on"}
] }

DEF SCRIPT Script {
eventIn SFFloat timenow
eventOut SFVec3f scalenow
url "vrmlscript:
function timenow(value) {
scalenow = new SFVec3f (Math.round(value)*2, Math.round(value)*2,
Math.round(value)*2);
}"


# missing ( before formal parameters: function scalenow{


}

ROUTE TS1.fraction_changed TO SI.set_fraction
ROUTE TOS.touchTime TO TS1.startTime
#ROUTE SI.value_changed TO SCRIPT.timenow
ROUTE SCRIPT.scalenow TO T1.scale
ROUTE SI.value_changed TO SCRIPT.timenow
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666