Thanks for the quick response. I wish I can scale the texture size into power of 2, but it is not possible in my case, as the image is specified by the user, the most I can do is scaling either its Width or Height to be power of 2, and the other dimension will have to scale proportionally.
Thus, I ...
Search found 13 matches
- Thu Mar 27, 2008 4:31 pm
- Forum: Advanced Help
- Topic: Optimizing the display of texture with alpha
- Replies: 14
- Views: 1695
- Wed Mar 26, 2008 5:29 am
- Forum: Advanced Help
- Topic: About passing 3D texture to Pixel Shader
- Replies: 3
- Views: 1160
About passing 3D texture to Pixel Shader
I am trying to put the fire: Lava example from RenderMonkey into Irrlicht Engine 1.31. Unfortunately, in that example, there is a 128 x 128 x 128 Noise Map in .dds format. I know that irr engine cannot support .dds format. So, I converted the dds file into 128 pieces of .jpg files with each 128 x ...
- Tue Mar 25, 2008 1:16 pm
- Forum: Beginners Help
- Topic: About sampler variable in HLSL
- Replies: 1
- Views: 213
About sampler variable in HLSL
I have 2 sampler variables in my HLSL code.
I would like to ask how can I pass two textures: one is a noise map of 128 X 128, another one is a 1 X 256 gradient map, into the shader by using services->setPixelShaderConstant(...)?
indeed, I have the following in my program:
scene ...
I would like to ask how can I pass two textures: one is a noise map of 128 X 128, another one is a 1 X 256 gradient map, into the shader by using services->setPixelShaderConstant(...)?
indeed, I have the following in my program:
scene ...
- Tue Jan 29, 2008 5:46 am
- Forum: Advanced Help
- Topic: Multiple Event Handler Input
- Replies: 8
- Views: 983
- Sat Jan 26, 2008 11:27 am
- Forum: Advanced Help
- Topic: Multiple Event Handler Input
- Replies: 8
- Views: 983
Multiple Event Handler Input
I am implementing the movement of my game character.
I am thinking of making the character move with direction 045 degree when the player is pressing arrow up and right together.
Indeed, my question is how can I know that the player is pressing arrow up and right together, but not pressing arrow up ...
I am thinking of making the character move with direction 045 degree when the player is pressing arrow up and right together.
Indeed, my question is how can I know that the player is pressing arrow up and right together, but not pressing arrow up ...
- Thu Jan 10, 2008 2:38 pm
- Forum: Advanced Help
- Topic: Blending animations with IAnimatedMeshSceneNode
- Replies: 6
- Views: 879
Re: Blending animations with IAnimatedMeshSceneNode
I'm looking for a way to blend two animations using IAnimatedMeshSceneNode. By blend I mean have two animations running at the same time affecting different joints different amounts. As in having the legs running while the arms/torso attack.
The only idea I currently have is to manually set the ...
The only idea I currently have is to manually set the ...
- Thu Jan 10, 2008 3:41 am
- Forum: Advanced Help
- Topic: About multiple Animation
- Replies: 9
- Views: 967
- Tue Jan 08, 2008 9:07 am
- Forum: Advanced Help
- Topic: About multiple Animation
- Replies: 9
- Views: 967
About multiple Animation
I have tried out the animators, and I found that each time only the newest added animator is active for the mesh to move.
eg: I first added a flystraight animator and then a rotation animator, the mesh will only rotate.
So, I want to ask how can I make the mesh move straight with keeping rotate ...
eg: I first added a flystraight animator and then a rotation animator, the mesh will only rotate.
So, I want to ask how can I make the mesh move straight with keeping rotate ...
- Tue Jan 08, 2008 7:22 am
- Forum: Game Programming
- Topic: About Massively Multiplayer Online Game Structure
- Replies: 15
- Views: 4214
- Mon Jan 07, 2008 8:35 am
- Forum: Game Programming
- Topic: About Massively Multiplayer Online Game Structure
- Replies: 15
- Views: 4214
- Mon Jan 07, 2008 6:38 am
- Forum: Game Programming
- Topic: About Massively Multiplayer Online Game Structure
- Replies: 15
- Views: 4214
About Massively Multiplayer Online Game Structure
Hi~
I am planning to build a Multiplayer Online Game with the type like World of Warcraft, but surely a mini-size one (only have one server support and mush less maps, NPCs and players).
I would like to ask how should the code be structured? in order to handle the consistance problems and the ...
I am planning to build a Multiplayer Online Game with the type like World of Warcraft, but surely a mini-size one (only have one server support and mush less maps, NPCs and players).
I would like to ask how should the code be structured? in order to handle the consistance problems and the ...
- Wed Dec 05, 2007 9:42 am
- Forum: Beginners Help
- Topic: [Urgent] API for mouse coordinate to world coordinate
- Replies: 2
- Views: 296
[Urgent] API for mouse coordinate to world coordinate
Is there any API in the game engine can convert the mouse coordinate to world space coordinate??
I mean like glUnProject in OpenGL.
This is because I am develop a game which need the player to click on screen to build things on the map.
Thxs a lot for the one who can answer.
I mean like glUnProject in OpenGL.
This is because I am develop a game which need the player to click on screen to build things on the map.
Thxs a lot for the one who can answer.
- Wed Sep 19, 2007 12:03 pm
- Forum: Beginners Help
- Topic: About DirectX SDK
- Replies: 3
- Views: 702
About DirectX SDK
I know that complie the engine in VC 2005 needs my machine to install DirectX SDK first. I have downloaded the DirectX SDK - August 2007.
And try to complie the Demo code. However, in the file CD3D8ShaderMaterialRenderer.h, line 13: #include <d3dx8core.h>
fatal error C1083: Cannot open include file ...
And try to complie the Demo code. However, in the file CD3D8ShaderMaterialRenderer.h, line 13: #include <d3dx8core.h>
fatal error C1083: Cannot open include file ...