Search found 6 matches
- Tue May 08, 2012 9:00 pm
- Forum: Beginners Help
- Topic: Decals applied to non-static meshes
- Replies: 7
- Views: 2310
Re: Decals applied to non-static meshes
Ah, there we go. Thanks :D I missed that typo...and that would be why I wasn't noticing a change in texture. Changing one pixel 65,536 times to the same value...just doesn't do much. ;) What is texture pitch exactly? I checked the API docs and it says the pitch is the amount of bytes in a row of the...
- Tue May 08, 2012 6:57 pm
- Forum: Beginners Help
- Topic: Decals applied to non-static meshes
- Replies: 7
- Views: 2310
Re: Decals applied to non-static meshes
Ok, what would I use to retrieve UV coords from selected triangles? And, I have tried editing an image, but without success. In this test I'm just trying to set half the texture colors. What am I doing wrong? //My test texture is a 24 bit bitmap line3d<f32> ray = coll->getRayFromScreenCoordinates(...
- Tue May 08, 2012 2:08 am
- Forum: Beginners Help
- Topic: Decals applied to non-static meshes
- Replies: 7
- Views: 2310
Re: Decals applied to non-static meshes
Thanks for replying, guys. Ok, I see. At first I thought it only had 2 because of intellisenes in MSVC(and I hadn't noticed anything in the API docs saying otherwise). I don't know that much about shaders yet, but I think I'm starting to understand them a bit. I think I may be able to figure out the...
- Mon May 07, 2012 9:02 pm
- Forum: Code Snippets
- Topic: Decal mesh generator
- Replies: 10
- Views: 3871
Re: Decal mesh generator
I started a thread for my question here: http://irrlicht.sourceforge.net/forum/v ... =1&t=46286
- Mon May 07, 2012 8:57 pm
- Forum: Beginners Help
- Topic: Decals applied to non-static meshes
- Replies: 7
- Views: 2310
Decals applied to non-static meshes
I have a question about decals and non-static geometry. I originally asked this question over in another thread, but because that wasn't really the place for the question, I started this thread. So, here's the carry-over from http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=45604 Hello ...
- Mon May 07, 2012 6:01 pm
- Forum: Code Snippets
- Topic: Decal mesh generator
- Replies: 10
- Views: 3871
Re: Decal mesh generator
Hello Thanks for releasing this code, it's the best decal system I have seen for Irrlicht. :D I am wondering if there is a way to use these decals with non static meshes, as with the F.E.A.R. games where blood decals are created at bullet hits. Example image from http://www.tweakguides.com/FEAR_8.ht...