Stevenson Posted December 14, 2009 Share Posted December 14, 2009 Hello, I´ve write my own .sbx laoder. Every thing works fine without the terrain. I can´t see any way to set the Meterspertile from a terrain. i hope some one can help me. Greetings, Steven Quote Your Travel Route Link to comment Share on other sites More sharing options...
TylerH Posted December 14, 2009 Share Posted December 14, 2009 It is set when you call CreateTerrain, you pass a meterspertile parameter. Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Stevenson Posted December 14, 2009 Author Share Posted December 14, 2009 i thought this parameter is for the resolution. Greetings, Steven Quote Your Travel Route Link to comment Share on other sites More sharing options...
TylerH Posted December 14, 2009 Share Posted December 14, 2009 I could be wrong Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Paul Thomas Posted December 14, 2009 Share Posted December 14, 2009 You will also get blocked by the vegetation portion, since the functions/methods are not exposed/documented. If you've figured this out a lot of us would love to know how. Quote Link to comment Share on other sites More sharing options...
Stevenson Posted December 17, 2009 Author Share Posted December 17, 2009 I cant see any way to set the meter per tileoption... Does nobody habe an answer? Greetings, Steven Quote Your Travel Route Link to comment Share on other sites More sharing options...
macklebee Posted December 17, 2009 Share Posted December 17, 2009 it looks like its SetLayerScale in bmx and SetTerrainTextureScale in lua if I had to guess... and it looks like SetLayerScale may be removed shortly if what the wiki says is true... but currently bmax in 2.3 still recognizes it. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Masterxilo Posted December 18, 2009 Share Posted December 18, 2009 no, it's just: ScaleEntity(terrain, Vec3(meterspertile, 1, meterspertile); (where terrain is your terrain entity) When the terrain is created it is scaled to 1 meter per tile. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Stevenson Posted December 19, 2009 Author Share Posted December 19, 2009 Thanks a lot, this works now: ScaleEntity(terrain, Vec3(meterspertile, altitude, meterspertile); Greetings Steven Quote Your Travel Route Link to comment Share on other sites More sharing options...
TylerH Posted December 20, 2009 Share Posted December 20, 2009 RotateEntity(terrain,Vec3(90,0,0)) Will that work? Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Josh Posted December 20, 2009 Share Posted December 20, 2009 Nope. The terrain shader doesn't use a matrix multiplication, for better speed. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
TylerH Posted December 20, 2009 Share Posted December 20, 2009 Darn, would have been interesting to be able to rotate terrains, or possibly have more than one. Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- 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.