Render Blade HTML Parameters Last Update 04.12.28
What's HTML commands?
To show 3DCG by Render Blade on your web page, you must learn about HTML command.
But it's very simple only to show 3DCG.Class ID
Class ID of Render Blade is "23C4394C-89ED-4285-858A-EC30E868696E".
You must write down on OBJECT tags blew.<OBJECT ID="RenderBlade" CLASSID="CLSID:23C4394C-89ED-4285-858A-EC30E868696E" HEIGHT=300 WIDTH=400>
</OBJECT>HTML Parameters
These are parameters you can set on PARAM tags on HTML."FILE"
type = ASCII [Must]
sample <PARAM NAME="FILE" VALUE="/data.rbd">"SITE"
type = ASCII [Option]
sample <PARAM NAME="SITE" VALUE="url1=http://www.media-juggler.co.jp,url2=http://www.render-blade.com">By clicking "rbx_go_html_url1.lwo", then show "http://www.media-juggler.co.jp"
"AUTORUN"
type = TRUE or FALSE [Option]
sample <PARAM NAME="AUTORUN" VALUE=FALSE>After loading Render Blade, setting to play rbd files soon or not.
Default setting is 'TRUE'."PRELOAD"
type = TRUE or FALSE [Option]
sample <PARAM NAME="PRELOAD" VALUE=FALSE>After loading Render Blade, setting to start loading rbd files or not.
Default setting is 'FALSE'.
This parameter can be used only "AUTORUN"is 'FALSE'"LOOP"
type = Natural Num [Option]
sample <PARAM NAME = "LOOP" VALUE=2>Setting the times of playback.
Looping playback is set by '-1'. '0' is same as '1'
Default setting is '-1'"LOG"
type = TRUE or FALSE [Option]
sample <PARAM NAME = "LOG" VALUE=TRUE>Setting output log files "RenderBlade.log" or not.
Default setting is 'FALSE'. But some logs are output when Render Blade works wrong.
"RenderBlade.log" is output same folder as IE. It's usually desktop if you have IE icon on your desktop.Method
Explaining method that you can call from Script language.
"Play"
argument : nothing
return value : nothing
Sample : VBScript:RenderBlade.Play()Loading rbd files and start to playback.
When "PRELOAD"is 'TRUE', Loding file phase is skipped and just start to playback."Pause"
argument : nothing
return value : nothing
Sample : VBScript:RenderBlade.Pause()To Pause or playback again rbd files.
"ChangeCamera"
argument : camera number
return value : nothing
Sample : VBScript:RenderBlade.ChangeCamera(2)Changing cameras at "Multi Camera" files. Nothing happen single camera scene.
Camera Num is 1 to 9. If you input other num, it will be recognized 1 or 9."GetFrameCnt"
argument : nothing
return value : long
Sample :Sub IsPlay_onClick()
Cnt = RenderBlade.GetFrameCnt()
End SubFeedback the number of frames of rbd files on playing.
"GetFramePos"
argument : nothing
return value : long
Sample :Sub IsPlay_onClick()
Pos = RenderBlade.GetFramePos()
End SubFeedback the now frame number of rbd files on playing.
"Finish"
argument : nothing
return value : nothing
Sample :Sub RenderBlade_Finish()
MsgBox "Movie is END"
End Sub"Finish" is called from Render Blade when the rbd is end to playback.
EOF