Hi Guys,
is there an easy way, creating a depth map from a rendered scene? Is it just reading the Z-Buffer and creating a depth map from it, and if yes how can I obtain the current Z-Buffer?
Thanks for your replies
Simon
Search found 12 matches
- Thu Sep 04, 2008 1:00 pm
- Forum: Beginners Help
- Topic: Depthmap Creation
- Replies: 1
- Views: 129
- Tue Sep 02, 2008 8:20 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
@rogerBorg, yes sorry for not saying thank you, even I do not really use your code anymore but it showed me that render to texture is much faster and without your help I reckon i would not have mentioned that and I hope you will keep on helping me. Thanks a lot. @Taymon, what are you talking about? ...
- Mon Sep 01, 2008 4:44 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
- Mon Sep 01, 2008 4:09 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
- Mon Sep 01, 2008 3:19 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
ITexture * renderTarget = driver->createRenderTargetTexture(dimension2di(16,16)); while(device->run()) { driver->beginScene(false, true, video::SColor(0,200,200,200)); m_lookVector = vector3df(0, 1, 0); for(int outerLoop = 0; outerLoop < m_nbrOfFacets; ++outerLoop) { for(int innerLoop = 0; innerLoo...
- Mon Sep 01, 2008 3:01 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
I render my scene to texture and the drawAll is called constantly in the while loop. I know my camera has been moved from camera->getAbsolutePosition(). What do you mean be render is being updated? Perhaps i miss something at this point. But it is really strange because I have moved around cameras b...
- Mon Sep 01, 2008 2:44 pm
- Forum: Beginners Help
- Topic: Changing Camera Position does not change renderd image
- Replies: 12
- Views: 482
Changing Camera Position does not change renderd image
Hi to all, when I move my camera around, and changing its position, target vector up vector etc. nothing happens, the output remains the same. I placed the camera on different initial positions and get different initial views but nothing changes when i move it around, that's pretty weird. Can you im...
- Fri Aug 29, 2008 3:25 pm
- Forum: Beginners Help
- Topic: Indexing in Rectangles and draw2DImage
- Replies: 3
- Views: 114
- Fri Aug 29, 2008 2:44 pm
- Forum: Beginners Help
- Topic: Indexing in Rectangles and draw2DImage
- Replies: 3
- Views: 114
Indexing in Rectangles and draw2DImage
Hi folks, I wanna render to a texture. The texture is of size 16 times 16 create like this: driver->createRenderTargetTexture(dimension2di(16,16)) Now i wanna make a source rect and a destnation rect like rect<s32> sourceRect(x0, y0, x,y); rect<s32> destRect(x1, y1,x2, y2); and finally call driver->...
- Wed Aug 27, 2008 3:12 pm
- Forum: Advanced Help
- Topic: Accelerate Rendering
- Replies: 8
- Views: 1716
- Wed Aug 27, 2008 2:53 pm
- Forum: Advanced Help
- Topic: Accelerate Rendering
- Replies: 8
- Views: 1716
The problem with the number of rendering steps is, that i really need a high number of different viewpoints and viewing directions. I already thought of something different like only rendering 6 orthogonal viewing directions(6 sides of a cube) and projecting the result on a sphere, but this is not w...
- Wed Aug 27, 2008 2:09 pm
- Forum: Advanced Help
- Topic: Accelerate Rendering
- Replies: 8
- Views: 1716
Accelerate Rendering
Hi to all, I am currently writing an Insect Eye Simulation using Irrlicht. Such an eye can be roughly described as a big number of cameras attached to a half sphere. So what I did is adding only one camera with a very small Field of View to the scene, changing its position on the sphere and each tim...