3D Extension: Difference between revisions
Beanstalk313 (talk | contribs) m (Added an image in the Blocks table) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
|[[remove 3D scene]] |
|[[remove 3D scene]] |
||
|- |
|- |
||
|[[File:3d perspective1.png|150px]] |
|||
|[[File:Block3.png|alt=Image didn't load! :(|thumb|''The block extension image is not correct'']] |
|||
|[[set scene camera to perspective camera with fov: ()]] |
|[[set scene camera to perspective camera with fov: ()]] |
||
|- |
|- |
||
|[[File:3d perspective2.png|150px]] |
|||
| |
|||
|[[set scene camera to perspective camera with fov: () aspect ratio: ()]] |
|[[set scene camera to perspective camera with fov: () aspect ratio: ()]] |
||
|- |
|- |
||
|[[File:3d perspective3.png|150px]] |
|||
| |
|||
|[[set scene camera to perspective camera with fov: () aspect ratio: () and only render objects within () and () units of the camera]] |
|[[set scene camera to perspective camera with fov: () aspect ratio: () and only render objects within () and () units of the camera]] |
||
|- |
|- |
||
|[[File:3d_orthographic1.png|150px]] |
|||
| |
|||
|[[set scene camera to orthographic camera]] |
|[[set scene camera to orthographic camera]] |
||
|- |
|- |
||
|[[File:3d_orthographic2.png|150px]] |
|||
| |
|||
|[[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: ()]] |
||
|- |
|- |
||
|[[File:3d_orthographic3.png|150px]] |
|||
| |
|||
|[[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]] |
|[[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]] |
||
|- |
|- |
||
|[[File:3drender.png|150px]] |
|||
| |
|||
|[[render]] |
|[[render]] |
||
|- |
|- |
||
|[[File:move3dlayer.png|150px]] |
|||
| |
|||
|[[move 3D scene layer to ()]] |
|[[move 3D scene layer to ()]] |
||
|- |
|- |
||
|[[File:set3dbackground.png|150px]] |
|||
| |
|||
|[[set background color to ()]] |
|[[set background color to ()]] |
||
|- |
|- |
||
|[[File:set3dbackgroundtrans.png|150px]] |
|||
| |
|||
|[[set background transparency to ()%]] |
|[[set background transparency to ()%]] |
||
|- |
|- |
||
|[[File:show3d.png|150px]] |
|||
| |
|||
|[[show 3D scene]] |
|[[show 3D scene]] |
||
|- |
|- |
||
|[[File:hide3d.png|150px]] |
|||
| |
|||
|[[hide 3D scene]] |
|[[hide 3D scene]] |
||
|- |
|- |
||
|[[File:3dvisible.png|150px]] |
|||
| |
|||
|[[is 3D scene visible?]] |
|[[is 3D scene visible?]] |
||
|- |
|- |
Latest revision as of 20:00, 26 June 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, as well as a virtual reality extension called 3D Virtual Reality.
Units
Units are a scale of measurement in the 3d space. However, units are not pixels, instead, think of 1 unit being the same as 100 pixels, though pixels do not exist in the 3d space. Most blocks that use position and scaling will use units. This doesn't apply to object and camera rotations however.
Setting up a 3d Project
Some people struggle with creating a 3d project. The image to the right shows the basics for setting up your 3d space. Of course, you can set the fov (field of view) and the background color to whatever you'd like, but this is the recommended.
Blocks
This is a list of all blocks in the extension.