karan.sharma Posted December 19, 2018 Posted December 19, 2018 Hello Everyone, I was trying to bake the Voxel Global Illumination and I was encountered with the fatal error in the attached picture. This happened everytime I was trying to bake the voxel resulting in engine crashing. Would be awesome to get some help on it as to what might wrong in the process. I was trying to get the sunlight coming from the window with the meshes created in modelling software but the sunlight was all over the place instead of just coming through the window. Any help regarding it would be really helpful.
silent Posted December 19, 2018 Posted December 19, 2018 Hi Karan, Could you please attach an engine log.html file from <Your Project>/bin directory? Such errors often indicates that driver was unable to allocate memory from VRAM (or even shared RAM memory). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
karan.sharma Posted December 19, 2018 Author Posted December 19, 2018 Hello Silent, Thank you for you're reply. I have attached the log.html file and I have 8GB VRAM for GPU and 12GB RAM memory. log.html
silent Posted December 19, 2018 Posted December 19, 2018 Karan, GTX1070 should be enogh to bake Voxel Probe. One thing you can also try is to disable Precompile all shaders and try to bake one more time. We do recommend to check the samples on Voxel probe here: SDK Browser -> Samples -> Demos -> Samples 2.x -> voxel_* (you can copy demo as project and run it in Editor) Also, please don't forget to check the video tutorial on Voxel probes usage (and overall lightning setup): https://developer.unigine.com/forum/topic/4821-unigine-editor-2-video-tutorials-lighting-voxel-global-illumination-22/ https://developer.unigine.com/forum/topic/4819-unigine-editor-2-video-tutorials-lighting-12/ If after tuning settings you will continue to get crashes, please send us your project's data directory. You can use any filehosting or upload it to this thread. That will help us to understand what is going on here. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
karan.sharma Posted December 19, 2018 Author Posted December 19, 2018 Okay. Thank you so much for the help. I will provide update on it if that happens again.
karan.sharma Posted December 20, 2018 Author Posted December 20, 2018 Hello Silent, I tried and still getting the error. I have attached project data for you to see. The scene has one simple room type mesh and one omini light and a voxel probe that I was trying to bake and it just crashes every-time I bake and even with other lights too. Project link - https://1drv.ms/f/s!Aq2zsJVQhfE2gZMklNeGbpEwVOeKUg
silent Posted December 21, 2018 Posted December 21, 2018 Hi Karan, There are few problems with the world that you send us: Your room is totally our of scale. In UNIGINE 1 unit = 1 meter. As far as I can see you set the Voxel Probe size to 600x600x300 meters (units) with voxel size about 0,5m: As a result your final Voxel lightning texture will consume 47GB (that totally wouldn't fit the GTX1070 8GB). So the solution here is actually to imprort your room with correct scale 1 unit = 1 meter and adjust Voxel probe parameters so the Memory Usage will be less than your available GPU memory. Our samples shows that as well. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
karan.sharma Posted December 21, 2018 Author Posted December 21, 2018 Thank you for the reply silent. I was using centimeters in 3D application. So does the units have to set to be in meters in 3D modelling application too? Doesn't it translate to meters correctly in engine with cm workflow?
silent Posted December 21, 2018 Posted December 21, 2018 If you have different units set in FBX they will be not applied. You need to specify correct scale on import or modify units in your DCC tool. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
darren.mooney Posted April 6, 2019 Posted April 6, 2019 I am having the same problem, same GFX card. Memory usage is at 2.8 GB if I change the voxel size to 0.498, if I leave it at 0.5 it says memory usage 0B
morbid Posted April 8, 2019 Posted April 8, 2019 Hello @darren.mooney, This is the exact situation as described in the original message. Looks like there's a bug with required VRAM calculation (I've made a ticket on this one), but the issue is in enormous voxel probe size. If you want to bake this volume you'll have to upscale voxel size. For instance, a box 512*512*512 with Voxel size = 0.5 will consume 48Gb if VRAM. This just wouldn't work. Please, adjust import settings for your models (you can modify scale on import) so they would be smaller (1 unit = 1 meter). You can use default plane checkerboard for reference (each square is exactly 1x1m). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
darren.mooney Posted April 11, 2019 Posted April 11, 2019 I changed the size on import and it now works, strange, as the scale in all other game engines is perfect. Anyway, now that it is working WOW, the results are amazing, fast, clean, no lightmap UV's! Is there any plan to release a cheaper version or even a free version like UE4 or Unity? Im only a hobbyist and would not be making any money so I cannot justify the price, which is a shame because Im really liking it so far.
silent Posted April 12, 2019 Posted April 12, 2019 Hi Darren, We consider to improve FBX import pipeline in the future releases (especially auto scale on import). Regarding absolutely free version - we are working on it, but I can't give you any exact ETA on release date. There are still plenty of things that we need to improve prior this version will be released to public. Stay tuned :) Btw, if you are still interested in making some experiments with rendering we can extend your evaluation period or give some discount to full version. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts