andrea.padovani Posted December 1, 2020 Share Posted December 1, 2020 Hi, I would like to reuse a Landscape terrain with all it's details texture and layer in a brand new project, without have any conflict with previous scripts,camera and other projects settings. There is a quick way to do it? Thanks Link to comment
silent Posted December 1, 2020 Share Posted December 1, 2020 Hi Andrea, Just copy the .lmap files to a new project - that should do the trick. If you used assets to generate it (textures inside the data directory) - you can also copy them. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
andrea.padovani Posted December 1, 2020 Author Share Posted December 1, 2020 Hi Silent, Thanks for quick feedback, I made a quick test but it looks like all the details mask are not saved. I can see the just the height and a base albedo. I'm now "playing" with the sample demo ( earthworks ), if I save from data folder landscape, texture and layers, looks like I was able to put in the scene the landscape_layer.node, and looks like have some more details on it, but the performance is getting terrible making the editor unusable. The idea is edit the actual earthwork sample demo, make it more looking like my needs ( it's really close that's why I would like to understand if there is a way to replicate it ) and then use on another projects, basically with VR_Player instead the demo player with all the code related to voxel terrain modification, scraper machine operation etc.. Thanks Link to comment
silent Posted December 2, 2020 Share Posted December 2, 2020 Hi Andrea, Maybe it would be easier just to copy Earthworks demo as a project and add missing VR functionality on top. You can delete the assets that you don't need in the demo to save some space. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
andrea.padovani Posted December 2, 2020 Author Share Posted December 2, 2020 11 hours ago, silent said: Hi Andrea, Maybe it would be easier just to copy Earthworks demo as a project and add missing VR functionality on top. You can delete the assets that you don't need in the demo to save some space. Thanks for suggestion, trying to recreate the terrain from scratch also doesn't help me. Looking into details of Earthworks demo I see that was used some height and displacement maps from an "external" link and they are not embedded in the sample data folder, maybe it's also this that is causing performance issues trying to copy terrain and details mask to another project. Adding the VR template to the earthwork demo it's not so easy, it was my first attempt, but there is some kind of error since in that demo there is a lot of code to control the vehicle etc........ I'll try anyway in this way! Thanks. Link to comment
Recommended Posts