Search found 34 matches

by yellowfever13
Wed Nov 05, 2008 5:01 am
Forum: Beginners Help
Topic: 2D, Buttons and textures get blurry upon resize
Replies: 2
Views: 786

fixed it

Well it wasnt reproducable, I guess its unique to forms? I noticed that the problem didnt happen if the form was first created at maximum resolution. So in order to fix it, I start it large, wait till my new thread initializes the irrlicht driver, then set the size back down. Here is the following c...
by yellowfever13
Mon Nov 03, 2008 2:34 am
Forum: Beginners Help
Topic: 2D, Buttons and textures get blurry upon resize
Replies: 2
Views: 786

2D, Buttons and textures get blurry upon resize

I have an irrlicht engine running inside a windows form. I catch the resize and send it to irrlicht and call onresize. The aspect ratio stays correct as it should, but buttons and textures get blurry for no reason. They are being displayed the same size still as they should, but get blurry. Any idea...
by yellowfever13
Sat Oct 11, 2008 11:45 pm
Forum: Advanced Help
Topic: IRR in Windows Form
Replies: 0
Views: 670

IRR in Windows Form

I have searched irrlicht forums and google for a couple days now. I have tried numerous solutions. My problem is getting mouse input for irrlicht when in a windows form. I am NOT using irrlicht.net. This is a C++ project. I am starting the irrlicht loop with this: private: System::Void dialog_Load(S...
by yellowfever13
Wed Oct 08, 2008 10:17 pm
Forum: Advanced Help
Topic: Overriding MFC event receiver
Replies: 4
Views: 920

Finally figured it out! Thanks much to bitplane! FYI: There was some crazy stuff going on, as in when trying to move the parent window it would move my irrlicht window. Finally realized it was sending all messages to irrlicht( such as movewindow etc ). I put a conditional statement in my custom wind...
by yellowfever13
Wed Oct 08, 2008 6:43 pm
Forum: Advanced Help
Topic: Overriding MFC event receiver
Replies: 4
Views: 920

Ok I added everything in from CIrrDeviceWin32.cpp but for some reason I'm getting these linker errors. I recompiled the DLL and LIB with the _IRR_USE_WINDOWS_DEVICE_ flag defined in IrrCompileConfig.h. Why is it not seeing them? unresolved token (0A0007DF) "public: void __thiscall irr::video::C...
by yellowfever13
Wed Oct 08, 2008 4:07 pm
Forum: Advanced Help
Topic: Overriding MFC event receiver
Replies: 4
Views: 920

Overriding MFC event receiver

I have made my own WindowProc. I have tried code from another thread in order to send the messages to Irrlicht. I included CIrrDeviceWin32.h but I get the following errors... after adding CIrrDeviceWin32.cpp to my project it complained something about accessing the DLL. error C2065: 'SEnvMapper' : u...
by yellowfever13
Tue Oct 07, 2008 3:33 pm
Forum: Beginners Help
Topic: MFC-Eventreceiver
Replies: 5
Views: 6481

help

I am also trying to get events( mayacamera doesnt work, buttons etc. ) from an MFC project ( CWinApp ). Ive read this thread and others and still dont understand what to put in WindowProc. I see the above about attaching the CIrrDeviceWin32.h file and using the text above. But that header file wants...
by yellowfever13
Wed Oct 01, 2008 4:29 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

thanks

thank you for the info hybrid. I will fix some of the things you mentioned. Some of the things will stay however, this was a test app for my project in which I will be importing poly coordinates from an autocad dwg file, I wont know the number of polys at runtime, hence the push. I realize this mesh...
by yellowfever13
Wed Oct 01, 2008 2:00 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

https://photos-2.getdropbox.com/i/l/XgscX2xVtXHMBCO_rlFaYXZ2FphD8rJDRGh4_zZFX6k#6 https://photos-3.getdropbox.com/i/l/uj4rZtKBbbU4EMw8GybumnRNW3jQaBdE5o1E_BzSAlE#7 in the first image, I acheived this look by changing the makePlanarTextureMapping resolution to 0.5. This is the look I want. The other ...
by yellowfever13
Tue Sep 30, 2008 8:11 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

more help...sorry

///////////////////////////////////////////////////////////////////////////////////////// S3DVertex Vertices[4]; SMeshBuffer* mbuf = new SMeshBuffer(); for( int p = 0; p < 2000; p++ ) { { Vertices[0] = S3DVertex( p ,0 ,0 ,0,-1,0, SColor(255,255,255,255), 1, 0 ); Vertices[1] = S3DVertex( p+12 ,0 ,0 ...
by yellowfever13
Mon Sep 29, 2008 2:34 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

well...

so if the texture coords are making it tile 3 times by default...can I modify the texture coords to make it repeat more like I need? Sorry, I dont know much about texture coords in Irr...I know what they are but never played with them. So in summary can I edit texture coords to control my diffuse an...
by yellowfever13
Fri Sep 26, 2008 8:31 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

any idea why its repeating 3 times on my model instead of once? What controls the tiling then?
by yellowfever13
Fri Sep 26, 2008 8:04 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

damn

so there is no way to do this at runtime? seems pretty odd. This is very disappointing to my project :(

Thanks for the information, if anyone else has something to add please do.

Thanks!
by yellowfever13
Fri Sep 26, 2008 5:39 pm
Forum: Advanced Help
Topic: how do i scale a parallax texture?
Replies: 12
Views: 1301

how do i scale a parallax texture?

normal scaling doesnt work with parallax type.. I've always used material.getTextureMatrix(0).setTextureScale Now that I am experimenting with parallax mapping, that doesnt do the trick. What am I missing? FYI I need a repeating pattern on an object to be the same size in the world on an object that...
by yellowfever13
Wed Sep 24, 2008 9:32 pm
Forum: Project Announcements
Topic: XEffects - (Indoor Soft-Shadows + Post-Processing)
Replies: 179
Views: 71547

Thanks BlindSide...I suppose per light via ambient setting...but then again, I'm too much of an amature to make that call. I'm sure you will make the best decision. I will continue to tinker with it to try and get better results like your demo.

Thanks for your hard work!