Paul Posted July 1, 2011 Share Posted July 1, 2011 Is there any examples of using a skydome, preferably working with framework? Quote Intel Core i7 975 @ 3.33GHz, 6GB ram, GTX 560 Super OC, Windows 7 Pro 64bit Link to comment Share on other sites More sharing options...
Rekindled Phoenix Posted July 2, 2011 Share Posted July 2, 2011 Within C# and Leadwerks.Net Framework.Effects.SkyBox.Material = new Material("abstract::FullskiesBlueClear0016_2_L.mat"); You can also do this easily using the Sandbox editor: - Drag an Atmosphere object into the world - Set your desired material file Quote Link to comment Share on other sites More sharing options...
Paul Posted July 2, 2011 Author Share Posted July 2, 2011 I thought that required a skybox not a skydome? Quote Intel Core i7 975 @ 3.33GHz, 6GB ram, GTX 560 Super OC, Windows 7 Pro 64bit Link to comment Share on other sites More sharing options...
Richard Simpson Posted July 2, 2011 Share Posted July 2, 2011 Yeah the editor atmosphere is a skybox. The only way I know how to make a skydome work, would be to model one in a 3d application, then load that mesh in. But i'm not a programmer. Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
Rekindled Phoenix Posted July 2, 2011 Share Posted July 2, 2011 Richard would be correct. You would have to model a sphere, texture it, and make the object a child of the scene Looking through the Leadwerks Wiki, I found the skybox vert-shader shown here. Creating a Skybox Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 2, 2011 Share Posted July 2, 2011 I used one in the early days of Leadwerks, just placed it in the background world, scaled and textured it and that was pretty much it. Skyboxes seem to exhibit less distortion though. Why the particular interest in a skydome? Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Paul Posted July 3, 2011 Author Share Posted July 3, 2011 I used one in the early days of Leadwerks, just placed it in the background world, scaled and textured it and that was pretty much it. Skyboxes seem to exhibit less distortion though. Why the particular interest in a skydome? Wanted to rotate the night sky to give the effect of the earths movement. Quote Intel Core i7 975 @ 3.33GHz, 6GB ram, GTX 560 Super OC, Windows 7 Pro 64bit Link to comment Share on other sites More sharing options...
Aily Posted July 3, 2011 Share Posted July 3, 2011 In 3DS MAX have render to sphere map mode. And there have geo sphere primitive too. So i prefer to make spherical texture, assign it to geosphere fith normals turned to it center. Load in engine as simple mesh Create background world, set my sphere there. And render this world before all other scene. Features: Sky can be turn Sky can have animated texture Sky can have another models (like sun, moon, spaceships, or big buildings, or another terrain) Sphere map much easier to bake from MAX then cubemap Can be used on very old hardware (samplerCube discarded from shader work) Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.