Difference between revisions of "RENDER 3D EXAMPLES ToBeRectified"

From ZCubes Wiki
Jump to navigation Jump to search
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= RENDER 3D EXAMPLES WITH ISSUES =
 
= RENDER 3D EXAMPLES WITH ISSUES =
 +
 +
<pre>
  
 
// extrude testing heart
 
// extrude testing heart
Line 15: Line 17:
 
);""
 
);""
  
<u>Test Comments</u> : Not Working
+
Test Comments: Not Working
 +
 
 +
New test comments[24 June, 2021]: Not Working
 
---------------------------------------------------------------------------------------
 
---------------------------------------------------------------------------------------
  
Line 27: Line 31:
 
);""
 
);""
  
<u>Test Comments</u> : Working (Output does not change with change in material e.g standard, normal etc.)
+
Test Comments: Working (but Output does not change with change in material e.g standard, normal etc.)
 +
 
 +
New test comments[24 June, 2021]: Working (but Output does not change with change in material e.g standard, normal etc.)
 
---------------------------------------------------------------------------------------
 
---------------------------------------------------------------------------------------
  
Line 40: Line 46:
 
);""
 
);""
  
<u>Test Comments</u> : Working (Does not work/change if the property is changed to ‘invisible’ for flags ‘true’ or ‘false)
+
Test Comments: Working (but does not work/change if the property is changed to ‘invisible’ for flags ‘true’ or ‘false)
Image: trefoil_vivian_2.png
+
 
 +
New test comments[24 June, 2021]: Working. Now the output changes for property ='visible' and flags 'true' or 'false'.  
 +
 
 +
Not working if the property is changed to ‘invisible’ and flags are set to ‘true’.
 +
 
 
--------------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------------
  
Line 54: Line 64:
 
);""
 
);""
  
<u>Test Comments</u>: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)
+
Test Comments: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)
 +
 
 +
New test comments[24 June, 2021]: Comments same as above.
  
 
--------------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------------
Line 67: Line 79:
 
);""
 
);""
  
<u>Test Comments</u>: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)
+
Test Comments: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)
 +
 
 +
New test comments[24 June, 2021]: Comments same as above.
  
 
--------------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------------
 +
// soldier test from config
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["grid" , , [0,0,0] ,[200,100,2] , 0x00ff00 , "yellow" ,false , "phong"],
 +
["load" , "soldier" , [1,3,3] ,[5,20,20] , 0x00ff00 ,  ,false , "phong"]
 +
]
 +
);
 +
""
 +
 +
Test Comments: Not Working (Soldier is not getting loaded)
 +
 +
New test comments[24 June, 2021]: Not Working (Soldier is not getting loaded)
 +
--------------------------------------------------------------
 +
 +
// parrot
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["grid" , , [0,0,0] ,[200,100,2] , 0x00ff00 , "yellow" ,false , "phong"],
 +
["load" , "parrot" , [1,3,3] ,[5,20,20] , 0x00ff00 ,  ,false , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Parrot is not getting loaded)
 +
 +
New test comments[24 June, 2021]: Not Working (Parrot is not getting loaded)
 +
--------------------------------------------------------------
 +
