RENDER 3D EXAMPLES ToBeRectified
Jump to navigation
Jump to search
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 --------------------------------------------------------------------------------------- // 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.) --------------------------------------------------------------------------------------- // 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) -------------------------------------------------------------------------------------- // 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) -------------------------------------------------------------------------------------- // 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) -------------------------------------------------------------------------------------- // 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) -------------------------------------------------------------- // 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) -------------------------------------------------------------- //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) -------------------------------------------------------------- // 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) -------------------------------------------------------------- // 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 -------------------------------------------------------------- // 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 -------------------------------------------------------------- -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 -------------------------------------------------------------- //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 -------------------------------------------------------------- // 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 ------------------------------------------------------------ // 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 ------------------------------------------------------------ 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) ------------------------------------------------------------ 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) ------------------------------------------------------------ // 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) ------------------------------------------------------------ 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) ------------------------------------------------------------ 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) ------------------------------------------------------------