|
| 1 | += GameDev Impostor Texture = |
| 2 | + |
| 3 | +#type: node |
| 4 | +#context: sop |
| 5 | +#internal: gamedev::rop_impostor_texture |
| 6 | +#icon: impostortexture |
| 7 | +#tags: tech, model |
| 8 | + |
| 9 | +""" The impostor tool creates texture sheets to fake 3D objects in your game engine. """ |
| 10 | + |
| 11 | +The impostor tool creates texture sheets to fake 3D objects in your game engine. The tool will create full octahedral, 3D, fixed axis and animated impostors. Below is a short video showing how to setup the tool in Houdini. |
| 12 | +[https://www.sidefx.com/tutorials/game-tools-imposter-textures/] |
| 13 | + |
| 14 | +@parameters |
| 15 | + Render: |
| 16 | + Pressing this button will render the impostor to disk. |
| 17 | + == Base Settings == |
| 18 | + Render in One Image: |
| 19 | + When this toggle is enabled, all frames of the impostor texture are generated with a lens shader instead of on a per frame basis. |
| 20 | + Impostor Type: |
| 21 | + This allows you to set the impostor type that has to be generated. |
| 22 | + Source Geometry: |
| 23 | + This needs to point to the geometry that should be rendered as an impostor. |
| 24 | + Camera Rig: |
| 25 | + This needs to point to an OBJ level camera rig. |
| 26 | + Sprite Resolution: |
| 27 | + This sets the sprite resolution. (Ex: If you have 8x8 frames at 128x128 pixels, this means a combined 1024x1024 pixel texture) |
| 28 | + XY Frames: |
| 29 | + Sets the number of XY frames that need to be generated for the impostor texture. |
| 30 | + Atlas Resolution: |
| 31 | + When Impostor Type is set to Octahedron, this controls the overall impostor texture resolution. |
| 32 | + Octahedron Zoom: |
| 33 | + This controls the camera zoom amount for the Octahedron impostor camera lens. |
| 34 | + Animation Frames: |
| 35 | + When Impostor Type is set to Animation, this controls how many frames you want to encode in the impostor. |
| 36 | + Output Picture: |
| 37 | + This specifies where the output texture will be saved. |
| 38 | + Output Geo: |
| 39 | + This specifies where the geometry generated for the Octahedral Impostor needs to be saved. |
| 40 | + == Atlas == |
| 41 | + Pre Multiply: |
| 42 | + This controls if the basecolor/beauty map alpha channel should be premultiplied. |
| 43 | + Beauty Map: |
| 44 | + Enables/Disables the generation of the Beauty Atlas for the impostor. |
| 45 | + Beauty Atlas: |
| 46 | + This specifies where the Beauty Atlas should be saved to. |
| 47 | + Base Color Map: |
| 48 | + Enables/Disables the generation of the Base Color Atlas for the impostor. |
| 49 | + Base Color Atlas: |
| 50 | + This specifies where the Base Color Atlas should be saved to. |
| 51 | + Normals Map: |
| 52 | + Enables/Disables the generation of the Normal Atlas for the impostor. |
| 53 | + Normals Atlas: |
| 54 | + This specifies where the Normal Atlas should be saved to. |
0 commit comments