Hi guys,
I was wondering if there is away to get just the basic light, colour and shadow information out of krays render. Not the full render with reflections etc. To be used in Video games as a lightmap?
Am I making any sense? I notice that Kray does a kind of first pass before the full colour render. Getting hold of this information to be used as a blend ontop of a model and other textures to be used in a game engine would be ace.
Is this currently possible?
Kind regards
Lee
Using Kray to Create lightmaps
- 8infinite8
- Posts: 29
- Joined: Wed Jun 04, 2008 9:15 pm
- Contact:
Sure! You can use kray output buffers. Use KrayBuffers.ls found here to select which buffers you need.http://www.kraytracing.com/index.php?su ... uffers.zip
You can also use this in combination with baking camera to get the maps you need...
You can also use this in combination with baking camera to get the maps you need...
- Jure
- 8infinite8
- Posts: 29
- Joined: Wed Jun 04, 2008 9:15 pm
- Contact:
Thats ace thankyou Jure!
Not quite to sure how to use it but I will give it a go.
Also this question is unrelated to Kray but when trying to UVmap a scene quickly using Atlas map in modeller I notice that it doesnt seem to be able to sperate the mesh very well. It lays the UV's out brilliantly but the polygons are right next to each other without any kind of buffer and therefore you get bleeding from polys to polys even when rendered out at 4096x4096. I have tried to play around with Atlas's Relative Gap Size % and Segment stuff, but everytime it unwraps there is no controlled gap between polys.
It will be near imposible to unwrap a 100,000-500,000 poly mesh by hand to bake these scenes out. Any ideas how to overcome this?
Not quite to sure how to use it but I will give it a go.
Also this question is unrelated to Kray but when trying to UVmap a scene quickly using Atlas map in modeller I notice that it doesnt seem to be able to sperate the mesh very well. It lays the UV's out brilliantly but the polygons are right next to each other without any kind of buffer and therefore you get bleeding from polys to polys even when rendered out at 4096x4096. I have tried to play around with Atlas's Relative Gap Size % and Segment stuff, but everytime it unwraps there is no controlled gap between polys.
It will be near imposible to unwrap a 100,000-500,000 poly mesh by hand to bake these scenes out. Any ideas how to overcome this?
- 8infinite8
- Posts: 29
- Joined: Wed Jun 04, 2008 9:15 pm
- Contact:
Ah I also forgot about this command that you can use:
http://www.kraytracing.com/wiki/index.p ... lags_flags
http://www.kraytracing.com/wiki/index.p ... lags_flags
- Jure