-
Posts
220 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Elmar
-
-
I want to write programm as following:
To create the framework. To set the background to this framework. To add, remove, copy the mesh when program is running.
General question: Can I add, remove, copy the mesh when program is running? If yes, how?
-
I want to create a virtual walk in the my scene. Then when I click on which model, in the other place (for example in the other framework) there will open only 3d view of my model (not scene).
-
I only want create second framework in my program. Does not anyone know about this?
-
You might need to explain a little more about what this second window is. Is it a "picture in picture" a rectangle showing another camera view, or a an O/S type window, or an app window with multiple viewports like a 3D editor?
I would like test my program with each 3 ways...
-
So when i debug my program there is openning one window and I can virtual walk in my scene. I want that when i click on my mesh there are open another window. In the future I plan to show the same model in the second window.
-
I already picked the mesh. I must only create the second window.
-
Elmar,
1) Make a scene in the editor with just some terrain and a few oilbarrels in it.
2) Make a program from scratch that loads your scene correctly.
3) Add some movement via a character controller.
4) Use the code that Ziored proposed, and place it in the main loop.
5) Every time you are near an object and you click on it, it turns red.
Thanks a lot. I did as you say.
-
I want to create the second window when I pick the mesh. How can I do it?
-
I don't enter my models with code(I do load from .sbx file). I gather my models in the scene and I only display my scene with code. Is that possible to pick that meshs? If yes, how?
Thanks
-
Now my problem is connected with functions. Which functions can i use for selecting model and creating onclick select?
-
What are equivalent functions in the engine.h?
-
You can do something like this:
Mouse mymouse; Camera mycam; Pick mypick; Entity myent; mycam.Create(); if(mymouse.IsDown()) { if(mycam.GetPick(mypick,Vec3(mymouse.GetX(),mymouse.GetY(),1000))) { //Do something when the mesh GetPicked myent = mypick.entity; myent.SetColor(Vec4(1,0,0,0)); } }
There are occuries error. GetPick and Setcolor functions are not found. What is the problem?
-
How i can do so that, mouse is display? I create controller without displaying mouse..
-
But how can i do this with C++? Who know?
-
I want to write the program as follow:
To create virtual walk on the scene. (It's i can) and to create onclick event on the meshes in the same scene. I want that there are done some works when i click on the mesh.
What can you advice me?
P.S. When i did visualization before there didn't display mouse.
-
I want to change the measure of tree model in the editor. For this i changed the parameter of scale in the properties of tree. Then tree became in the measure what i want. But when i save and open again this scene the tree became in the previous measure. What is the problem?
In other words how i can enlarge the tree in the editor?
-
Why? Can't i only add this gmf in the editor?
-
I add atmosphere in my scene with editor and i see this atmosphere. But when i open this scene with code i see blue background instead of sky. What is the problem? I don;t use framewerk. Maybe it's connected with that?
-
Oh, thanks. It is that what i want...
-
I did so and the result turned out well. But i want use material editor. I create mat files, but after don't know what to do with this mat files...
-
Yes, i want just it. But in 3d max i can't open mat files created in the material editor..
-
I can't set mat files to the object in 3d max. 3d max doesn't see my material. What is the problem?
-
How i can add new texture in material editor? In texture tab i don't see anything about it.
-
I think my problem is larger. I have an object and texture file in dds format. And i want to set this texture to my object as normal map. Suppose i create mat file. What i must do with this .mat file? I can set to object only dds files and only in 3d max..
Framework
in Programming
Posted
Must I set entities only with code? Can't I do it with mouse?
I want to pull entity with mouse and set it to my scene.