//text
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["red"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["text" , "ZCubes" , [3,3,3] ,[5,2,20] , 0x00ff00 , "yellow" ,true , "backgroundreflection"]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working (Text is not getting displayed)
 +
 +
New test comments[24 June, 2021]: Working
 +
--------------------------------------------------------------
 +
 +
// bevelled text
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["red"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["text" , "ZCubes" , [3,3,3] ,[5,2,20,true] , 0x00ff00 , "yellow" ,true , "backgroundreflection"]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working (Text is not getting displayed)
 +
 +
New test comments[24 June, 2021]: Working
 +
--------------------------------------------------------------
 +
 +
 +
// background and sphere with reflection
 +
// did not seem to work
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["pisa"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
//["cube" , , [2,2,2] ,[0.5,0.1,0.1] , 0x00ff00 , "yellow" ,true , "backgroundreflection"],
 +
["sphere" , , [3,3,3] ,[5,50,50] , 0x00ff00 , "yellow" ,true , "backgroundreflection"]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
// svg monalisa load
 +
//if monalisa svg was assigned, this was loaded, but was not visible until pisa was made background then could see it
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["white"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["load.svg" , monalisa , [3,3,3] ,[5,50,50] , 0x00ff00 , , , ]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
 +
 +
-fbx load - had to change the path for mimetype allowed.
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
/*["scene" , [
 +
["background"],
 +
["pisa"]
 +
],
 +
, , , , ,],
 +
*/
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[275/*60 */ ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
//["cube" , , [2,2,2] ,[0.5,0.1,0.1] , 0x00ff00 , "yellow" ,true , "backgroundreflection"],
 +
["load" , "../threefull/examples/models/fbx/Samba Dancing.fbx" , [3,3,3] ,[5,50,50] , 0x00ff00 , "yellow" ,true , ]
 +
]
 +
)
 +
""
 +
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
//RENDER3DDEV(
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["pisa"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
//["cube" , , [2,2,2] ,[0.5,0.1,0.1] , 0x00ff00 , "yellow" ,true , "backgroundreflection"],
 +
["sphere" , , [3,3,3] ,[5,50,50] , 0x00ff00 , "yellow" ,true , "backgroundreflection"]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
// load objects with ferrari, and do this to rotate the wheels. on #bg
 +
RENDER3D(
 +
[
 +
["type" , "name" , "animation" ],
 +
["change" , "wheel_fl" , [["rpmx"],[-60]] ],
 +
["change" , "wheel_fr" , [["rpmx"],[-60]] ],
 +
["change" , "wheel_rl" , [["rpmx"],[-60]] ],
 +
["change" , "wheel_rr" , [["rpmx"],[-60]] ]
 +
],
 +
"#bg"
 +
);""
 +
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
------------------------------------------------------------
 +
 +
// rose 2
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
[0xf0f0f0]
 +
], , , , ,],
 +
 +
["load" , "../threefull/other/rose 2.obj" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[24 June, 2021]: Not Working
 +
------------------------------------------------------------
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose 2.obj" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Background displayed, Rose not displayed)
 +
 +
New test comments[24 June, 2021]: Not Working
 +
 +
------------------------------------------------------------
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"aut" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
["load" , "../threefull/other/female/rose.obj" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
 +
Test Comments: Not Working (Background displayed, Rose not displayed)
 +
 +
New test comments[24 June, 2021]: Not Working
 +
 +
------------------------------------------------------------
 +
// gave black
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose2/rose.obj" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Background displayed, Rose not displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.glb" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Background displayed, Rose not displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.fbx" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Background displayed, Rose not displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
//glb shows rose right. really tiny and had to be scaled. why?
 +
// made scale to be 10
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.glb" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
 +
//alien obj file
 +
// why is it so far to the top?
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/alien/alien.obj" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
 +
 +
//cubes fbx file. did not work since this is old version
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/cubes/cubes.fbx" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
//cubes glb file. did not work since this is old version
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/cubes/cubes.glb" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
 +
 +
//glb rendered, flb had issues with transparency
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower.glb" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower 2.gltf" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower 5.gltf" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
------------------------------------------------------------
 +
 +
 +
// physics started working after quaternion of plane was set 2:15 PM 12/8/2020
 +
// basics work in this
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material", "mass" ],
 +
["physics"],
 +
["floor" , , [0,0,-3] ,[500,1,500] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [0,10,0] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [10,10,0] ,[3,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["grid" , , [0,0,0] ,[200,100,2] , 0x00ff00 , "yellow" ,false , "phong"],
 +
 +
]
 +
);""
 +
 +
Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
-still some axis confusion, or camera confusion.
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material", "mass" ],
 +
["physics"],
 +
["floor" , , [0,0,-3] ,[50,50,1] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [0,100,0] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [10,100,0] ,[3,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["grid" , , [0,0,0] ,[50,50,2] , 0x00ff00 , "yellow" ,false , "phong"],
 +
 +
]
 +
);""
 +
Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
-look better
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material", "mass" ],
 +
["physics"],
 +
["floor" , , [0,0,-3] ,[50,50,1] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [0,10,0] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["sphere" , , [10,20,0] ,[3,20,20] , 0x00ff00 , "yellow" ,false , "phong", 10],
 +
["grid" , , [0,0,0] ,[50,50,2] , 0x00ff00 , "yellow" ,false , "phong"],
 +
 +
]
 +
);""
 +
Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
 +
 +
 +
// fruits
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["loa" , "https://kappaomega.zcubes.com/threetest/threefull/other/fruits/apple and orange.glb" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
// cups
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/cups/cup.glb" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
// html - these positioning did not seem correct. see why.
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["html" ,
 +
"<div>TEST</div>"
 +
, [1,1,1] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
["html" ,
 +
"<div>TEST2</div>"
 +
, [2,2,2] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
["html" ,
 +
"<div>TEST2</div>"
 +
, [4,4,2] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
------------------------------------------------------------
 +
 +
// html - these positioning did not seem correct. see why.
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["html" ,
 +
"<div style='font-size:8px'>TEST</div>"
 +
, [1,1,1] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
["html" ,
 +
"<div style='font-size:8px'>TEST2</div>"
 +
, [20,2,20] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
["html" ,
 +
"<div style='font-size:8px'>TEST2</div>"
 +
, [40,4,42] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"],
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
------------------------------------------------------------
 +
 +
// this did not work correctly
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" , els.map(e=>e.SYMBOL), SPHERICALPOINTS(118,800), [1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong",118]
 +
]
 +
);
 +
""
 +
Test Comments: Working (But zoom-in, zoom-out not working)
 +
 +
New test comments[25 June, 2021]: Not Working, Error: 'els' not defined.
 +
 +
-------------------------------------------------------------
 +
 +
// this is too large as font. need to see what to do to make it right
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" , els.map(e=>"<div>"+e.SYMBOL+"</div>"), SPHERICALPOINTS(118,800), [1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong",118]
 +
]
 +
);
 +
""
 +
Test Comments: Working (But zoom-in, zoom-out not working)
 +
 +
New test comments[25 June, 2021]: Not Working, Error: 'els' not defined.
 +
 +
-------------------------------------------------------------
 +
 +
// el.add(elchild) seems to be undefined
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
"<div style='font-size:8px'>TEST</div>"
 +
, SPHERICALPOINTS(20,100) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 20]
 +
]
 +
);
 +
""
 +
Test Comments: Working (But zoom-in, zoom-out not working)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
--------------------------------------------------------------
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
"<div style='font-size:8px'>TEST</div>"
 +
, SPHERICALPOINTS(20,100) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 20]
 +
]
 +
);
 +
""
 +
Test Comments: Working (But zoom-in, zoom-out not working)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
------------------------------------------------------------
 +
 +
// works
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
"TEST"
 +
, SPHERICALPOINTS(117,100) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 117]
 +
]
 +
);
 +
""
 +
Test Comments: Working (But zoom-in, zoom-out not working)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
-------------------------------------------------------------
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
"TEST"
 +
, HELICALPOINTS(118,100) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
 +
--------------------------------------------------------------
 +
 +
// element names in helical format
 +
LOAD("elements",
 +
function ()
 +
{
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+"")
 +
, HELICALPOINTS(118,100) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118]
 +
]
 +
);
 +
""
 +
}
 +
 +
)
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
 +
 +
// element names in double helical format with 90 deg rotation
 +
helix1=HELICALPOINTS(118,100);
 +
helix2=ROTATEPOINTS(helix1);
 +
LOAD("elements",
 +
function ()
 +
{
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+""), helix1 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+""), helix2 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118]
 +
]
 +
);
 +
""
 +
}
 +
 +
)
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
 +
 +
 +
// element names in double helical format
 +
helix1=HELICALPOINTS(118,100);
 +
helix2=ROTATEPOINTS(helix1,Math.PI);
 +
LOAD("elements",
 +
function ()
 +
{
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+""), helix1 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+""), helix2 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118]
 +
]
 +
);
 +
