Search found 168 matches

by Steel Style
Thu Apr 05, 2012 8:10 am
Forum: Open Discussion and Dev Announcements
Topic: [applied] Vertex cache optimization
Replies: 21
Views: 5480

Re: [applied] Vertex cache optimization

have anyone tried to apply the algorithm for sort similiarly textured vertices? (similiar textcoordinates). in theory that should improve also performance.. or not? I'm not sure to understand your question but I think you are pointing the meshbuffer optimisation (one mesh buffer by texture and by t...
by Steel Style
Wed Apr 04, 2012 5:26 pm
Forum: Open Discussion and Dev Announcements
Topic: Being able to load plugins in irrlicht
Replies: 19
Views: 4268

Re: Being able to load plugins in irrlicht

I second mongoose I really think that we shouldn't mess things up, teto is not saying that you should use binary because they are cool and they can prevent us to share the source. That's would be a bad habit. But I think he is pointing the fact that it's would be nice to have a greater modularity on...
by Steel Style
Wed Sep 08, 2010 12:31 pm
Forum: Beginners Help
Topic: Generating terrain with different textures
Replies: 20
Views: 2763

Okay I get it 1/90 = 0.0111111f and I forget the 0 after the point.

Also I suggest you to make some change for exemple for the snow and the ground, if you want quick reponse comme to the irrlicht irc channel : #irrlicht at irc.freenode.net
by Steel Style
Wed Sep 08, 2010 10:41 am
Forum: Beginners Help
Topic: Generating terrain with different textures
Replies: 20
Views: 2763

I made a mistake you should invert the color col0,col1 instead of col1,col0 and so on... The mix function is a GLSL function blending the color with an alpha value. if ( pos.y >= 0 && pos.y < 90) gl_FragColor = mix(col0,col1,pos.y*0.11111f);// Note : 0.111f = 1/90 else if ( pos.y >= 90 &...
by Steel Style
Tue Sep 07, 2010 7:02 pm
Forum: Beginners Help
Topic: Generating terrain with different textures
Replies: 20
Views: 2763

Try this in your shader; if ( pos.y >= 0 && pos.y < 90) gl_FragColor = mix(col1,col0,pos.y*0.11111f);// Note : 0.111f = 1/90 else if ( pos.y >= 90 && pos.y < 160) gl_FragColor = mix(col2,col1,(pos.y-90)*0.014286f); else gl_FragColor = mix(col3,col2,(pos.y-160)/95.0f);
by Steel Style
Tue Sep 07, 2010 9:08 am
Forum: Beginners Help
Topic: Font appears completely black
Replies: 16
Views: 1631

Hi I have TEH clue. After seeing your post I downloaded Irrlicht (what a shame that I didn't have it already and made investigation). Your text is displaying black cause it's the skin's text color. So to display it at the image just change : IGUIStaticText* staticText = guienv->addStaticText(L"...
by Steel Style
Mon Sep 06, 2010 1:54 pm
Forum: Beginners Help
Topic: Font appears completely black
Replies: 16
Views: 1631

Yes like Acki said your xml file should load the font handling alpha and other purpose.
by Steel Style
Sun Sep 05, 2010 7:46 pm
Forum: Beginners Help
Topic: Font appears completely black
Replies: 16
Views: 1631

I thinked about it and really have no idea. Maybe you should try to create a small project just drawing font character to be sure that it's not linked with an error elsewhere.
by Steel Style
Sun Sep 05, 2010 7:27 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 845

He didn't not suceed apparently as you may see it's the same code as the french forum.
by Steel Style
Sun Sep 05, 2010 7:21 pm
Forum: Beginners Help
Topic: Font appears completely black
Replies: 16
Views: 1631

The font tool create an image at the desired size ? It's seem strange but if I get you it's like only alpha channel is working .
by Steel Style
Sun Sep 05, 2010 7:16 pm
Forum: Beginners Help
Topic: Generating terrain with different textures
Replies: 20
Views: 2763

Sorry I would write "setPixelShaderConstant" instead of setVertexShaderConstant Looking at you screen shot it seem that one row of edge is undee y=30 and the neighbour one is > 160. So the transition is faster and not smooth enough to remove this strip effect. Try the heightmap on this web...
by Steel Style
Sun Sep 05, 2010 5:46 pm
Forum: Beginners Help
Topic: Generating terrain with different textures
Replies: 20
Views: 2763

I think you should change something here : services->setVertexShaderConstant("Texture0", (irr::f32*)&t[0], 1); services->setVertexShaderConstant("Texture1", (irr::f32*)&t[1], 1); services->setVertexShaderConstant("Texture2", (irr::f32*)&t[2], 1); services->s...
by Steel Style
Wed Mar 31, 2010 3:38 pm
Forum: Bug reports
Topic: [fixed] Alt+TAB FullScreen Resolution Change BUG
Replies: 15
Views: 6751

I can't reproduce it on windows 7 professional.
But for the resizing windows (160 27) I think it's a normal windows 7 behaviour ( the app switcher, when you hold alt+tab, use to resize your window).
by Steel Style
Thu Mar 18, 2010 7:09 pm
Forum: Open Discussion and Dev Announcements
Topic: Google Summer of Code
Replies: 11
Views: 2360

Unfortunaly Irrlicht haven't been choosed...
by Steel Style
Tue Mar 09, 2010 12:27 pm
Forum: Off-topic
Topic: Download problem
Replies: 3
Views: 774

Damn what a confusing thing it's like his nickname is almost the same as mine. :p

If you want nighty build : http://irrlicht.convextech.ca/