Search found 21 matches

by osgoz
Fri Feb 06, 2015 8:29 am
Forum: Advanced Help
Topic: [SOLVED] Mac os x retina problems
Replies: 3
Views: 1077

Re: Mac os x retina problems

I answer my self. On a retina display there is no need for antialiasing, so "good" graphics cards (discrete cards) support it on retina display, but integrated ones does not. So setting antialias to 0 when initializing the device its suffice to correct my problems. Nadro, as you said, simp...
by osgoz
Thu Feb 05, 2015 4:43 pm
Forum: Advanced Help
Topic: [SOLVED] Mac os x retina problems
Replies: 3
Views: 1077

Re: Mac os x retina problems

Thank you for your reply. Yes I think that too. Indeed, Nadro, we are using your version of GL-ES irrlicht for tests on iOS and we need to scale all coords by the retina scale factor. But this is not the only problem. In a macbook pro retina 15" with a discrete graphics card (nvidia) irrlicht r...
by osgoz
Thu Feb 05, 2015 9:37 am
Forum: Advanced Help
Topic: [SOLVED] Mac os x retina problems
Replies: 3
Views: 1077

[SOLVED] Mac os x retina problems

Hi We have been traying to do an aplication for Mac OSX. All was fine until we test it in a retina macbook pro. The irrlicht device was a quarter of the screen. We managed to expand the device to the real size (2560x1600) changing the source code in CIrrDeviceMacOSX.mm But after that the coords that...
by osgoz
Tue Sep 27, 2011 11:34 am
Forum: Advanced Help
Topic: MacOSX Lion or AMD/ATI drivers problem?
Replies: 8
Views: 716

Re: MacOSX Lion or AMD/ATI drivers problem?

Hi. Yes, I think same, but there are not two surfaces with the same position. There are two surfaces with the same normal vector but seven units away one from other. I change the normal vector of the back surface and the artifacs have gone. I do not understand why when we have two devices that does ...
by osgoz
Mon Sep 26, 2011 2:37 pm
Forum: Advanced Help
Topic: MacOSX Lion or AMD/ATI drivers problem?
Replies: 8
Views: 716

Re: MacOSX Lion or AMD/ATI drivers problem?

Hi. Thank you very much for your help. We change our code with your suggestions and it works fine in Lion. Works fine until we noticed this in the "3D view": http://img13.imageshack.us/img13/9953/irrproject.png Uploaded with ImageShack.us That strange artifacts in the middle wall, appears ...
by osgoz
Mon Sep 26, 2011 7:51 am
Forum: Advanced Help
Topic: MacOSX Lion or AMD/ATI drivers problem?
Replies: 8
Views: 716

Re: MacOSX Lion or AMD/ATI drivers problem?

Hi. We could not use the Irrlicht window because we need an Document/View estructure application,with docking toolbars and a View. So we need to paint Irrlicht in the View, here is the reason for pass the window pointers into the device. Sure that are better solutions but that is what we think, with...
by osgoz
Mon Sep 26, 2011 7:12 am
Forum: Advanced Help
Topic: MacOSX Lion or AMD/ATI drivers problem?
Replies: 8
Views: 716

Re: MacOSX Lion or AMD/ATI drivers problem?

Hi. Thanks for your quick replay, hybrid, and apologies for my late replay. This is the function to create the "3D" view:   void CreateIrrLichtDevice(void* hWnd) {         SIrrlichtCreationParameters param;         param.Bits = 32;                                       //u32 (int)         ...
by osgoz
Fri Sep 23, 2011 11:12 am
Forum: Advanced Help
Topic: MacOSX Lion or AMD/ATI drivers problem?
Replies: 8
Views: 716

MacOSX Lion or AMD/ATI drivers problem?

Hi. We are porting our Windows project, that uses Irrlicht, to nokia's QT. We test it in Snow Leopard with a NVidia 9400M and it woks fine. But recently we tested it in a new macbook Pro with an AMD 6xxxM and it does not work. Our application uses two devices to change from 2D (false 2D view) to 3D ...
by osgoz
Fri Mar 11, 2011 1:13 pm
Forum: Code Snippets
Topic: Updated 7/3/11 -Edge detection+Antialiasing on RenderTarget!
Replies: 24
Views: 14468

Hi. I managed it to work. This is the HLSL code. // antialiasing pixel shader // HLSL version // GLSL version Author:Stefbuet //this shader is doing an edge detection with depth and normal map //then it blur edges with a more or less good quelity filter (user selected) sampler2D depthMap: register(s...
by osgoz
Thu Mar 10, 2011 4:23 pm
Forum: Code Snippets
Topic: Updated 7/3/11 -Edge detection+Antialiasing on RenderTarget!
Replies: 24
Views: 14468

Hi. I'd like to use your shader in my project, but my project is in DX9 so I need the HLSL version. I have no idea of shader language but I intend to convert by my self. // antialiasing pixel shader // HLSL version // Original GLSL version Author:Stefbuet //this shader is doing an edge detection wit...
by osgoz
Wed Mar 26, 2008 10:55 am
Forum: Bug reports
Topic: #solved-Not a bug (bug initializing a DX8 device into a ...)
Replies: 2
Views: 276

Thanks, it's crystal clear :oops:
by osgoz
Wed Mar 26, 2008 10:03 am
Forum: Bug reports
Topic: #solved-Not a bug (bug initializing a DX8 device into a ...)
Replies: 2
Views: 276

#solved-Not a bug (bug initializing a DX8 device into a ...)

Hi I initialize an IrrlichtDevice ,in a MFC CView, like this : SIrrlichtCreationParameters param; param.Bits = 32; param.DriverType = video::EDT_DIRECT3D8; param.Stencilbuffer = true; param.WindowId = (void*)GetSafeHwnd(); m_pDevice = createDeviceEx(param); where the m_pDevice is a IrrlichtDevice po...
by osgoz
Tue Sep 25, 2007 4:06 pm
Forum: Bug reports
Topic: Could it be a bug? (IrrLicht 1.3.1)
Replies: 2
Views: 558

Yes, it could be a XML specification fault in my xml file, but in IrrLicht 1.2 works fine. It seens that the function fast_atof_move when find a blank space character at the begining of the string to process, calls function strtol10 . This function, stops if finds a blank space character. So in my x...
by osgoz
Tue Sep 25, 2007 3:33 pm
Forum: Bug reports
Topic: Could it be a bug? (IrrLicht 1.3.1)
Replies: 2
Views: 558

Could it be a bug? (IrrLicht 1.3.1)

Hello I am not sure if it could be a bug but I post it. In IrrLicht 1.2 when you are reading a xml file, and you read an element like this <P X=" 0.123" .... /> the irrlicht function getAttributeValueAsFloat("X") returns 0.123, that's ok. But in IrrLicht 1.3.1 the same function c...
by osgoz
Fri Jun 22, 2007 6:34 am
Forum: Beginners Help
Topic: [solved] irrlicht 1.2 to 1.3.1 texture problem?
Replies: 6
Views: 403

Now it's working like I wanted to work it. ...->setMaterialFlag( video::EMF_LIGHTING, false ); ...->setMaterialFlag( video::EMF_TRILINEAR_FILTER, true); ...->setMaterialFlag( video::EMF_ANISOTROPIC_FILTER, true); ...->setMaterialType( video::EMT_SOLID ); Indeed, now I like more the irrlicht 1.3.1 th...