""
 +
}
 +
 +
)
 +
 +
Test Comments: Working (But all elements are not displayed. Font is large)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
 +
-------------------------------------------------------------
 +
// dna in double helical format
 +
// d1="ATCG";
 +
// d2="TAGC";
 +
// dna=(1..100@(function (){var r=RANDINT(4);return([d1[r],d2[r]])}) )~;
 +
 +
d1="ATCG";
 +
d2="TAGC";
 +
d=(1..100@(function (){var r=RANDINT(4);return([d1[r],d2[r]])}) )~;
 +
dna=(d[0]~);//.print()
 +
 +
helix1=HELICALPOINTS(118,100);
 +
helix2=ROTATEPOINTS(helix1,Math.PI);
 +
LOAD("elements",
 +
function ()
 +
{
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
dna[0], helix1 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 100],
 +
["html" ,
 +
dna[1], helix2 ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 100]
 +
]
 +
);
 +
""
 +
}
 +
 +
)
 +
 +
Test Comments: Working (But pattern is not displayed fully. Also zoom-in and zoom-out not happening)
 +
 +
New test comments[25 June, 2021]: Comments same as above.
 +
--------------------------------------------------------------
 +
// element names in helical format with conical angle
 +
LOAD("elements",
 +
function ()
 +
{
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ,"count"],
 +
["html" ,
 +
ELEMENT(1..118).map(e=>e+"")
 +
, SCALEPOINTS(HELICALPOINTS(118,100),1..118@(x=>x/118)) ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong", 118]
 +
]
 +
);
 +
""
 +
}
 +
 +
)
 +
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not Working
 +
--------------------------------------------------------------
 +
// how to get rid of the yellow area etc. and get the camera to zoom in right
 +
 +
// point
 +
// sphere and cube - better looking
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates","material"],
 +
["point", "red",[1,30,30],
 +
[
 +
[1,1,2],
 +
[2,1,2],
 +
[3,1,2]
 +
], [["size"],[0.1]] ]
 +
]
 +
)
 +
""
 +
 +
Test Comments: Not sure if same is expected. Points displayed are not ‘Red’)
 +
 +
New test comments[25 June, 2021]: Same as above
 +
--------------------------------------------------------------
 +
// points
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates","material"],
 +
["points", "red",[1,30,30],
 +
1..100@(x=>[x,1,x]) .map(x=>x[0]) , [["size"],[0.5]] ]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
New test comments[25 June, 2021]: Not working
 +
 +
--------------------------------------------------------------
 +
 +
// rayscale etc
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates"],
 +
["lines", "red",[1,30,30],HELICALPOINTS(118,800).raysscale(1..118.map(x=>-x))]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working(Just the Black background displayed)
 +
 +
New test comments[25 June, 2021]: Not working
 +
--------------------------------------------------------------
 +
 +
//RENDER3DDEV
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["pisa"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
//["cube" , , [2,2,2] ,[0.5,0.1,0.1] , 0x00ff00 , "yellow" ,true , "backgroundreflection"],
 +
["sphere" , , [3,3,3] ,[5,50,50] , 0x00ff00 , "yellow" ,true , "backgroundreflection"]
 +
]
 +
)
 +
""
 +
 +
 +
Test Comments: Working(But it is displaying  single sphere with the helper)
 +
 +
Test Comments[25 June, 2021]: Not Working(Just the Black background displayed)
 +
-------------------------------------------------------------------------------
 +
 +
// multiple spheres
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material","count" ],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[75 ,"auto" ,0.1 ,1000 , [50,50,50] , 3]
 +
], , , , , ,],
 +
 +
["sphere" , , i=>[3*i,i*3,3] ,[5,50,50] , 0x00ff00 , ["yellow","red"] ,true, , 10]
 +
]
 +
)
 +
""
 +
Test Comments: Working(But Rectlight, fog and Sphere and Light gives the same result)
 +
 +
Test Comments[25 June, 2021]: Single sphere displayed. Same output for below codes rect light, fog, Sphere and light
 +
------------------------------------------------------------------------------------
 +
//rect light
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["red"]
 +
],
 +
],
 +
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["light" ,
 +
[
 +
["type" , "color", "intensity", "width", "height"],
 +
["rectarealight" , "red", 0.6, 10, 10]
 +
] ,
 +
[1,1,-5] ,[5,2,20] , 0x00ff00 , "yellow" ,false , "phong"],
 +
["sphere" , , [1,3,3] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong"]
 +
]
 +
)
 +
""
 +
 +
// fog
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["red"]
 +
],
 +
],
 +
 +
["fog" , [
 +
["color","near","far"],
 +
["red",10,2000]
 +
],
 +
, , , , ,],
 +
/* ["fog" , [
 +
["color","density"],
 +
["red",0.1]
 +
],
 +
, , , , ,],
 +
*/
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["light" ,
 +
[
 +
["type" , "color", "intensity", "distance", "decay"],
 +
["pointlight" , "red", 0.6, 100, 2]
 +
] ,
 +
[1,1,-5] ,[5,2,20] , 0x00ff00 , "yellow" ,false , "phong"],
 +
["sphere" , , [1,3,3] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong"]
 +
]
 +
)
 +
""
 +
 +
 +
 +
//sphere and light
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
["red"]
 +
],
 +
, , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ,"focallength"],
 +
[60 ,"auto" ,0.1 ,1000 , [0,0,5] , 3]
 +
], , , , ,],
 +
 +
["light" ,
 +
[
 +
["type" , "color", "intensity", "distance", "decay"],
 +
["pointlight" , "red", 0.6, 100, 2]
 +
] ,
 +
[1,1,-5] ,[5,2,20] , 0x00ff00 , "yellow" ,false , "phong"],
 +
["sphere" , , [1,3,3] ,[5,20,20] , 0x00ff00 , "yellow" ,false , "phong"]
 +
]
 +
)
 +
""
 +
 +
--------------------------------------------------------------------------------
 +
// simple sphere and viewport
 +
// not working yet
 +
// added controls and still has issues
 +
