How can I render to a texture in BlitzMax v1.24?
BlitzMax Forums/BlitzMax Programming/How can I render to a texture in BlitzMax v1.24?
| ||
How can I render to a texture in BlitzMax v1.24? I've tried using Indiepath's Render-To-Texture module but it doesn't work in BlitzMax v1.24. Are any alternatives available? The reason I'm looking for this is that I want to create destructible 2D terrain by modifying an image over and over (eg. creating holes, etc, etc). I'm not sure this is the best method to do it but it's the only way I really know how. Thanks for your help! |
| ||
Isnt there like 4 or 5 different code samples for this in the code sample section? If not, then I dont know what you mean. |
| ||
If there are any in the code samples, I can't find them :( |
| ||
As said in your other thread, you have to get below the hood and write your own OpenGL or DirectX code if you want to do this. |
| ||
But luckerly you have indiepaths, which you know at least nearly works. |
| ||
You *might* be able to do it with this but I haven't looked at the code for a while and can't say how quick it will be. <edit> Alternatively try using writepixel. It's a lot quicker than B3D so might be quick enough. |
| ||
Indiepaths does not work even nearly under 1.24 as several needed access functions do not even exist anymore at least on the DX end. Only changing the 3 device things mentioned normally is not enough, he used "under the hood functions" that do not exist anymore. |
| ||
Wonder if we asked really nicely Indiepaths mod might get ressurected? |
| ||
*might* |
| ||
Aww go on... Pretty please with sprinkles on... |
| ||
Hey IndiePath... did you think about recoding this mod at all? :) |
| ||
I'm not worried about DX at all as I'm mac based so I've no problem with removing all the DX stuff altogether! |