3D Extension: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
(I feel like the names of these blocks could be shortened XD or there could be a block for only rendering a certain dist from the camera instead of the 2 blocks.) |
||
Line 1:
{{WIP|extension}}
{{Stub}}{{Extension|extension_img=3dextension.png|extension_desc=Use the magic of 3D to spice up your project.}}The
It will soon allow the use of VR.
Line 9:
*[[remove 3D scene]]
*[[set scene camera to perspective camera with fov: ()]]
*[[set scene camera to perspective camera with fov: () aspect ratio: ()]]
*[[set scene camera to perspective camera with fov: () aspect ratio: () and only render objects within () and () units of the camera]]
*[[set scene camera to orthographic camera]]
*[[set scene camera to orthographic camera with left plane: () right plane: () top plane: () bottom plane: ()]]
*[[set scene camera to orthographic camera with left plane: () right plane: () top plane: () bottom plane: () and only render objects within () and () units of the camera]]
*[[render]]
*[[move 3D scene layer to ()]]
*[[set background color to ()]]
*[[set background transparency to ()|set background transparency to ()%]]
*[[show 3D scene]]
*[[hide 3D scene]]
*[[is 3D scene visible?]]
*[[move camera by ()]]
*[[set camera position to x: () y: () z: ()]]
*[[change camera position by x: () y: () z: ()]]
*[[set camera rotation to x: () y: () z: ()]]
*[[change camera rotation by x: () y: () z: ()]]
==References==
<references />
|
Revision as of 01:55, 4 February 2024
Stub
This article is a stub. You can help PenguinMod Wiki by expanding it.
3D Extension | |
---|---|
![]() | |
Description | Use the magic of 3D to spice up your project. |
The 3D Extension allows you to create 3D projects with 3D models or simple shapes and lighting. The extension is not visible from the "Add Extension" in the normal editor but can be found in Live Tests. There is a physics extension for the 3D extension called 3D Physics.
It will soon allow the use of VR.
![](http://static.miraheze.org/pmodwiki/thumb/c/c4/3D_example.png/479px-3D_example.png)
Blocks
Incomplete list
This article or section has incomplete lists. You can help PenguinMod Wiki by expanding the list, and adding more relevant items.
- create 3D scene
- remove 3D scene
- set scene camera to perspective camera with fov: ()
- set scene camera to perspective camera with fov: () aspect ratio: ()
- set scene camera to perspective camera with fov: () aspect ratio: () and only render objects within () and () units of the camera
- set scene camera to orthographic camera
- set scene camera to orthographic camera with left plane: () right plane: () top plane: () bottom plane: ()
- set scene camera to orthographic camera with left plane: () right plane: () top plane: () bottom plane: () and only render objects within () and () units of the camera
- render
- move 3D scene layer to ()
- set background color to ()
- set background transparency to ()%
- show 3D scene
- hide 3D scene
- is 3D scene visible?
- move camera by ()
- set camera position to x: () y: () z: ()
- change camera position by x: () y: () z: ()
- set camera rotation to x: () y: () z: ()
- change camera rotation by x: () y: () z: ()