Search found 28 matches

by trnrez
Fri Jan 16, 2009 10:28 pm
Forum: Advanced Help
Topic: Drawing Curves and Lines
Replies: 12
Views: 2038

Has support for drawing splines been added?
by trnrez
Fri Jan 16, 2009 4:52 pm
Forum: Bug reports
Topic: How do you make an image transparent on a button?
Replies: 7
Views: 1000

Dorth wrote:So a whole SColor for each gui elements to taint them and make them transparent while we're there?
That is pretty much the route I was thinking of going.
by trnrez
Fri Jan 16, 2009 3:14 pm
Forum: Bug reports
Topic: How do you make an image transparent on a button?
Replies: 7
Views: 1000

I wanted to see if anyone would like me to take this feature a step further or leave it be. I think it would be really awesome if every entity could have separate transparency. For instance, I have two buttons but each button can have a separate transparent value. Similar to how EQ did their UI, eac...
by trnrez
Thu Jan 15, 2009 10:26 pm
Forum: Bug reports
Topic: How do you make an image transparent on a button?
Replies: 7
Views: 1000

Perhaps not the best way but I have fixed this by editing the engine itself. In case anyone else wants to do this here is what I did: Added another EGUI_DEFAULT_COLOR to IGUISkin.h enum EGUI_DEFAULT_COLOR { ... //! The image on a button EGDC_BUTTON_IMAGE, .... } Gave the new color some default value...
by trnrez
Thu Jan 15, 2009 8:18 pm
Forum: Bug reports
Topic: How do you make an image transparent on a button?
Replies: 7
Views: 1000

How do you make an image transparent on a button?

I want to use images for buttons but I want them to appear to be translucent. The issue is that when I use _gui->getSkin()->setColor(...) it does nothing to the images. It makes text and sliders and buttons translucent but the image remains the same. Any help would be awesome. // create a button gui...
by trnrez
Thu Jan 15, 2009 8:07 pm
Forum: Code Snippets
Topic: GUIEditorControl
Replies: 12
Views: 4725

When a dialog opens from the main section that dialog can only move within the main dialog. For instance, I tell it I want to load an image the image dialog box pops up. I try and move it away from the main dialog and it will only go as far as the edge of the main dialog. If I move the main dialog t...
by trnrez
Thu Jan 15, 2009 3:23 pm
Forum: Beginners Help
Topic: [solved] Drawing a 3D line to terrain heightmap
Replies: 6
Views: 545

terrain->getHeight(f32 x, f32 y) ? If not, then sorry, I don't quite get what you're trying to do. How did I not notice this in the documentation?! Must of skipped over cause that is exactly what I was looking for! Thanks for the help Eigen. Works perfect now. But what I don't get is why it is call...
by trnrez
Wed Jan 14, 2009 9:51 pm
Forum: Beginners Help
Topic: [solved] Drawing a 3D line to terrain heightmap
Replies: 6
Views: 545

Possible Solution

If anyone can give me a better solution that would be awesome but how bad does the below sound. I make a collision point to test against that is extremely way up in the Y and one that is extremely way down in the Y. Then use getCollisionPoint(...) to find out if that ray has an intersection to the t...
by trnrez
Wed Jan 14, 2009 9:27 pm
Forum: Beginners Help
Topic: [solved] Drawing a 3D line to terrain heightmap
Replies: 6
Views: 545

[solved] Drawing a 3D line to terrain heightmap

Edit: Question needed rephrasing. I am rendering a set of terrain based on a heightmap and then loading in xyz points that I would like to generate lines from. I would like the data's Y to stick to the terrains Y. Is there a simple method to do this? I looked at getCollisionPoint(...) but this requi...
by trnrez
Fri Jan 09, 2009 5:58 pm
Forum: Beginners Help
Topic: [Solved] addBillboardTextSceneNode issue
Replies: 4
Views: 793

vitek you are awesome! Thanks for the help!

Sorry it was a silly problem. All my problems are silly things on my part. :)
by trnrez
Fri Jan 09, 2009 5:52 pm
Forum: Beginners Help
Topic: [Solved] addBillboardTextSceneNode issue
Replies: 4
Views: 793

vitek wrote:The text is probably below the terrain.

Travis
This was my intial thought as well but I have gathered the info about the bounding box it is min(0,0,0) max(9600,1070,9600). I then made the position vector to be (0,1100,0) and I still get nothing rendering.
by trnrez
Fri Jan 09, 2009 5:38 pm
Forum: Beginners Help
Topic: [Solved] addBillboardTextSceneNode issue
Replies: 4
Views: 793

[Solved] addBillboardTextSceneNode issue

This is probably extremely rudimentary but I can't figure out what the problem is. I would like to add text to the four corners of a landscape so I can do some debugging. The issue I am having is that I can't get the text to show up in the system at all. I tried it in Tutorial 12 and I couldn't get ...
by trnrez
Wed Jan 07, 2009 2:52 pm
Forum: Code Snippets
Topic: Terrain pager
Replies: 24
Views: 20207

hybrid wrote:How do you load 16bit pngs? There's no color format for this. I guess it'd be better to use 16bit RAW images. These are properly loaded by the terrain scene node.
Does Irrlicht use 16-bit grayscale images for heightmap creation as well as 8-bit?
by trnrez
Tue Jan 06, 2009 10:23 pm
Forum: Code Snippets
Topic: Terrain pager
Replies: 24
Views: 20207

Looks awesome! What is the license on the code? I believe I have found one issue though. I use 16-bit pngs for my heightmap. After I run your application it splits the image into multiple sections those sections are now 8-bit pngs. Would be really awesome if it maintained the quality of the image co...
by trnrez
Mon Jan 05, 2009 10:55 pm
Forum: Beginners Help
Topic: Need a method for drawing a very large height map.
Replies: 3
Views: 346

:D Awesome! Thanks for the help!