Website update: 2013-07-01
Mon, 01/07/2013 - 14:25
Rich Text Editor plugins
Three plugins have been added to the CKEditor:
- Insert X3D World
- Format as Logo code
- Format as X3D code
Users can now use the three plugins when posing in forum, writing a blog or a wiki page. Below is a screenshot of the tools.
Here are some examples:
X3D World + Logo code
; an icecream cone ; CS ; clear screen UP 0.8 ; move up 0.8 meter SETMAT 10 2 ; set material with index 10,2 BALL ; create a ball DOWN 0.8 ; move down 0.8 meter TL 180 ; tilt left 180 degrees, this is same as flip SETSCALEY 1.2 ; make the cone longer CONE ; create a cone SELECT OBJECT ; select the object just created (cone) SETIT 0 33 ; set image texture index 0, 33
X3D code
<X3D> <Scene> <Viewpoint description="default" position="-1.5793 1.0753 2.6882" orientation="-0.3717 -0.9275 0.0405 0.5596" /> <Background description="Underwater" skyColor="1 1 1,0.35 0.65 0.65" skyAngle="1.5708" groundColor="0.15 0.3 0.35,0.35 0.65 0.65" groundAngle="1.5708" /> <NavigationInfo description='default' type='"EXAMINE" "ANY"' /> <Transform id="obj_0" translation="0 0.8 0" rotation="0 0 1 0" scale="1 1.1 1" render="true" center="0,0,0" scaleOrientation="0,0,0,0"> <Shape id="obj_0_shp" render="true"> <Appearance id="obj_0_app"> <Material id="obj_0_mat" diffuseColor=".53 .1 .25" emissiveColor=".3 .09 .11" specularColor="0 0 0" ambientIntensity="0" shininess="0" transparency="0"> </Material> </Appearance> <Sphere id="obj_0_ball" radius="0.5" solid="true" ccw="true" subdivision="24,24"> </Sphere> </Shape> </Transform> <Transform id="obj_1" translation="0 0 0" rotation="0.0000 0.0000 1.0000 3.1416" scale="1 1.2 1" render="true" center="0,0,0" scaleOrientation="0,0,0,0"> <Shape id="obj_1_shp" render="true"> <Appearance id="obj_1_app"> <Material id="obj_1_mat" diffuseColor=".53 .1 .25" emissiveColor=".3 .09 .11" specularColor="0 0 0" ambientIntensity="0" shininess="0" transparency="0"> </Material> <ImageTexture id="obj_1_imgTex" url="/VRM2/resource/texture/brick_and_wall/33.jpg" repeatS="true" repeatT="true" scale="true" hidechildren="true"> </ImageTexture> <TextureTransform id="obj_1_texTran" scale="1 1" translation="0 0" rotation="0" center="0,0"> </TextureTransform> </Appearance> <Cone id="obj_1_cone" bottomRadius="0.5" height="1" solid="true" ccw="true" bottom="true" subdivision="32" side="true"> </Cone> </Shape> </Transform> </Scene> </X3D>
Please report bugs or feature requests to the forum.
Files: icecream.x3d icecream.logo