I modified the demo code:
#include <irrlicht.h>
#include <iostream>
#include <windows.h>
using namespace irr;
#pragma comment(lib, "Irrlicht.lib")
class CSampleSceneNode : public scene::ISceneNode
{
core::aabbox3d<f32> Box;
video::S3DVertex2TCoords Vertices[4];
video::SMaterial Material ...
Search found 15 matches
- Sat Mar 29, 2008 4:46 am
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Fri Mar 28, 2008 11:51 am
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Fri Mar 28, 2008 3:03 am
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Fri Mar 28, 2008 12:54 am
- Forum: Beginners Help
- Topic: Terrain Blend Map help
- Replies: 3
- Views: 556
- Thu Mar 27, 2008 10:53 pm
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Thu Mar 27, 2008 9:15 pm
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Thu Mar 27, 2008 9:02 pm
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
- Thu Mar 27, 2008 9:01 pm
- Forum: Code Snippets
- Topic: Texture Splatting Effect Without Pixel Shader
- Replies: 20
- Views: 14016
Texture Splatting Effect Without Pixel Shader
First I got an idea with http://downloads.gamedev.net/features/hardcore/splatting/TextureSplattingDemo.zip in Direct3D 9.
The Screenshot is here:
http://lcgamestudio.spaces.live.com/photos/cns!107BA0E26B42D45F!120/
And can download code:
http://uploader.polorix.net//files/1431/Texture ...
The Screenshot is here:
http://lcgamestudio.spaces.live.com/photos/cns!107BA0E26B42D45F!120/
And can download code:
http://uploader.polorix.net//files/1431/Texture ...
- Wed Mar 26, 2008 6:58 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
I found same article:
http://www.gamedev.net/reference/articl ... le2238.asp
http://www.cbloom.com/3d/techdocs/splatting.txt
And I'll try it.
http://www.gamedev.net/reference/articl ... le2238.asp
http://www.cbloom.com/3d/techdocs/splatting.txt
And I'll try it.
- Wed Mar 26, 2008 6:43 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
- Wed Mar 26, 2008 6:36 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
- Tue Mar 25, 2008 10:00 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
- Tue Mar 25, 2008 9:16 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
There's a good example in http://www.gameprojects.com/project/?id=8fc946fc5f with XNA Framework 2.0. But it's only support four texture blending. I want to make a terrain editor and can paint many textures on the terrain with irrlicht.
- Tue Mar 25, 2008 7:28 am
- Forum: Advanced Help
- Topic: Terrain Problem
- Replies: 20
- Views: 4588
Terrain Problem
I want to known how to blend different textures on each material's edge. There's many source code on Internet. But they are three or four texture types blend by pixel shader. I mean how can I blend any number of textures on each texture's edge.
The effect like this:
[img]http://www.azure.com.cn ...
The effect like this:
[img]http://www.azure.com.cn ...
- Thu Mar 20, 2008 8:44 pm
- Forum: Advanced Help
- Topic: Help!!
- Replies: 0
- Views: 383
Help!!
I want to transform world vertex to screen coordinates by my code. and with each transformed 2d screen point,draw a white rectangle. Here is my code:
(first I added renderPoint() and Modified render() from the CCubeSceneNode class )
CLocoCubeNode.h
#ifndef __LOCO_CUBE_NODE__
#define __LOCO_CUBE ...
(first I added renderPoint() and Modified render() from the CCubeSceneNode class )
CLocoCubeNode.h
#ifndef __LOCO_CUBE_NODE__
#define __LOCO_CUBE ...