Search found 16 matches

by Yotunii
Tue Aug 15, 2006 6:11 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

This does actually seem like a decent solution to the problem. I don't see why chunking is better than simply adding some transparent extra at the end of the texture, tho? A flag so you can choose between adding the transparent stuff, or resize it should be sufficient. I can supply a complete textur...
by Yotunii
Mon Aug 14, 2006 5:48 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

My engine just does at shown in the first post, it works really great.
by Yotunii
Mon Aug 14, 2006 4:29 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

I give up.. I had to mod half the engine, and now I have to cast the driver to COpenGLDevice, which is a type only existant inside Irrlicht, to call the virtual function I have defined. This is endless. I am afraid you have to realize that such a simple problem, can be so impossible with your engine...
by Yotunii
Mon Aug 14, 2006 3:07 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

I'm trying to simply make it not change the image, then doing the little OpenGL trick later. I'll see how it works out and post here again :D
by Yotunii
Mon Aug 14, 2006 2:56 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

I like that last idea, if I could just find the scaling function ;)

Edit: Never mind, I found it in in getImageData.. I can't see how to rewrite it tho :/
by Yotunii
Mon Aug 14, 2006 2:36 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

I see.. any idea how I would go on about changing that? Cause I kinda need it.
by Yotunii
Mon Aug 14, 2006 1:15 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

Oh, but my pad is transparent. It doesn't matter much to me that it draws something transparent =)..
My problem is, it seems, that it is scaling the texture down, then up when drawing, cause the texture is very grainy.

And no, I don't really have a deadline, I just don't like waiting :D
by Yotunii
Mon Aug 14, 2006 12:49 pm
Forum: Beginners Help
Topic: New problem.. This is getting bad =/
Replies: 22
Views: 706

New problem.. This is getting bad =/

So, I've kinda fixed my transparent texture problem by adding the image to the gui env instead of drawing it myself. My new problem, is that the image gets scaled (it is not a power of 2), but there must be a workaround on this. I do not accept having to rescale images or manually add padding to my ...
by Yotunii
Mon Aug 14, 2006 8:14 am
Forum: Beginners Help
Topic: Microsoft Visual C++ Express FREAKING OUT!
Replies: 8
Views: 419

Have you set the path? Cause if you don't set the debug path, it won't run from the directory the .exe is located in, and thus it won't be able to find the map.
by Yotunii
Mon Aug 14, 2006 7:14 am
Forum: Beginners Help
Topic: Materials are bothering me..
Replies: 2
Views: 198

Materials are bothering me..

So, hybrid said my solution to transparent textures could be materials. I need an example of how to draw a material using a semi-transparent texture, on a flat surface (what you normally get with draw2DImage). The tutorials that cover materials (shader and per-pixel light) don't really help me, they...
by Yotunii
Mon Aug 14, 2006 7:12 am
Forum: Beginners Help
Topic: Terrain Collision problem
Replies: 3
Views: 339

Sounds like the floating point 'feature' in DirectX.. You can use createDeviceEx with HighPrecisionFPU = true.
by Yotunii
Sun Aug 13, 2006 4:27 pm
Forum: Beginners Help
Topic: 2D texture transparency
Replies: 6
Views: 411

Can you please give me a simple example of materials? Cause I don't understand how to implement them.
by Yotunii
Sun Aug 13, 2006 4:05 pm
Forum: Beginners Help
Topic: 2D texture transparency
Replies: 6
Views: 411

Yeah, well, I've written my own engine before, and it worked perfect there. I am using OpenGL device currently, but it doesn't work with ANY device. In my engine I loaded images with the Corona library, and then simply drew them. All I had to do to make transparency work was enabling GL_BLEND and se...
by Yotunii
Sun Aug 13, 2006 11:32 am
Forum: Beginners Help
Topic: 2D texture transparency
Replies: 6
Views: 411

Yeah, my image is a PNG saved with Photoshop, and it has a correct alpha channel. The problem is that Irrlicht renders it white instead of transparent. The second method won't work, since some parts are only partly transparent.
by Yotunii
Sun Aug 13, 2006 11:02 am
Forum: Beginners Help
Topic: Having troubles with Dev-C++
Replies: 3
Views: 175

Link to irrlicht.lib :)