Search found 7 matches
- Sun Jan 31, 2016 8:09 pm
- Forum: Beginners Help
- Topic: OBJ mesh groups
- Replies: 6
- Views: 874
Re: OBJ mesh groups
OK. I will try to separate my model. Thanks for your reply!
- Sun Jan 31, 2016 7:52 pm
- Forum: Beginners Help
- Topic: OBJ mesh groups
- Replies: 6
- Views: 874
Re: OBJ mesh groups
Probably it's not what I want. I have the main model. When it's loaded, debug writes "loaded group start" and name of subobjects. So, how can I manipulate them? UPD: This is my OBJ mesh with subobjects. I want to control them separately. http://s8.hostingkartinok.com/uploads/images/2016/01...
- Sun Jan 31, 2016 6:00 pm
- Forum: Beginners Help
- Topic: OBJ mesh groups
- Replies: 6
- Views: 874
Re: OBJ mesh groups
Give a couple of examples, please.CuteAlien wrote:Each meshpart with an own material is in it's own meshbuffer. You can access those from the mesh interface.
- Sat Jan 30, 2016 8:33 pm
- Forum: Beginners Help
- Topic: OBJ mesh groups
- Replies: 6
- Views: 874
OBJ mesh groups
Hello!
I have an OBJ mesh. How can I use subobjects of main model?
For example, in Unity I can import my mesh and work with all components of it (car model has wheels, mirrors etc).
I have an OBJ mesh. How can I use subobjects of main model?
For example, in Unity I can import my mesh and work with all components of it (car model has wheels, mirrors etc).
- Wed Jan 06, 2016 8:14 pm
- Forum: Beginners Help
- Topic: Using light in my shader
- Replies: 4
- Views: 699
Re: Using light in my shader
The problem has been solved. I read the lesson 10 again and understood what arguments I should use in function.
Thanks for reply.
Thanks for reply.
- Wed Jan 06, 2016 3:24 pm
- Forum: Beginners Help
- Topic: Using light in my shader
- Replies: 4
- Views: 699
Re: Using light in my shader
Yes, i did. But... didn't understand. I realized that setPixelShaderConstant method can set vec_light constant in my shader. Could you explain what attributes I should use in this function?CuteAlien wrote:Did you check-out the shader example? It explains how to pass on parameters from nodes.
- Wed Jan 06, 2016 10:46 am
- Forum: Beginners Help
- Topic: Using light in my shader
- Replies: 4
- Views: 699
Using light in my shader
Hello everyone! I wrote the simple diffuse shader and attached it in my Irrlicht project. Vertex Shader: #version 120 varying vec3 Normal; varying vec2 TexCoord; void main(void) { gl_Position = ftransform(); Normal = gl_Normal; TexCoord = gl_MultiTexCoord0.xy; } Fragment Shader: #version 120...