Search found 15 matches

by mrbrdo
Mon Jan 22, 2007 6:09 pm
Forum: Beginners Help
Topic: Terrain coords..
Replies: 2
Views: 384

Terrain coords..

Hey, i'm a bit confused about the coordinates of the terrain.
I load the terrain from a 256x256px heightmap. I figured out that 0,0,0 is the bottom-right corner of the terrain. Then, if i setposition(256,0,256) it isn't the top-left corner as i had assumed but it's outside of the terrain. I figured ...
by mrbrdo
Mon Jan 22, 2007 6:03 pm
Forum: Bug reports
Topic: TerrainRendering DX9 bug!
Replies: 10
Views: 805

bitplan: yes to all. well, i'm not quite sure if i have the latest nvidia drivers. Btw i'm no expert but as far as i thought terrain wasn't particles.. The thread you linked talks about flickering only with particles. That's from dxdiag:
Main Driver: nvd3dum.dll
Version: 7.15.0010.9685 (English ...
by mrbrdo
Mon Jan 22, 2007 5:56 pm
Forum: Beginners Help
Topic: Wrapping terrain..
Replies: 5
Views: 677

i thought there was a more elegant way of doing it..

what i'll try:
load 9 instances of the terrain and then mirror the action on the main (center) terrain to all other 8 terrains around the center terrain.. then, whenever camera goes out of the center terrain, i move the camera back to the center ...
by mrbrdo
Mon Jan 22, 2007 5:47 pm
Forum: Beginners Help
Topic: resize IGUIImage?
Replies: 6
Views: 702

hybrid: it doesn't seem to scale automatically.. i don't mind if the image is slightly distorted because of the scaling.. still need some code to make this work, what i've tried so far did not do it.
by mrbrdo
Mon Jan 22, 2007 3:38 pm
Forum: Beginners Help
Topic: resize IGUIImage?
Replies: 6
Views: 702

thanks for trying but "core::matrix4&" is correct, "core::matrix4*" is not (compiler error).

and it should be "bg_img->setImage(driver->getTexture("data/texture/bg.tga"));", not "bg_img->setImage("data/texture/bg.tga");", but that doesn't work, it just makes it so you can only see the 640x480 ...
by mrbrdo
Mon Jan 22, 2007 3:16 pm
Forum: Beginners Help
Topic: resize IGUIImage?
Replies: 6
Views: 702

anyone knows about this? thanks
by mrbrdo
Mon Jan 22, 2007 3:15 pm
Forum: Bug reports
Topic: TerrainRendering DX9 bug!
Replies: 10
Views: 805

It could be a problem with MinGW (or Code::Blocks in general too) and Irrlicht, because like Luke i have no problems with any other games using DX 9.0c. You guys might want to look into this.
Like i said i REALLY doubt there is a problem with my system hardware-wise, because i have no such problems ...
by mrbrdo
Mon Jan 22, 2007 3:13 pm
Forum: Beginners Help
Topic: Wrapping terrain..
Replies: 5
Views: 677

strong99: there's a problem with that method though, you'd also have to draw all units\models (in case of this specific game) again.. i think there could be a better solution so keep em coming :) thanks for the replies so far
by mrbrdo
Sun Jan 21, 2007 10:39 pm
Forum: Bug reports
Topic: TerrainRendering DX9 bug!
Replies: 10
Views: 805

I didn't have any problems with any game that use DirectX though (World of Warcraft, Unreal Tournament 2004...) at all - no glitches whatsoever. Does the example work for you if you use directx 9.0c?

Note i'm using DirectX 10 (WinVista) - but it does work flawlessly with all games i've tried.
by mrbrdo
Sun Jan 21, 2007 10:39 pm
Forum: Beginners Help
Topic: resize IGUIImage?
Replies: 6
Views: 702

i tried:
bg_img = env->addImage(env->getScreenRect(rect<f32>(0, 0, 1, 1)));
ITexture *img = driver->getTexture("data/texture/bg.tga");
core::matrix4& tran = img->getTransformation();
tran.setScale(core::vector3df(0.5f,0.5f,0.5f));
bg_img->setImage(img);
it does resize the texture, but it cuts ...
by mrbrdo
Sun Jan 21, 2007 9:48 pm
Forum: Beginners Help
Topic: resize IGUIImage?
Replies: 6
Views: 702

resize IGUIImage?

hey.. i use different resolutions when i create my window and i want to be able to resize the images accordingly too (for example: the background image is 800x600, i open the window at 640x480, i want to resize the background image to 640x480). Any way of doing this with IGUIImage, or i have to do ...
by mrbrdo
Sun Jan 21, 2007 8:25 pm
Forum: Bug reports
Topic: TerrainRendering DX9 bug!
Replies: 10
Views: 805

TerrainRendering DX9 bug!

Hello

I'm not sure if this is just something with my system, but when i compile and run the TerrainRendering example (i use Code::Blocks - the MinGW compiler), if i use the OpenGL driver it works great, but if i use DirectX 9.0c, i see triangles which "bleed" trough. I played a lot of games that ...
by mrbrdo
Sun Jan 21, 2007 5:38 pm
Forum: Beginners Help
Topic: Wrapping terrain..
Replies: 5
Views: 677

Wrapping terrain..

Hello. I am wondering how i would go about wrapping terrain, like in the game Moonbase Commander. A picture says a thousand words, so:
http://mbc.strategyplanet.gamespy.com/screenshots/2.jpg
If you look at the map in the upper-right corner you see you actually see on screen the bottom part of the ...
by mrbrdo
Sun Jan 21, 2007 12:17 am
Forum: Open Discussion and Dev Announcements
Topic: The skin engine - limitations
Replies: 6
Views: 1016

Doesn't anyone sympathise with me? :S
by mrbrdo
Sun Jan 07, 2007 8:10 pm
Forum: Open Discussion and Dev Announcements
Topic: The skin engine - limitations
Replies: 6
Views: 1016

The skin engine - limitations

Hello

I think Irrlicht is great by design, only the skin engine is somewhat flawed. It doesn't allow enough manipulation without actually editing the engine code itself.
If it is only supposed to be used for simpler windows\buttons, i would strongly suggest that more "color variables" such as EGDC ...