RENDER3D(
 +
[
 +
["type" ],
 +
["sphere"],
 +
["viewport"]
 +
]
 +
)
 +
""
 +
Test comments: looks like still incomplete
 +
 +
Test Comments[25 June, 2021]: Working
 +
--------------------------------------------------------------------------------
 +
// forest of trees.trying different size
 +
// this did not work as well
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates","count"],
 +
["tree", "red",((x,y)=>[RANDINT(100),x,y]),
 +
((x,y)=>[x,0,y]),IM(15) ]
 +
]
 +
)
 +
""
 +
Test comments: Does not look like a forest of trees.
 +
 +
Test Comments[25 June, 2021]: Comments same as above
 +
--------------------------------------------------------------------------------
 +
// render download command
 +
RENDER(
 +
[
 +
["type","cx", "cy", "r","coordinates","label","fill","stroke","stroke-width","font-size","format"],
 +
["circle",100,100,60,,,"purple","purple"],
 +
["circle",100,100,30,,,"white","white"],
 +
["text",,,,[90,65],"1",,"black",3,40],
 +
["download",,,,[90,65],"1",,"black",3,40,"png"]
 +
]);
 +
""
 +
Test Comments: Working (Not sure if the ‘download’ command is working. How to check?)
 +
 +
Test Comments[25 June, 2021]: Comments same as above
 +
--------------------------------------------------------------------------------
 +
 +
//tilt
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["load" , "https://three.zcubes.com/examples/models/tilt/BRUSH_DOME.tilt" , [-10,10,5] ,[5,5,5] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------
 +
 +
 +
//tilt
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["load" , "https://github.com/mrdoob/three.js/blob/master/examples/models/tilt/BRUSH_DOME.tilt" , [-10,10,5] ,[5,5,5] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------
 +
// xyz
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
//["load" , "https://three.zcubes.com/examples/models/xyz/helix_201.xyz" , [-10,10,5] ,[50,50,50] , 0x00ff00 , "yellow" ,true , "phong"]
 +
["load" , "../threefull/other/examples/helix_201.xyz" , [-10,10,5] ,[50,50,50] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------
 +
// can also provide headers and rows vertically also
 +
// repeatedly run this to keep adding spheres]
 +
RENDER3DX(
 +
[
 +
["type" ,"sphere"],
 +
["settings" ,],
 +
["fill", "red"]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working (is it RENDER3DX or RENDER3D?)
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------------------------------------------------------------------
 +
// cars
 +
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/car1/car.glb" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working (Just the grass background is displayed)
 +
 +
Test Comments[25 June, 2021]: Comments same as above
 +
-------------------------------------------------------------------------------------------------------------------------
 +
// stacy
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["load" , "https://s3-us-west-2.amazonaws.com/s.cdpn.io/1376484/stacy_lightweight.glb" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Working
 +
-------------------------------------------------------------------------------------------------------------------------
 +
 +
// gltf glb and fbx (fbx uses rhino as filename)
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["scene" , [
 +
["background"],
 +
['../threefull/examples/textures/terrain/grasslight-big.jpg']
 +
], , , , ,],
 +
["camera" , [
 +
["fov" ,"aspect" ,"near" ,"far", "position" ],
 +
[90 ,"auto" ,0.1 ,1000 , [0,0,30] ]
 +
], , , , ,],
 +
 +
["load" , "https://kappaomega.zcubes.com/threetest/threefull/other/rhino/rhinoceros.gltf" , [0,0,0] ,[10,10,10] , 0x00ff00 ,  ,true , "phong"]
 +
]
 +
);
 +
""
 +
// EARTH MOON LIGHT TO SHOW PHASES OF THE MOON WITH LIGHT MOVING IN PLACE OF SUN
 +
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------------------------------------------------------------------
 +
// place rectangles at spherical points with lookat defined
 +
pts=SPHERICALPOINTS(118,10);
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates","material","lookat"],
 +
["cube", "red",[1,1,1], pts, "phong",pts.rayslookat() ]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working
 +
-------------------------------------------------------------------------------------------------------------------------
 +
// helical cubes
 +
pts=HELICALPOINTS(30,10);
 +
RENDER3D(
 +
[
 +
["type" ,"fill", "size", "coordinates","material","lookat","count"],
 +
["cube", "random",[[0.1,0.10,0.10]], pts, "phong",pts.rayslookat()  ,pts.length ]
 +
]
 +
)
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Working . Points displayed are very small.
 +
-------------------------------------------------------------------------------------------------------------------------
 +
//A forest of trees----The result is showing as "null"
 +
// RENDER3D(
 +
// [
 +
// ["type" ,"fill", "size", "coordinates","material","count"],
 +
// ["tree", "red",[1,30,30],
 +
// 1..100@(x=>[x,1,x]), [["size"],[0.05]],15 ]
 +
// ]
 +
// )
 +
// ""
 +
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Not Working.
 +
-------------------------------------------------------------------------------------------------------------------------
 +
//Bunny is not getting loaded-Just the Black background displayed
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["load" , "https://three.zcubes.com/examples/models/draco/bunny.drc" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments: Not Working
 +
 +
Test Comments[25 June, 2021]: Working.
 +
-------------------------------------------------------------------------------------------------------------------------
 +
//Zaghetto is not getting loaded-Just the Black background displayed
 +
RENDER3D(
 +
[
 +
["type" , "settings" , "coordinates", "size" , "stroke" , "fill", "helper", "material" ],
 +
["load" , "https://three.zcubes.com/examples/models/pcd/binary/Zaghetto.pcd" , [-10,10,5] ,[1.5,1,1] , 0x00ff00 , "yellow" ,true , "phong"]
 +
]
 +
);
 +
""
 +
Test Comments[25 June, 2021]: Working.
 +
 +
</pre>

Latest revision as of 05:56, 25 June 2021

RENDER 3D EXAMPLES WITH ISSUES


// extrude testing heart
// did not work or moved into another one
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material","extrude"	],
		["heart"		,			,	[[1,3,3],[2,3,3],[3,2,1]]		,[50,50,50]		, 0x00ff00		, "yellow" ,false	, "phong",
		[
			["extrudePath"],
			[[[1,2,0],[2,2,3],[3,3,0]]]
		]
		]
	]
);""

Test Comments: Not Working

New test comments[24 June, 2021]: Not Working
---------------------------------------------------------------------------------------

// did not work
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"],
		["curve"		,"helix",		,[1,1,1]		, 0x00ff00		, "yellow" ,false	, "phong"
		]
	]
);""

Test Comments: Working (but Output does not change with change in material e.g standard, normal etc.)

New test comments[24 June, 2021]: Working (but Output does not change with change in material e.g standard, normal etc.)
---------------------------------------------------------------------------------------

// visible and invisible object - marking objects to be invisible

RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material","visible"],
		["knot"		,"tre",		,[10,1,1]		, 0x00ff00		, "yellow" ,false	, "phong",false],
		["knot"		,"viv",		,[10,1,1]		, 0x00ff00		, "red" ,false	, "phong",true]
	]
);""

