Lucius

Austria

elfpixel.com

Age: 20

In summer 2012 I started working as a web developer for a magazine. Since October I have been studying Computer Science and Mathematics at the University of Technology in Vienna.

16h
comment PHP - Variable, only text allowed
Provided it was really about that. I still can't tell.
May
11
comment what program should I use to create c# 3d game and how?
In this case I am afraid I have to agree with slugster. You don't seem to know what you are looking for.
May
11
answered what program should I use to create c# 3d game and how?
May
6
answered HLSL: Getting texture dimensions in a pixel shader
May
2
comment Insert same data into database
First: sanitise user input. Second: redirect after POST requests.
May
1
comment Generation of 3D terrain with seperate quads
Out of curiosity: Why don't you want shared vertices? Is it a choice of style? Without shared vertices you will have hard edges between adjacent quads with different textures. Using terrain texture blending will probably give much nicer results.
May
1
comment <h1> is smaller than <h2> in firefox and chrome (HTML5)
Why are <h2>, <h3>, etc. not also scaled accordingly? What's the logic behind this?
Apr
29
comment trying to load a bitmap, but xna want´s a Texture2D
@Hobbit9797 You can write data from a Bitmap to a Texture2D with the SetData method. But loading it through the content pipeline will probably be faster.
Apr
28
answered What is the flow for renderring a hierarchical model in DirectX 11?
Apr
27
answered How to rotate a bounding box in XNA?
Apr
26
revised Get all pixel array inside circle
added 67 characters in body
Apr
25
comment Placing a Smaller Texture2D into a larger one
Are you trying to do something in real time here? Or do you just want to assemble the bigger texture for later use in a real time application. Because I assume what you really want is to assemble the tiles at runtime. Putting all your tiles into a large texture kills every benefit of a tile system.
Apr
23
comment Using Multiple Vertex Buffers In DX10/DX11
Oh my god, I never knew you could split your vertex data that way!
Apr
17
comment Performance of dynamic constant buffer indexing in pixel shaders
I never have much data in my cbuffers, so I really can't tell. Does performance increase using an integer index?
Apr
16
comment Performance of dynamic constant buffer indexing in pixel shaders
"[..] arbitrary semantics are allowed which have no special meaning." from MSDN. I assume this means you can come up with custom semantics. Since I don't know what effect you are going after I can't say if a texture fits here. But I would give it a try, see how it looks performance-wise. After all they were made for looking up colors.
Apr
16
comment Performance of dynamic constant buffer indexing in pixel shaders
Just out of curiosity: Why do you use a float index and not just a dedicated integer component in your input? That would at least remove the cost from scaling the float and converting it back to an integer. Also instead of a constant buffer consider using a texture resource containing the colors.
Apr
15
comment Xna studio 4. Pixel drawing
Edited my answer. Nevertheless, Direct3D graphics are vector based. Always consider the per pixel solution as a last resort.
Apr
15
revised Xna studio 4. Pixel drawing
added 227 characters in body
Apr
14
answered Xna studio 4. Pixel drawing
Apr
13
comment DirectX11 drawing simple triangle
If everything else fails I always load a working triangle sample from the web and replace it paragraph by paragraph with my own code, building and running the application after each replacement. If it does not draw at some point, you have found an error. If there is still sample code in the application at the end and it cannot be removed without breaking it, that code is what was missing. Good luck!
1 2 3 4 5