Search found 7 matches

by callump
Sat Apr 28, 2007 4:05 pm
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 17859

PS: The mozilla engine is outputting the webpage to a texture? Does this mean we can use "makeColourKeyTexture" and set a colour transparent? I guess so - after it's rendered to memory/texture, it's just like any other texture so other functions in the API will work on it as expected. Can...
by callump
Sat Apr 28, 2007 6:21 am
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 17859

Well, there is a callback when a link is clicked so example you might be able to say "<a href="" game_option="2">Start Game</a> and catch the url complete with game_option flag. If it a bit of a hack though - I'll try to improve on it once the other bits are in place.
by callump
Fri Apr 27, 2007 7:30 pm
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 17859

It's essentially the same thing as Firefox 2.0 uses. I'd like to figure out how to add my own tags though - that would be really useful. I know how to 'catch' URLs - it's a bit of a hack but you can catch a dummy link and act on it in the embedding app. I'd like to improve on this to expose all of t...
by callump
Fri Apr 27, 2007 7:10 pm
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 17859

Embedded Web browser on an Irrlicht poly - example with src

A friend of mine is thinking of using Irrlicht3d for a project and wanted to know if my embedded browser library (http;ubrowser.com) would work with it. It does and I put together a trivial example which is a little rough around the edges so I'm hoping someone who knows Irrlicht will improve on it. ...
by callump
Wed Apr 18, 2007 5:36 pm
Forum: Advanced Help
Topic: Rendering dynamic textures
Replies: 6
Views: 1112

Thanks hybrid - that gives me somewhere to start.
by callump
Wed Apr 18, 2007 2:11 pm
Forum: Advanced Help
Topic: Rendering dynamic textures
Replies: 6
Views: 1112

Yep - that's why I need to be able to scale the texture. If my dynamic texture is 200x100, I create an OpenGL texture that is 256x128, render into a 200x100 portion of it and use OpenGL to scale this portion up to fill the polygon I'm texturing.
by callump
Tue Apr 17, 2007 4:18 pm
Forum: Advanced Help
Topic: Rendering dynamic textures
Replies: 6
Views: 1112

Rendering dynamic textures

I want to generate a texture in code and then apply that to objects in my scene. Can someone point me to a code fragment that illustrates how in Irrlicht I can: - use an arbitrary sized block of system memory as a texture and - apply a texture scale (in OpenGL terms) so that non-power of two texture...