Search found 16 matches

by Eagle_Eye
Wed May 13, 2009 8:17 pm
Forum: Beginners Help
Topic: Mesh wont appear after applied shader.
Replies: 2
Views: 341

Ok, i figured out why it didn't show, because i had a black back ground. for some reason, the mesh is black after i applied the shader to it, any ideas?
by Eagle_Eye
Wed May 13, 2009 8:13 am
Forum: Beginners Help
Topic: How irrlicht render lightmap of gile[s]?
Replies: 3
Views: 862

ok, i tried loading the light mapped model and it gives me this error in console:



Unknown data object in animation of .x file: Header
Loaded texture: c:\Program Files (x86)\Autodesk\3dsMax8\meshes\Brkwea.jpg
First-chance exception at 0x100bd3e2 in Files.exe: 0xC0000005: Access violation reading ...
by Eagle_Eye
Wed May 13, 2009 7:31 am
Forum: Beginners Help
Topic: IrrEdit - shadowz. (pic heavy)
Replies: 18
Views: 2185

I thought you said it was freeware. you gotta buy it it seems, or did i download a wrong version or something?

EDIT: Never mind.
by Eagle_Eye
Wed May 13, 2009 6:07 am
Forum: Beginners Help
Topic: Mesh wont appear after applied shader.
Replies: 2
Views: 341

Mesh wont appear after applied shader.

for some reason, my mesh disappears when i apply my shader to it. it should at least show it, no? I don't get if it's the shader, or my code. any ideas on what it could be?

i've added my shader code here for you to see so MAYBE you could tell me what's wrong with it. Irrlicht doesn't give me any ...
by Eagle_Eye
Wed May 13, 2009 5:57 am
Forum: Beginners Help
Topic: IrrEdit - shadowz. (pic heavy)
Replies: 18
Views: 2185

I tried to look for it on google but i couldn't find it. can you provide a link?
by Eagle_Eye
Thu Feb 19, 2009 10:12 pm
Forum: Code Snippets
Topic: m8m/mdl7/mdl5 mesh loaders
Replies: 7
Views: 4303

I can't seem to open it in rar. anyway to get a rar file of it? i've been meaning to implement some form of md5 loader in my engine but since you already did it, then i guess i could just use yours. Also, does Irrlicht load .dds files? cause i tried to load it and it didn't work at all.
by Eagle_Eye
Wed Feb 11, 2009 6:55 am
Forum: Beginners Help
Topic: little help trying to render to a typical Win32 window.
Replies: 2
Views: 299

you sir, are an angel
by Eagle_Eye
Wed Feb 11, 2009 1:49 am
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

New problem, i can't seem to set the texture on a mesh using shaders, it gives me



rror setting float array for HLSL variable



here is my shader code for this effect



float4x4 matViewProjection : ViewProjection;

struct VS_INPUT
{
float4 Position : POSITION0;
float2 TEX : TEXCOORD0 ...
by Eagle_Eye
Wed Feb 11, 2009 1:10 am
Forum: Beginners Help
Topic: little help trying to render to a typical Win32 window.
Replies: 2
Views: 299

little help trying to render to a typical Win32 window.

Hello, i'm trying to render to a pre_made window and for some reason I get an access violation right here:




bool CIrrlicht::CreateIrrlichtDeviceEx(video::E_DRIVER_TYPE Type /* = E_DRIVER_TYPE::EDT_DIRECT3D9 */,HWND windowHandle,int width, int height)
{
ZeroMemory(&this->creationParams,sizeof ...
by Eagle_Eye
Mon Feb 09, 2009 4:00 pm
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

Never mind, i got it to work, finally......from now on i'll look at the console to see any errors. thanks for all your help
by Eagle_Eye
Mon Feb 09, 2009 3:44 pm
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

Code: Select all


HLSL vertex shader compilation failed:
(12): error X3018: invalid subscript 'Postion'

and i fixed it, what could it be?
by Eagle_Eye
Mon Feb 09, 2009 2:36 pm
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

I tried the shader that comes with Irrlicht and it can't open it either so i don't know what i'm doing wrong......I could always use .FX files but those don't go well with Irrlicht Matrices..
by Eagle_Eye
Mon Feb 09, 2009 2:18 pm
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

this is what the console says

Code: Select all


Could not open pixel shader program file: Red_Shader.hlsl,

doesn't say why it can't open it though
by Eagle_Eye
Mon Feb 09, 2009 12:46 am
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772



video::IGPUProgrammingServices* gpu = g_pIrr->getVideoDriver()->getGPUProgrammingServices();

s32 _Red= 0;

if(gpu)
{
MYSHADERCONSTANCE* mc = new MYSHADERCONSTANCE();

_Red = gpu->addHighLevelShaderMaterialFromFiles(
"Red_Shader.hlsl", "vsmain", video::EVST_VS_1_1,
"Red_Shader.hlsl ...
by Eagle_Eye
Mon Feb 09, 2009 12:03 am
Forum: Beginners Help
Topic: pixel shader wont load
Replies: 12
Views: 1772

[img]

http://img.photobucket.com/albums/v238/adarksoul/Untitled.jpg?t=1234137705

[/img]


this is what i see, the house should be red since i loaded the pixel shader along with the vertex shader so i don't know what to do, i mean it loaded the vertex shader, yet it can't load the pixel shader even ...