Search found 38 matches
- Fri Jun 09, 2017 7:27 am
- Forum: Advanced Help
- Topic: addshadowvolumescenenode and stencil buffer conflicts.
- Replies: 0
- Views: 1236
addshadowvolumescenenode and stencil buffer conflicts.
In my project I use stencil buffer to mask the entire rendering zone, as follow, IAnimatedMeshSceneNode* meshOneModel = sceneManager->addAnimatedMeshSceneNode(mesh); meshOneModel->setMaterialFlag(EMF_LIGHTING, true); meshOneModel->addShadowVolumeSceneNode(); meshOneModel->setMaterialFlag(EMF_NORMA...
- Wed Mar 23, 2016 2:54 pm
- Forum: Advanced Help
- Topic: Render to target and save to files with high resolution.
- Replies: 4
- Views: 1451
Re: Render to target and save to files with high resolution.
Hi I am back with some interesting result. I tried several parameters. 10999*10999 still works fine. But 11000*11000 won't. The result came from a fedora machine with titan x. Not so sure why, but I decide to test on windows too. During the lock a texture is rendered to FBO, so 19200x10800 is too bi...
- Tue Mar 22, 2016 9:14 pm
- Forum: Beginners Help
- Topic: Compiling issue with Fedora 23 and TITAN X.
- Replies: 1
- Views: 461
Re: Compiling issue with Fedora 23 and TITAN X.
Problem solved...
by:
dnf install xorg-x11-drv-nvidia-devel.x86_64
by:
dnf install xorg-x11-drv-nvidia-devel.x86_64
- Tue Mar 22, 2016 8:42 pm
- Forum: Beginners Help
- Topic: Compiling issue with Fedora 23 and TITAN X.
- Replies: 1
- Views: 461
Compiling issue with Fedora 23 and TITAN X.
Hi there... this time I am pretty sure it is a beginner problem... I installed Fedora and followed this http://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ to update my driver to NVIDIA driver. I used gcc 5.3. But while I am trying to compile the examples, I ran into some problem: Makefi...
- Thu Mar 17, 2016 11:24 pm
- Forum: Advanced Help
- Topic: Render to target and save to files with high resolution.
- Replies: 4
- Views: 1451
Render to target and save to files with high resolution.
Hi there I am here again. Recently I was trying to render high resolution version of the scene and save them to files. I was using trunk. Here is how I define the render target. video::IRenderTarget* renderTargetAllSubimages = 0; video::ITexture* renderTargetTex = 0; scene::ICameraSceneN...
- Sat Feb 20, 2016 5:01 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
I fixed this issue in trunk, but please remember that ITexture::lock doesn't work for some color formats, so this method may return NULL. Recompiled with the new version. It works fine now! Thank you very much!! :D :D Some format? Em... I will keep that in mind and if I find something I will inform...
- Thu Feb 18, 2016 4:43 pm
- Forum: Advanced Help
- Topic: CreateImage doesn't work, createScreenshot is OK (trunk)
- Replies: 5
- Views: 1220
Re: CreateImage doesn't work, createScreenshot is OK (trunk)
Pretty sure.Foaly wrote:I thought you have to use lock like this: lock(ETLM_READ_ONLY)
But I guess it should work even though.
Are you sure it crashes in createImage? Run it in a debugger to find out where it crashes exactly.
And it turned out to be a problem in trunk... they are fixing it.
- Thu Feb 18, 2016 12:47 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
Great!Nadro wrote:Support for dedicated stencil formats (at now only packed depth-stencil format is available) may be good, however before that we need to add stencil operations support for SMaterial.
Looking forward to see it in the new version!
- Wed Feb 17, 2016 9:18 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
Sorry, It's my fault, however I should fix that until the weekend :) Great! I am looking forward to the new version! PS: Like I asked before... do you guys have a plan to provide 16 bit stencil buffer option? It appears to be quite useful in some situation... I think 16 bit depth buffer is enough i...
- Wed Feb 17, 2016 5:28 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
Oh my, our fault :-(. There is something checked into trunk right now which breaks texture-locking for rendertarget textures. Unfortunately nothing I can fix quickly, I'll inform Nadro to make this the top priority. Right now the only way around it I see is going back to older Irrlicht versions. I ...
- Wed Feb 17, 2016 4:06 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
It looks like texture->lock() returns 0. What kind of texture do you pass to savetex? The texture for the rendertarget. After video::IRenderTarget* simulatorRenderTarget = 0; video::ITexture* renderTargetTex = 0; scene::ICameraSceneNode* fixedCam = 0; renderTargetTex = videoDriver->addRende...
- Wed Feb 17, 2016 3:33 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
When you have a crash like a segmentation fault then you can get a callstack telling you where it crashed. Just use any debugger for that (most IDE's have one included and will show it automatically unless you have the callstack-window hidden). That way you know the exact line where it crashed and ...
- Wed Feb 17, 2016 3:04 pm
- Forum: Advanced Help
- Topic: CreateImage doesn't work, createScreenshot is OK (trunk)
- Replies: 5
- Views: 1220
Re: CreateImage doesn't work, createScreenshot is OK (trunk)
Sorry but I am a little bit confused... what is exactly you suggested?Foaly wrote:Oh, sorry, I had assumed lock() without parameter is for write only, but I guess that's not true.
And to be honest I haven't found a tutorial for saving files yet...
- Wed Feb 17, 2016 2:58 pm
- Forum: Advanced Help
- Topic: Resolution limits of the screenshots.
- Replies: 21
- Views: 3273
Re: Resolution limits of the screenshots.
Sorry I am a little bit confused. What did you mean...?CuteAlien wrote:What's the callstack?
- Tue Feb 16, 2016 4:03 pm
- Forum: Advanced Help
- Topic: CreateImage doesn't work, createScreenshot is OK (trunk)
- Replies: 5
- Views: 1220
CreateImage doesn't work, createScreenshot is OK (trunk)
First of all, I am using trunk version. A little bit strange that the function createScreenshot works fine, but the CreateImage or CreateImageFromFata will all leads to same error. (It is hard to say it is an error, the program just crashed) I tried a lot of times and now I am pretty sure that the p...