Search found 17 matches
- Wed Sep 14, 2016 7:10 am
- Forum: Beginners Help
- Topic: Entity list
- Replies: 2
- Views: 462
Re: Entity list
Clear. Thanks, Hendu.
- Mon Sep 12, 2016 6:35 pm
- Forum: Beginners Help
- Topic: Entity list
- Replies: 2
- Views: 462
Entity list
Hi guys. This code should show all entities of a bsp file: quake3::tQ3EntityList &entityList = q3levelmesh->getEntityList (); for (u32 e=0; e != entityList.size (); ++e) { for (u32 g=0; g != entityList[e].getGroupSize (); ++g) { const quake3::SVarGroup *group = entityList[e].ge...
- Sun Apr 24, 2016 2:59 pm
- Forum: Beginners Help
- Topic: Additional meshes
- Replies: 1
- Views: 449
Additional meshes
Hi.
Don't know if it's is a bit off topic. I try.
In the demo example there is a wonderful flame effect on the torches.
I see it comes from additional meshes in the bsp map.
But how the flame, or in general additional meshes, can be included in a bsp file?
Bye.
Don't know if it's is a bit off topic. I try.
In the demo example there is a wonderful flame effect on the torches.
I see it comes from additional meshes in the bsp map.
But how the flame, or in general additional meshes, can be included in a bsp file?
Bye.
- Sat Apr 23, 2016 6:14 pm
- Forum: Beginners Help
- Topic: matrix and shader question (demo example code)
- Replies: 3
- Views: 966
Re: matrix and shader question (demo example code)
Hi.
How additional meshes and shaders, for example the flames in the demo, can be added to a bsp map?
Can GtkRadiant/NetRadiant do that?
How additional meshes and shaders, for example the flames in the demo, can be added to a bsp map?
Can GtkRadiant/NetRadiant do that?
- Mon Apr 18, 2016 12:26 pm
- Forum: Beginners Help
- Topic: Tree billboard rotation
- Replies: 6
- Views: 2134
Re: Tree billboard rotation
I'm doing it by creating planes with createPlaneMesh().
The effect is not so bad.
Is this the correct way? Or there is a better way?
The effect is not so bad.
Is this the correct way? Or there is a better way?
- Sun Apr 17, 2016 8:28 pm
- Forum: Beginners Help
- Topic: Tree billboard rotation
- Replies: 6
- Views: 2134
Re: Tree billboard rotation
Thank you, Hendu.
Is there some example or tutorial?
It's not clear to me how to do it.
Is there some example or tutorial?
It's not clear to me how to do it.
- Sun Apr 17, 2016 5:25 pm
- Forum: Beginners Help
- Topic: Tree billboard rotation
- Replies: 6
- Views: 2134
Tree billboard rotation
Hi guys. I'm using billboards to add trees to my scene. Since billboards always face camera, it seems that the trees detach from the ground when rotating on an horizontal axis. Is there a way to make a billboard rotate only on the vertical axis? Should I implement my own code to get this particular ...
- Mon Jan 11, 2016 1:20 pm
- Forum: Beginners Help
- Topic: Light nodes and BSP
- Replies: 7
- Views: 985
Re: Light nodes and BSP
Thanks, CuteAlien. I'll try to post the bsp when I can.
Do you mean material type in the program? I tried many values in SetMaterialType() method with no result.
Or some kind of settings in NetRadiant?
Do you mean material type in the program? I tried many values in SetMaterialType() method with no result.
Or some kind of settings in NetRadiant?
- Mon Jan 11, 2016 11:38 am
- Forum: Beginners Help
- Topic: Light nodes and BSP
- Replies: 7
- Views: 985
Re: Light nodes and BSP
Basically the problem is that lights I add in my program don't affect meshes loaded from the bsp file (only misc_models are affected). I already studied the good shader-tutorial, but it's not clear to me how to use shaders for creating lights. Anyway thank you both for the informations. I will keep ...
- Mon Jan 11, 2016 10:53 am
- Forum: Beginners Help
- Topic: Light nodes and BSP
- Replies: 7
- Views: 985
Re: Light nodes and BSP
Thanks hendu.
It's not totally clear to me what means "using my own shader" for light sources.
Is there some thread or page explaining that?
It's not totally clear to me what means "using my own shader" for light sources.
Is there some thread or page explaining that?
- Mon Jan 11, 2016 9:39 am
- Forum: Beginners Help
- Topic: Light nodes and BSP
- Replies: 7
- Views: 985
Light nodes and BSP
Hi guys. I'd like to understand something about light nodes and BSP maps. Searching the forum I found this thread: http://irrlicht.sourceforge.net/forum/viewtopic.php?t=9768 which tells that dynamic lights does not works for bsp and suggests a simple patch on Irrlicht code. The thread is pretty old....
- Mon Nov 30, 2015 8:30 am
- Forum: Beginners Help
- Topic: misc_model texture
- Replies: 9
- Views: 901
Re: misc_model texture
Thanks for your help.
It works well with 3ds format too.
Reducing the number of faces and making a suitable UV mapping the result is pretty good.
It works well with 3ds format too.
Reducing the number of faces and making a suitable UV mapping the result is pretty good.
- Sat Nov 28, 2015 10:49 am
- Forum: Beginners Help
- Topic: misc_model texture
- Replies: 9
- Views: 901
Re: misc_model texture
Thanks, Hendu.
In fact decreasing the number of faces no triangle is missing.
For the other solution, is there a way to store the object file name in NetRadiant?
I heard about a placeholder entity called "misc_model_static", but I don't see it in my menu.
In fact decreasing the number of faces no triangle is missing.
For the other solution, is there a way to store the object file name in NetRadiant?
I heard about a placeholder entity called "misc_model_static", but I don't see it in my menu.
- Sat Nov 28, 2015 9:33 am
- Forum: Beginners Help
- Topic: misc_model texture
- Replies: 9
- Views: 901
Re: misc_model texture
Made some progress. CuteAlien was right, there were no texture applied on the mesh. I fixed this, but the result was the same with a different color :) This time I tried making the UV mapping inside Blender and then exporting as .obj file with .mtl file too, instead of 3ds. Things go better, but sti...
- Fri Nov 27, 2015 9:48 am
- Forum: Beginners Help
- Topic: misc_model texture
- Replies: 9
- Views: 901
Re: misc_model texture
Hi hendu, try this link: http://imgur.com/xbn72hM