Test Comments: Working (but does not work/change if the property is changed to ‘invisible’ for flags ‘true’ or ‘false)

New test comments[24 June, 2021]: Working. Now the output changes for property ='visible' and flags 'true' or 'false'. 

 Not working if the property is changed to ‘invisible’ and flags are set to ‘true’.

--------------------------------------------------------------------------------------

// with audio

RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["audio"		,"../threefull/examples/sounds/376737_Skullbeatz___Bad_Cat_Maste.ogg"			,	[1,3,3]		,[["loop","volume"],[true,0.8]]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["sphere"		,			,	[1,3,3]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong"]
	]
);""

Test Comments: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)

New test comments[24 June, 2021]: Comments same as above.

--------------------------------------------------------------------------------------
// with positional audio

RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["audio"		,"../threefull/examples/sounds/376737_Skullbeatz___Bad_Cat_Maste.ogg"			,	[1,3,3]		,[["loop","volume","type","refdistance"],[true,0.8,"positional",20]]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["sphere"		,			,	[1,3,3]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong"]
	]
);""

Test Comments: Working (but audio does not stop even though the output window is closed and also even if the command interface window is closed. Need to close/refresh the zprod window itself)

New test comments[24 June, 2021]: Comments same as above.

--------------------------------------------------------------------------------------
// soldier test from config
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["grid"		,			,	[0,0,0]		,[200,100,2]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["load"		,	"soldier"		,	[1,3,3]		,[5,20,20]		, 0x00ff00		,  ,false	, "phong"]
	]
);
""

Test Comments: Not Working (Soldier is not getting loaded)

New test comments[24 June, 2021]: Not Working (Soldier is not getting loaded)
--------------------------------------------------------------

// parrot
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["grid"		,			,	[0,0,0]		,[200,100,2]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["load"		,	"parrot"		,	[1,3,3]		,[5,20,20]		, 0x00ff00		,  ,false	, "phong"]
	]
);
""
Test Comments: Not Working (Parrot is not getting loaded)

New test comments[24 June, 2021]: Not Working (Parrot is not getting loaded)
--------------------------------------------------------------
//text			
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["red"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["text"		,	"ZCubes"		,	[3,3,3]		,[5,2,20]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"]
	]
)
""
Test Comments: Not Working (Text is not getting displayed)

New test comments[24 June, 2021]: Working
--------------------------------------------------------------

// bevelled text
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["red"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["text"		,	"ZCubes"		,	[3,3,3]		,[5,2,20,true]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"]
	]
)
""	
Test Comments: Not Working (Text is not getting displayed)

New test comments[24 June, 2021]: Working
--------------------------------------------------------------


// background and sphere with reflection	
// did not seem to work 		
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["pisa"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		//["cube"		,			,	[2,2,2]		,[0.5,0.1,0.1]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"],
		["sphere"		,			,	[3,3,3]		,[5,50,50]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"]
	]
)
""
Test Comments: Not Working 

New test comments[24 June, 2021]: Not Working
--------------------------------------------------------------
// svg monalisa load
//if monalisa svg was assigned, this was loaded, but was not visible until pisa was made background then could see it
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["white"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["load.svg"		,	monalisa		,	[3,3,3]		,[5,50,50]		, 0x00ff00		, ,	, ]
	]
)
""
Test Comments: Not Working 

New test comments[24 June, 2021]: Not Working
--------------------------------------------------------------

		
-fbx load - had to change the path for mimetype allowed.
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		/*["scene"	,	[
							["background"],
							["pisa"]
						],
										,	,	,	,	,],
		*/
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[275/*60	*/	,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		//["cube"		,			,	[2,2,2]		,[0.5,0.1,0.1]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"],
		["load"		,	"../threefull/examples/models/fbx/Samba Dancing.fbx"		,	[3,3,3]		,[5,50,50]		, 0x00ff00		, "yellow" ,true	, ]
	]
)
""

Test Comments: Not Working 

New test comments[24 June, 2021]: Not Working
--------------------------------------------------------------
//RENDER3DDEV(
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["pisa"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60	,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		//["cube"		,			,	[2,2,2]		,[0.5,0.1,0.1]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"],
		["sphere"		,			,	[3,3,3]		,[5,50,50]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"]
	]
)
""
Test Comments: Not Working 

New test comments[24 June, 2021]: Not Working
--------------------------------------------------------------
// load objects with ferrari, and do this to rotate the wheels. on #bg
RENDER3D(
	[
		["type"		,	"name"		, 	"animation"			],
		["change"	,	"wheel_fl"	,	[["rpmx"],[-60]]	],
		["change"	,	"wheel_fr"	,	[["rpmx"],[-60]]	],
		["change"	,	"wheel_rl"	,	[["rpmx"],[-60]]	],
		["change"	,	"wheel_rr"	,	[["rpmx"],[-60]]	]
	],
	"#bg"
);""

Test Comments: Not Working

New test comments[24 June, 2021]: Not Working
------------------------------------------------------------

