Thread is like a person. Even while "he" is working, you can give him a new assignment on paper, and tell to stop whatever it is he's doing :) If you have reference to that thread stored in main...
Type: Posts; User: User137
Thread is like a person. Even while "he" is working, you can give him a new assignment on paper, and tell to stop whatever it is he's doing :) If you have reference to that thread stored in main...
As far as i can see, Android still lets you think in pixels
http://stackoverflow.com/questions/1016896/how-to-get-screen-dimensions
Thinking about it, it is a fundamental requirement if you are...
That's good news, there's propably not many DDS loaders for pascal around.
Oh, as you saw in other thread, i took an entirely different approach for tile blending. Making of this tool was cancelled for few other reasons aswell... to put it with simple words: it was...
I could let you test this version (at least while i keep it online): https://docs.google.com/file/d/0B7FII3MhcAHJNVQtaEY0VTB4emc/edit?usp=sharing
Actually i'd hope it to be tested just to verify...
I made a simple planet and tunnel generator, so here is few screenshots.
http://i41.tinypic.com/35knxp3.png
http://i41.tinypic.com/2ez7cll.png
Tile-radius of this planet is 240. Overall 600x600...
Project options -> Miscellaneous -> Uncheck "Always build (even if nothing changed)".
It's ok to have unchecked most of the time, but if you change some library files (such as update graphics/game...
I'm making a circle shaped world. I'm not far enough to show the idea with game yet, but this should give you the idea:...
And i must say that over 700 views in less than 24 hours is unexpected :o I don't know if you even realize how much that is on any forum scale. Stop lurking and start posting, now! There are no bad...
Isn't it out of options to have unique uniforms passed per tile? I am rendering hundreds of tiles on single call. Tessellation is nice idea, but my knowledge on the subject is non existent ::) It...
I'm working on a tile-based game at the moment, and could use some hints on making it look better. Rendering is using GLSL pixel shader for these 6-sided hexagon tiles. I let there be 4 texturemaps...
Well, i am the only developer and i don't really receive much/any feedback at all on what it can do, or what it should be able to do. I'm under assumption that nxPascal works on Windows, Linux and...
That was just an example :P Main part is still that you shouldn't do the texture-memory update in the event of mousemove, but at the beginning of render function, all changes at once, and only if...
Oh you mean altering the texture data directly. Well, you might have glTexSubImage2D(), but i don't have experience of that.
With normal methods you aren't able to change just 1 pixel, but render...
SilverWarior has good tips. I would do 2) to hold 256x256 colored vertex array for the pixels. Render it into texture as a 256x256 grid, that's what framebuffer demo in nx is about. It might be a...
For the mousedown/up you should use the form onMouseDown event. You should check the gametemplate demo, it moves the glowing orb with mouse. And when mouse is held down, it's showing as different...
The shader core is "neutral", it is neither 2D or 3D. Renderer class is a higher level implementation of it, that builds at the moment 2 shader programs. 1 for 2D and 1 for 3D, except that i haven't...
Lots of the above code is changed now... I removed ambient color because it didn't feel necessary/useful for 2D, and also moved the color multiplication from fragment to vertex shader for more...
Been coding few days on renderer class using shaders. The rendering queue should in theory already work for 2D, but it's not showing anything yet >:( Shader source compiles, all uniforms and attribs...
I was going through source code a little.. Is ZenGL fully based on rendering with glBegin() etc "client" calls?
You have 2 ways. If drawing the quad yourself, get pattern texture coordinates with this function:
tex.GetPatternCoords(var x,y,w,h: single; pattern: integer)
Notice that w, h are width and...
I have plans for that, it's just lots of work... I already rewrote the shader classes 2 weeks ago so the "concrete basing" is already set tight 8) Building the renderer and all the shaders won't be...
I know you are still using bit of your own texture loading, but i'll still give short example how nxPascal would do NPOT. You can download Delphi source and exe here. I made it as simple as possible...
If only most games would run on linux, it would be an option ;) Last time i tried Ubuntu it had difficulties with simple matter as enabling hardware acceleration for operating system...
Well, whatever engine you use it's most likely possible to create the window yourself, as needed per special project.
And all these problems only come into question if you are dealing with Apple's...