Search found 6 matches

by ppsychrite
Fri Apr 14, 2017 9:41 pm
Forum: Code Snippets
Topic: Really Easy Mesh Clicking!
Replies: 8
Views: 4521

Re: Really Easy Mesh Clicking!

Thanks, this is going to really help my projects! :wink:
by ppsychrite
Sun Mar 26, 2017 8:37 pm
Forum: Beginners Help
Topic: Different textures for each side of Scenenode?
Replies: 4
Views: 697

Re: Different textures for each side of Scenenode?

Probably not - at least not easy (or fast). It might be possible with shaders. Easiest solution is probably to have different polygons for the different sides (shouldn't cause any z-buffer problems as one side is always clipped). And then assign different materials to those polygons so you have 2 m...
by ppsychrite
Sun Mar 26, 2017 1:41 pm
Forum: Beginners Help
Topic: Different textures for each side of Scenenode?
Replies: 4
Views: 697

Different textures for each side of Scenenode?

I'm currently using a custom scenenode right now and wondering if it's possible to set a texture for each side (some sort of rectangle). Now I know that it would be to UV Map it but the thing is I want each side to be a custom image file (ex: Side 1: "Brickwall.png", Side 2: "WoodlogW...
by ppsychrite
Tue Mar 21, 2017 12:53 am
Forum: Beginners Help
Topic: Adding Line Thickness? to Tutorial 3
Replies: 3
Views: 770

Re: Adding Line Thickness? to Tutorial 3

Incase anybody else wants to know how to do it here's what I did!   virtual void render(){     irr::u16 indices[] = { 0,2,3, 2,1,3, 1,0,3, 2,0,1 };     irr::video::IVideoDriver* driver = SceneManager->getVideoDriver();       driver->setMaterial(Material);     driver->setTransform(irr::video::ETS_WOR...
by ppsychrite
Tue Mar 21, 2017 12:43 am
Forum: Beginners Help
Topic: Adding Line Thickness? to Tutorial 3
Replies: 3
Views: 770

Re: Adding Line Thickness? to Tutorial 3

Theory is - draw twice - once with Wireframe enabled and once disabled. But... some troubles. First one is that Thickness is only used for lines on OpenGL. Direct3D doesn't have that feature. Next problem is - you need different colors. Once solution is for example to use a black texture second tim...
by ppsychrite
Tue Mar 21, 2017 12:13 am
Forum: Beginners Help
Topic: Adding Line Thickness? to Tutorial 3
Replies: 3
Views: 770

Adding Line Thickness? to Tutorial 3

(Excuse me for my ignorance as I'm just getting into 3d stuff and have no clue how shaders work) So is it possible to add black thickness to the edges of the triangle in tutorial 3? I've tried doing "Material.Thickness = 10;" after the "Material.Wireframe = false;" and "Mate...