// rose 2
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							[0xf0f0f0]
						],	,	,	,	,],

	["load"		,	"../threefull/other/rose 2.obj"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working

New test comments[24 June, 2021]: Not Working
------------------------------------------------------------
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose 2.obj"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Background displayed, Rose not displayed)

New test comments[24 June, 2021]: Not Working

------------------------------------------------------------
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"aut"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],
	["load"		,	"../threefull/other/female/rose.obj"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""

Test Comments: Not Working (Background displayed, Rose not displayed)

New test comments[24 June, 2021]: Not Working

------------------------------------------------------------
// gave black
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose2/rose.obj"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Background displayed, Rose not displayed)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------


RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.glb"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Background displayed, Rose not displayed)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------


RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.fbx"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Background displayed, Rose not displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------
//glb shows rose right. really tiny and had to be scaled. why?
// made scale to be 10
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose3/rose 2.glb"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""

Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------


//alien obj file
// why is it so far to the top?
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/alien/alien.obj"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------



//cubes fbx file. did not work since this is old version
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/cubes/cubes.fbx"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------

//cubes glb file. did not work since this is old version
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/cubes/cubes.glb"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------



//glb rendered, flb had issues with transparency
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower.glb"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------

RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower 2.gltf"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------



RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rose/rose flower 5.gltf"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.
------------------------------------------------------------


// physics started working after quaternion of plane was set 2:15 PM 12/8/2020
// basics work in this
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material", "mass"	],
		["physics"],
		["floor"		,			,	[0,0,-3]		,[500,1,500]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[0,10,0]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[10,10,0]		,[3,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["grid"		,			,	[0,0,0]		,[200,100,2]		, 0x00ff00		, "yellow" ,false	, "phong"],
		
	]
);""

Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------

-still some axis confusion, or camera confusion.
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material", "mass"	],
		["physics"],
		["floor"		,			,	[0,0,-3]		,[50,50,1]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[0,100,0]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[10,100,0]		,[3,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["grid"		,			,	[0,0,0]		,[50,50,2]		, 0x00ff00		, "yellow" ,false	, "phong"],
		
	]
);""
Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------

-look better
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material", "mass"	],
		["physics"],
		["floor"		,			,	[0,0,-3]		,[50,50,1]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[0,10,0]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["sphere"		,			,	[10,20,0]		,[3,20,20]		, 0x00ff00		, "yellow" ,false	, "phong", 10],
		["grid"		,			,	[0,0,0]		,[50,50,2]		, 0x00ff00		, "yellow" ,false	, "phong"],
		
	]
);""
Test Comments: Working partially (Just the floor is displayed, not the sphere and grid)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------




// fruits

RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["loa"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/fruits/apple and orange.glb"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------

// cups

RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/cups/cup.glb"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------
// html - these positioning did not seem correct. see why.
RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["html"	,
						"<div>TEST</div>"
									,	[1,1,1]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	["html"	,
						"<div>TEST2</div>"
									,	[2,2,2]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	["html"	,
						"<div>TEST2</div>"
									,	[4,4,2]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	]
);
""
Test Comments: Not Working
 
New test comments[25 June, 2021]: Not Working
------------------------------------------------------------

// html - these positioning did not seem correct. see why.
RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["html"	,
	 "<div style='font-size:8px'>TEST</div>"
									,	[1,1,1]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	["html"	,
						"<div style='font-size:8px'>TEST2</div>"
									,	[20,2,20]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	["html"	,
						"<div style='font-size:8px'>TEST2</div>"
									,	[40,4,42]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"],
	]
);
""
Test Comments: Not Working 

New test comments[25 June, 2021]: Not Working
------------------------------------------------------------

// this did not work correctly
RENDER3D(		
	[
		["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
		["html"	,	els.map(e=>e.SYMBOL),	SPHERICALPOINTS(118,800),	[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong",118]
	]
);
""
Test Comments: Working (But zoom-in, zoom-out not working)

New test comments[25 June, 2021]: Not Working, Error: 'els' not defined.

-------------------------------------------------------------

// this is too large as font. need to see what to do to make it right
RENDER3D(		
	[
		["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
		["html"	,	els.map(e=>"<div>"+e.SYMBOL+"</div>"),	SPHERICALPOINTS(118,800),	[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong",118]
	]
);
""
Test Comments: Working (But zoom-in, zoom-out not working)

New test comments[25 June, 2021]: Not Working, Error: 'els' not defined.

-------------------------------------------------------------

// el.add(elchild) seems to be undefined
RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
	["html"	,
	 "<div style='font-size:8px'>TEST</div>"
									,	SPHERICALPOINTS(20,100)		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 20]
	]
);
""
Test Comments: Working (But zoom-in, zoom-out not working)

New test comments[25 June, 2021]: Comments same as above.

--------------------------------------------------------------

RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
	["html"	,
	 "<div style='font-size:8px'>TEST</div>"
									,	SPHERICALPOINTS(20,100)		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 20]
	]
);
""
Test Comments: Working (But zoom-in, zoom-out not working)

New test comments[25 June, 2021]: Comments same as above.

------------------------------------------------------------

// works
RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
	["html"	,
	 "TEST"
									,	SPHERICALPOINTS(117,100)		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 117]
	]
);
""
Test Comments: Working (But zoom-in, zoom-out not working)

New test comments[25 June, 2021]: Comments same as above.

-------------------------------------------------------------

RENDER3D(		
	[
	["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
	["html"	,
	 "TEST"
									,	HELICALPOINTS(118,100)		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118]
	]
);
""
Test Comments: Not Working

New test comments[25 June, 2021]: Not Working

--------------------------------------------------------------

// element names in helical format
LOAD("elements",
	 function ()
	 {
		RENDER3D(		
			[
			["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
			["html"	,
			 ELEMENT(1..118).map(e=>e+"")
											,	HELICALPOINTS(118,100)		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118]
			]
		);
		""
	 }
	 
	)
Test Comments: Not Working

New test comments[25 June, 2021]: Not Working
--------------------------------------------------------------


// element names in double helical format with 90 deg rotation
helix1=HELICALPOINTS(118,100);
helix2=ROTATEPOINTS(helix1);
LOAD("elements",
	 function ()
	 {
		RENDER3D(		
			[
			["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
			["html"	,
			 ELEMENT(1..118).map(e=>e+""),	helix1		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118],
			["html"	,
			 ELEMENT(1..118).map(e=>e+""),	helix2		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118]
			]
		);
		""
	 }
	 
	)
Test Comments: Not Working

New test comments[25 June, 2021]: Not Working
--------------------------------------------------------------



// element names in double helical format
helix1=HELICALPOINTS(118,100);
helix2=ROTATEPOINTS(helix1,Math.PI);
LOAD("elements",
	 function ()
	 {
		RENDER3D(		
			[
			["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
			["html"	,
			 ELEMENT(1..118).map(e=>e+""),	helix1		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118],
			["html"	,
			 ELEMENT(1..118).map(e=>e+""),	helix2		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118]
			]
		);
		""
	 }
	 
	)

Test Comments: Working (But all elements are not displayed. Font is large)

New test comments[25 June, 2021]: Comments same as above.

-------------------------------------------------------------
// dna in double helical format
// d1="ATCG";
// d2="TAGC";
// dna=(1..100@(function (){var r=RANDINT(4);return([d1[r],d2[r]])}) )~;

d1="ATCG";
d2="TAGC";
d=(1..100@(function (){var r=RANDINT(4);return([d1[r],d2[r]])}) )~;
dna=(d[0]~);//.print()

helix1=HELICALPOINTS(118,100);
helix2=ROTATEPOINTS(helix1,Math.PI);
LOAD("elements",
	 function ()
	 {
		RENDER3D(		
			[
			["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
			["html"	,
			 dna[0],	helix1		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 100],
			["html"	,
			 dna[1],	helix2		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 100]
			]
		);
		""
	 }
	 
	)

Test Comments: Working (But pattern is not displayed fully. Also zoom-in and zoom-out not happening)

New test comments[25 June, 2021]: Comments same as above.
--------------------------------------------------------------
// element names in helical format with conical angle
LOAD("elements",
	 function ()
	 {
		RENDER3D(		
			[
			["type"			,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	,"count"],
			["html"	,
			 ELEMENT(1..118).map(e=>e+"")
											,	SCALEPOINTS(HELICALPOINTS(118,100),1..118@(x=>x/118))		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong", 118]
			]
		);
		""
	 }
	 
	)

Test Comments: Not Working

New test comments[25 June, 2021]: Not Working
--------------------------------------------------------------
// how to get rid of the yellow area etc. and get the camera to zoom in right

// point 
// sphere and cube - better looking
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates","material"],
		["point", "red",[1,30,30],
								[
									[1,1,2],	
									[2,1,2],	
									[3,1,2]	
								],	[["size"],[0.1]]	]
	]
)
""

Test Comments: Not sure if same is expected. Points displayed are not ‘Red’)

New test comments[25 June, 2021]: Same as above
--------------------------------------------------------------
// points
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates","material"],
		["points", "red",[1,30,30],
								1..100@(x=>[x,1,x]) .map(x=>x[0]) ,	[["size"],[0.5]]	]
	]
)
""
Test Comments: Not Working

New test comments[25 June, 2021]: Not working

--------------------------------------------------------------

// rayscale etc
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates"],
		["lines", "red",[1,30,30],HELICALPOINTS(118,800).raysscale(1..118.map(x=>-x))]
	]
)
""
Test Comments: Not Working(Just the Black background displayed)

New test comments[25 June, 2021]: Not working
--------------------------------------------------------------

//RENDER3DDEV
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["pisa"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60	,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		//["cube"		,			,	[2,2,2]		,[0.5,0.1,0.1]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"],
		["sphere"		,			,	[3,3,3]		,[5,50,50]		, 0x00ff00		, "yellow" ,true	, "backgroundreflection"]
	]
)
""


Test Comments: Working(But it is displaying  single sphere with the helper)

Test Comments[25 June, 2021]: Not Working(Just the Black background displayed)
-------------------------------------------------------------------------------

// multiple spheres
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material","count"	],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[75	,"auto"		,0.1	,1000 ,	[50,50,50]		, 3]
							],	,	,	,	,	,],

		["sphere"		,			,	i=>[3*i,i*3,3]	,[5,50,50]		, 0x00ff00		, ["yellow","red"] ,true,	,	10]
	]
)
""
Test Comments: Working(But Rectlight, fog and Sphere and Light gives the same result)

Test Comments[25 June, 2021]: Single sphere displayed. Same output for below codes rect light, fog, Sphere and light
------------------------------------------------------------------------------------
//rect light

RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["red"]
						],
					],
														
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["light"		, 
						[
							["type"			, "color", "intensity", "width", "height"],
							["rectarealight"	,	"red",	0.6,			10,		10]										
						]			,	
									[1,1,-5]		,[5,2,20]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["sphere"		,			,	[1,3,3]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong"]
	]
)
""	

// fog 
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["red"]
						],
					],
														
		["fog"	,	[
							["color","near","far"],
							["red",10,2000]
						],									
							,	,	,	,	,],
		/* ["fog"	,	[
							 ["color","density"],
							 ["red",0.1]
						 ],									
							 ,	,	,	,	,],
		*/								
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["light"		, 
						[
							["type"			, "color", "intensity", "distance", "decay"],
							["pointlight"	,	"red",	0.6,			100,		2]										
						]			,	
									[1,1,-5]		,[5,2,20]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["sphere"		,			,	[1,3,3]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong"]
	]
)
""	



//sphere and light		
RENDER3D(
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["scene"	,	[
							["background"],
							["red"]
						],
										,	,	,	,	,],
		["camera"	,		[
								["fov"	,"aspect"	,"near"	,"far", "position"			,"focallength"],
								[60		,"auto"		,0.1	,1000 ,	[0,0,5]		, 3]
							],	,	,	,	,],

		["light"		, 
						[
							["type"			, "color", "intensity", "distance", "decay"],
							["pointlight"	,	"red",	0.6,			100,		2]										
						]			,	
									[1,1,-5]		,[5,2,20]		, 0x00ff00		, "yellow" ,false	, "phong"],
		["sphere"		,			,	[1,3,3]		,[5,20,20]		, 0x00ff00		, "yellow" ,false	, "phong"]
	]
)
""	

--------------------------------------------------------------------------------
// simple sphere and viewport
// not working yet
// added controls and still has issues
RENDER3D(
	[
		["type"		],
		["sphere"],
		["viewport"]
	]
)
""
Test comments: looks like still incomplete

Test Comments[25 June, 2021]: Working
--------------------------------------------------------------------------------
// forest of trees.trying different size
// this did not work as well
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates","count"],
		["tree", "red",((x,y)=>[RANDINT(100),x,y]),
								((x,y)=>[x,0,y]),IM(15)	]
	]
)
""
Test comments: Does not look like a forest of trees.

Test Comments[25 June, 2021]: Comments same as above
--------------------------------------------------------------------------------
// render download command
RENDER(
	[
		["type","cx", "cy", "r","coordinates","label","fill","stroke","stroke-width","font-size","format"],
		["circle",100,100,60,,,"purple","purple"],
		["circle",100,100,30,,,"white","white"],
		["text",,,,[90,65],"1",,"black",3,40],
		["download",,,,[90,65],"1",,"black",3,40,"png"]	
	]);
""
Test Comments: Working (Not sure if the ‘download’ command is working. How to check?)

Test Comments[25 June, 2021]: Comments same as above
--------------------------------------------------------------------------------

//tilt
RENDER3D(		
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["load"		,	"https://three.zcubes.com/examples/models/tilt/BRUSH_DOME.tilt"	,	[-10,10,5]		,[5,5,5]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);

""
Test Comments: Not Working

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------


//tilt
RENDER3D(		
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["load"		,	"https://github.com/mrdoob/three.js/blob/master/examples/models/tilt/BRUSH_DOME.tilt"	,	[-10,10,5]		,[5,5,5]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);

""
Test Comments: Not Working

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------
// xyz
RENDER3D(		
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		//["load"		,	"https://three.zcubes.com/examples/models/xyz/helix_201.xyz"	,	[-10,10,5]		,[50,50,50]		, 0x00ff00		, "yellow" ,true	, "phong"]
		["load"		,	"../threefull/other/examples/helix_201.xyz"	,	[-10,10,5]		,[50,50,50]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);

""
Test Comments: Not Working

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------
// can also provide headers and rows vertically also
// repeatedly run this to keep adding spheres]
RENDER3DX(
	[
		["type"		,"sphere"],
		["settings"		,],		
		["fill", "red"]
	]
)
""
Test Comments: Not Working (is it RENDER3DX or RENDER3D?)

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------------------------------------------------------------------
// cars

RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/car1/car.glb"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working (Just the grass background is displayed)

Test Comments[25 June, 2021]: Comments same as above
-------------------------------------------------------------------------------------------------------------------------
// stacy
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["load"		,	"https://s3-us-west-2.amazonaws.com/s.cdpn.io/1376484/stacy_lightweight.glb"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working 

Test Comments[25 June, 2021]: Working
-------------------------------------------------------------------------------------------------------------------------

// gltf glb and fbx (fbx uses rhino as filename)
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["scene"	,		[
							["background"],
							['../threefull/examples/textures/terrain/grasslight-big.jpg']
						],	,	,	,	,],
	["camera"	,		[
							["fov"	,"aspect"	,"near"	,"far", "position"	],
							[90	,"auto"		,0.1	,1000 ,	[0,0,30]		]
						],	,	,	,	,],

	["load"		,	"https://kappaomega.zcubes.com/threetest/threefull/other/rhino/rhinoceros.gltf"	,	[0,0,0]		,[10,10,10]		, 0x00ff00		,  ,true	, "phong"]
	]
);
""
// EARTH MOON LIGHT TO SHOW PHASES OF THE MOON WITH LIGHT MOVING IN PLACE OF SUN

Test Comments: Not Working 

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------------------------------------------------------------------
// place rectangles at spherical points with lookat defined
pts=SPHERICALPOINTS(118,10);
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates","material","lookat"],
		["cube", "red",[1,1,1],	pts,	"phong",pts.rayslookat()	]
	]
)
""
Test Comments: Not Working 

Test Comments[25 June, 2021]: Not Working
-------------------------------------------------------------------------------------------------------------------------
// helical cubes
pts=HELICALPOINTS(30,10);
RENDER3D(
	[
		["type"	,"fill", "size", "coordinates","material","lookat","count"],
		["cube", "random",[[0.1,0.10,0.10]],	pts,	"phong",pts.rayslookat()  ,pts.length	]
	]
)
""
Test Comments: Not Working 

Test Comments[25 June, 2021]: Working . Points displayed are very small.
-------------------------------------------------------------------------------------------------------------------------
//A forest of trees----The result is showing as "null"
// RENDER3D(
	// [
		// ["type"	,"fill", "size", "coordinates","material","count"],
		// ["tree", "red",[1,30,30],
								// 1..100@(x=>[x,1,x]),	[["size"],[0.05]],15	]
	// ]
// )
// ""

Test Comments: Not Working 

Test Comments[25 June, 2021]: Not Working.
-------------------------------------------------------------------------------------------------------------------------
//Bunny is not getting loaded-Just the Black background displayed
RENDER3D(		
	[
	["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
	["load"		,	"https://three.zcubes.com/examples/models/draco/bunny.drc"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments: Not Working 

Test Comments[25 June, 2021]: Working.
-------------------------------------------------------------------------------------------------------------------------
//Zaghetto is not getting loaded-Just the Black background displayed
RENDER3D(		
	[
		["type"		,	"settings"	,	"coordinates", "size"	, "stroke"	, "fill", "helper", "material"	],
		["load"		,	"https://three.zcubes.com/examples/models/pcd/binary/Zaghetto.pcd"	,	[-10,10,5]		,[1.5,1,1]		, 0x00ff00		, "yellow" ,true	, "phong"]
	]
);
""
Test Comments[25 June, 2021]: Working.